Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.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/PowerSystems 2.0.0/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/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(PowerSystems.Examples.Generic.Test.ImpedanceTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest") translateModel(PowerSystems.Examples.Generic.Test.ImpedanceTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002359/0.002367, allocations: 110.7 kB / 17.29 MB, free: 6.219 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.002672/0.002672, allocations: 189.4 kB / 18.21 MB, free: 5.293 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.323/2.323, allocations: 222.9 MB / 241.9 MB, free: 15.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.2479/0.2479, allocations: 38.02 MB / 330 MB, free: 8.996 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00268/0.002679, allocations: 64.53 kB / 398.9 MB, free: 34.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2312/0.2339, allocations: 58.06 MB / 457 MB, free: 8.438 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.ImpedanceTest): time 0.01064/0.2446, allocations: 3.678 MB / 460.7 MB, free: 4.738 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004367/0.249, allocations: 1.504 MB / 462.2 MB, free: 3.227 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003445/0.2494, allocations: 7.938 kB / 462.2 MB, free: 3.219 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001336/0.2508, allocations: 235.2 kB / 462.4 MB, free: 2.988 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001216/0.252, allocations: 263.1 kB / 462.7 MB, free: 2.73 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006132/0.2527, allocations: 99.81 kB / 462.8 MB, free: 2.633 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007505/0.2534, allocations: 331 kB / 463.1 MB, free: 2.309 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006773/0.2541, allocations: 154.6 kB / 463.2 MB, free: 2.156 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000524/0.2547, allocations: 155.3 kB / 463.4 MB, free: 2.004 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005085/0.2552, allocations: 163.5 kB / 463.6 MB, free: 1.844 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.534e-05/0.2553, allocations: 12 kB / 463.6 MB, free: 1.832 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001065/0.2564, allocations: 307.2 kB / 463.9 MB, free: 1.531 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002474/0.2567, allocations: 99.75 kB / 464 MB, free: 1.434 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002691/0.2569, allocations: 107.5 kB / 464.1 MB, free: 1.328 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007143/0.2577, allocations: 259.4 kB / 464.3 MB, free: 1.074 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.762e-06/0.2577, allocations: 0 / 464.3 MB, free: 1.074 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.2577, allocations: 8 kB / 464.3 MB, free: 1.066 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.441e-05/0.2578, allocations: 0 / 464.3 MB, free: 1.066 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.001265/0.259, allocations: 0.4987 MB / 464.8 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.294e-05/0.2591, allocations: 11.89 kB / 464.8 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001643/0.2608, allocations: 96.55 kB / 464.9 MB, free: 424 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000587/0.2614, allocations: 258.7 kB / 465.2 MB, free: 128 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.928e-05/0.2614, allocations: 20.33 kB / 465.2 MB, free: 108 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.045e-05/0.2615, allocations: 20.12 kB / 465.2 MB, free: 88 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009299/0.2625, allocations: 318.3 kB / 465.5 MB, free: 15.75 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.404e-05/0.2625, allocations: 0 / 465.5 MB, free: 15.75 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.459e-05/0.2626, allocations: 4 kB / 465.5 MB, free: 15.75 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.565e-05/0.2627, allocations: 23.98 kB / 465.6 MB, free: 15.72 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00103/0.2637, allocations: 287.7 kB / 465.8 MB, free: 15.44 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003441/0.2672, allocations: 1.305 MB / 467.1 MB, free: 14.04 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001104/0.2683, allocations: 209.2 kB / 467.4 MB, free: 13.81 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003103/0.2686, allocations: 61.75 kB / 467.4 MB, free: 13.75 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.904e-05/0.2687, allocations: 15.86 kB / 467.4 MB, free: 13.73 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.919e-05/0.2688, allocations: 34.56 kB / 467.5 MB, free: 13.69 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 3.367e-06/0.2688, allocations: 0 / 467.5 MB, free: 13.69 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.00175/0.2706, allocations: 430.1 kB / 467.9 MB, free: 13.24 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.328e-05/0.2707, allocations: 81.11 kB / 468 MB, free: 13.14 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003366/0.271, allocations: 194.6 kB / 468.2 MB, free: 12.94 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.92e-05/0.2711, allocations: 25.7 kB / 468.2 MB, free: 12.91 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000191/0.2713, allocations: 163.8 kB / 468.3 MB, free: 12.74 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.536e-05/0.2714, allocations: 55.28 kB / 468.4 MB, free: 12.69 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000146/0.2716, allocations: 41.62 kB / 468.4 MB, free: 12.64 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002218/0.2718, allocations: 338.9 kB / 468.8 MB, free: 12.3 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001819/0.272, allocations: 51.97 kB / 468.8 MB, free: 12.25 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000321/0.2723, allocations: 153.6 kB / 469 MB, free: 12.05 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000521/0.2729, allocations: 224.7 kB / 469.2 MB, free: 11.79 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.2729, allocations: 0 / 469.2 MB, free: 11.79 MB / 350.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0008717/0.2738, allocations: 261.9 kB / 469.4 MB, free: 11.52 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.38e-05/0.2738, allocations: 8 kB / 469.4 MB, free: 11.52 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.62e-05/0.2739, allocations: 4 kB / 469.5 MB, free: 11.51 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003815/0.2743, allocations: 41.27 kB / 469.5 MB, free: 11.47 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002686/0.2745, allocations: 47.91 kB / 469.5 MB, free: 11.42 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002258/0.2768, allocations: 1.437 MB / 471 MB, free: 9.844 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002579/0.2771, allocations: 8 kB / 471 MB, free: 9.836 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.429e-05/0.2772, allocations: 12 kB / 471 MB, free: 9.824 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 23 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003274/0.2775, allocations: 157.8 kB / 471.1 MB, free: 9.66 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.185e-05/0.2776, allocations: 19.75 kB / 471.2 MB, free: 9.641 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007007/0.2783, allocations: 188 kB / 471.4 MB, free: 9.453 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.597e-06/0.2784, allocations: 3.984 kB / 471.4 MB, free: 9.449 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.047e-05/0.2784, allocations: 8.062 kB / 471.4 MB, free: 9.441 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.098e-06/0.2784, allocations: 3.984 kB / 471.4 MB, free: 9.438 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001674/0.2801, allocations: 0.5608 MB / 471.9 MB, free: 8.809 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.348e-06/0.2801, allocations: 4 kB / 471.9 MB, free: 8.805 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001921/0.2803, allocations: 23.92 kB / 472 MB, free: 8.781 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002965/0.2806, allocations: 40.86 kB / 472 MB, free: 8.738 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.76e-05/0.2807, allocations: 3.938 kB / 472 MB, free: 8.734 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002197/0.2829, allocations: 1.422 MB / 473.4 MB, free: 7.176 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.985e-06/0.2829, allocations: 4.031 kB / 473.4 MB, free: 7.172 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007141/0.2837, allocations: 294.4 kB / 473.7 MB, free: 6.855 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000125/0.2838, allocations: 96.91 kB / 473.8 MB, free: 6.742 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.149e-05/0.2839, allocations: 4 kB / 473.8 MB, free: 6.738 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002139/0.2841, allocations: 4 kB / 473.8 MB, free: 6.734 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.269e-05/0.2842, allocations: 15.92 kB / 473.8 MB, free: 6.719 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.642e-05/0.2842, allocations: 12 kB / 473.8 MB, free: 6.707 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002264/0.2845, allocations: 144.2 kB / 474 MB, free: 6.566 MB / 350.1 MB Notification: Performance of sort global known variables: time 5.21e-07/0.2845, allocations: 0 / 474 MB, free: 6.566 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000761/0.2853, allocations: 52 kB / 474 MB, free: 6.516 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002019/0.2855, allocations: 107.1 kB / 474.1 MB, free: 6.398 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009205/0.2864, allocations: 279 kB / 474.4 MB, free: 6.113 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/0.2865, allocations: 0 / 474.4 MB, free: 6.113 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004278/0.2869, allocations: 174.6 kB / 474.6 MB, free: 5.93 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006605/0.2876, allocations: 29.44 kB / 474.6 MB, free: 5.906 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001499/0.2891, allocations: 0.5676 MB / 475.2 MB, free: 5.293 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006217/0.2897, allocations: 0.7632 MB / 475.9 MB, free: 4.5 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.516e-05/0.2898, allocations: 19.44 kB / 476 MB, free: 4.48 MB / 350.1 MB Notification: Performance of SimCode: time 6.81e-07/0.2899, allocations: 0 / 476 MB, free: 4.48 MB / 350.1 MB Notification: Performance of Templates: time 0.01079/0.3007, allocations: 3.149 MB / 479.1 MB, free: 1.324 MB / 350.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.makefile (rm -f PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.sim & ./PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe 2>&1)