Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad") translateModel(PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00107/0.00107, allocations: 91.59 kB / 16.71 MB, free: 6.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001297/0.001297, allocations: 181.7 kB / 17.62 MB, free: 6.16 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.32/1.32, allocations: 223.3 MB / 241.7 MB, free: 240 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04229/0.04229, allocations: 8.097 MB / 300.9 MB, free: 6.664 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003479/0.0003479, allocations: 8 kB / 364.1 MB, free: 7.367 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2016/0.202, allocations: 52.52 MB / 416.7 MB, free: 24.83 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad): time 0.001738/0.2038, allocations: 1.953 MB / 418.6 MB, free: 22.87 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001575/0.2054, allocations: 1.649 MB / 420.3 MB, free: 21.21 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.807e-05/0.2055, allocations: 4 kB / 420.3 MB, free: 21.2 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003013/0.2058, allocations: 139.4 kB / 420.4 MB, free: 21.07 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003425/0.2061, allocations: 187 kB / 420.6 MB, free: 20.88 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001589/0.2077, allocations: 1.16 MB / 421.7 MB, free: 19.72 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003645/0.2081, allocations: 394 kB / 422.1 MB, free: 19.34 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00016/0.2083, allocations: 99.81 kB / 422.2 MB, free: 19.24 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001079/0.2084, allocations: 151.4 kB / 422.4 MB, free: 19.09 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001968/0.2086, allocations: 195.1 kB / 422.6 MB, free: 18.9 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.456e-05/0.2086, allocations: 16 kB / 422.6 MB, free: 18.88 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003674/0.209, allocations: 251.8 kB / 422.8 MB, free: 18.64 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.162e-05/0.209, allocations: 59.7 kB / 422.9 MB, free: 18.58 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001181/0.2092, allocations: 208.7 kB / 423.1 MB, free: 18.37 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003344/0.2095, allocations: 420.8 kB / 423.5 MB, free: 17.96 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.2095, allocations: 0 / 423.5 MB, free: 17.96 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.2095, allocations: 0 / 423.5 MB, free: 17.96 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.53e-06/0.2095, allocations: 4 kB / 423.5 MB, free: 17.95 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.004526/0.2141, allocations: 1.31 MB / 424.8 MB, free: 16.59 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.356e-05/0.2141, allocations: 11.97 kB / 424.8 MB, free: 16.58 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001109/0.2142, allocations: 44.47 kB / 424.9 MB, free: 16.54 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003064/0.2145, allocations: 327.4 kB / 425.2 MB, free: 16.18 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.949e-05/0.2146, allocations: 20.94 kB / 425.2 MB, free: 16.16 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.663e-05/0.2146, allocations: 40.38 kB / 425.2 MB, free: 16.12 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006045/0.2153, allocations: 473 kB / 425.7 MB, free: 15.64 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.2153, allocations: 192 / 425.7 MB, free: 15.64 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.397e-05/0.2153, allocations: 15.94 kB / 425.7 MB, free: 15.62 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.832e-06/0.2153, allocations: 4 kB / 425.7 MB, free: 15.62 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005351/0.2159, allocations: 422.1 kB / 426.1 MB, free: 15.21 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002072/0.218, allocations: 2.032 MB / 428.2 MB, free: 12.95 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007745/0.2187, allocations: 0.5218 MB / 428.7 MB, free: 12.42 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003242/0.2191, allocations: 284.8 kB / 429 MB, free: 12.14 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.854e-05/0.2191, allocations: 15.92 kB / 429 MB, free: 12.12 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.144e-05/0.2192, allocations: 38.56 kB / 429 MB, free: 12.08 MB / 302.1 MB Notification: Performance of pre-optimization done (n=43): time 2.615e-06/0.2192, allocations: 3.984 kB / 429 MB, free: 12.07 MB / 302.1 MB Notification: Performance of matching and sorting (n=43): time 0.006909/0.2261, allocations: 1.912 MB / 430.9 MB, free: 10.13 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.17e-05/0.2262, allocations: 106.8 kB / 431 MB, free: 10 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002578/0.2264, allocations: 274.9 kB / 431.3 MB, free: 9.723 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.106e-05/0.2265, allocations: 37.7 kB / 431.4 MB, free: 9.68 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.811e-05/0.2266, allocations: 165 kB / 431.5 MB, free: 9.512 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.8e-05/0.2267, allocations: 145.8 kB / 431.7 MB, free: 9.367 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.337e-05/0.2267, allocations: 57.62 kB / 431.7 MB, free: 9.305 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.564e-05/0.2268, allocations: 342.8 kB / 432 MB, free: 8.961 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000388/0.2272, allocations: 297 kB / 432.3 MB, free: 8.672 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004087/0.2276, allocations: 348.6 kB / 432.7 MB, free: 8.32 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008236/0.2284, allocations: 0.653 MB / 433.3 MB, free: 7.668 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.2285, allocations: 0 / 433.3 MB, free: 7.668 MB / 302.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.003362/0.2318, allocations: 1.26 MB / 434.6 MB, free: 6.395 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/0.2319, allocations: 4 kB / 434.6 MB, free: 6.391 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.2319, allocations: 7.875 kB / 434.6 MB, free: 6.383 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003642/0.2355, allocations: 0.7809 MB / 435.4 MB, free: 5.602 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004069/0.2359, allocations: 91.83 kB / 435.5 MB, free: 5.512 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006545/0.2425, allocations: 3.813 MB / 439.3 MB, free: 1.574 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004884/0.243, allocations: 59.42 kB / 439.3 MB, free: 1.516 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.83e-05/0.2431, allocations: 19.98 kB / 439.4 MB, free: 1.496 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(8,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0001995/0.2433, allocations: 157.7 kB / 439.5 MB, free: 1.332 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.403e-05/0.2434, allocations: 35.62 kB / 439.6 MB, free: 1.297 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003304/0.2467, allocations: 1.222 MB / 440.8 MB, free: 64 kB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.342e-06/0.2467, allocations: 11.94 kB / 440.8 MB, free: 52 kB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.205e-06/0.2467, allocations: 0 / 440.8 MB, free: 52 kB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/0.2467, allocations: 3.984 kB / 440.8 MB, free: 48 kB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000616/0.2473, allocations: 0.5598 MB / 441.4 MB, free: 15.44 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.2473, allocations: 0 / 441.4 MB, free: 15.44 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002323/0.2476, allocations: 59.97 kB / 441.4 MB, free: 15.38 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003731/0.2513, allocations: 0.7606 MB / 442.2 MB, free: 14.62 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.189e-05/0.2514, allocations: 8 kB / 442.2 MB, free: 14.61 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00704/0.2584, allocations: 3.773 MB / 445.9 MB, free: 10.7 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.2584, allocations: 4 kB / 446 MB, free: 10.7 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003522/0.262, allocations: 1.226 MB / 447.2 MB, free: 9.449 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.792e-05/0.2621, allocations: 120.5 kB / 447.3 MB, free: 9.312 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.846e-05/0.2622, allocations: 12 kB / 447.3 MB, free: 9.301 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004434/0.2626, allocations: 35.97 kB / 447.3 MB, free: 9.266 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001122/0.2627, allocations: 36.38 kB / 447.4 MB, free: 9.23 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.068e-05/0.2628, allocations: 16 kB / 447.4 MB, free: 9.215 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000231/0.263, allocations: 190 kB / 447.6 MB, free: 9.031 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.263, allocations: 0 / 447.6 MB, free: 9.031 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006359/0.2637, allocations: 175.8 kB / 447.8 MB, free: 8.859 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(8,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00022/0.2639, allocations: 131.2 kB / 447.9 MB, free: 8.723 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002553/0.2665, allocations: 1.039 MB / 448.9 MB, free: 7.676 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.2665, allocations: 0 / 448.9 MB, free: 7.676 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001853/0.2683, allocations: 0.6571 MB / 449.6 MB, free: 7.004 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000429/0.2688, allocations: 40.81 kB / 449.6 MB, free: 6.961 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001405/0.2702, allocations: 0.9494 MB / 450.6 MB, free: 5.984 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003723/0.2706, allocations: 0.7976 MB / 451.4 MB, free: 5.164 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001149/0.2707, allocations: 43.42 kB / 451.4 MB, free: 5.121 MB / 318.1 MB Notification: Performance of SimCode: time 5.01e-07/0.2707, allocations: 0 / 451.4 MB, free: 5.121 MB / 318.1 MB Notification: Performance of Templates: time 0.01065/0.2814, allocations: 7.682 MB / 459.1 MB, free: 13.45 MB / 334.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad.makefile (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad.pipe 2>&1)