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.00119/0.00119, allocations: 105.8 kB / 16.92 MB, free: 6.145 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.001165/0.001165, allocations: 187.4 kB / 17.85 MB, free: 5.285 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.385/1.385, allocations: 222.9 MB / 241.5 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1794/0.1794, allocations: 38.04 MB / 329.7 MB, free: 8.785 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001642/0.001642, allocations: 67.28 kB / 398.8 MB, free: 34.04 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1309/0.1326, allocations: 58.05 MB / 456.8 MB, free: 8.062 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.ImpedanceTest): time 0.005199/0.1378, allocations: 3.434 MB / 460.3 MB, free: 4.605 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002081/0.1399, allocations: 1.449 MB / 461.7 MB, free: 3.148 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001453/0.1401, allocations: 11.94 kB / 461.7 MB, free: 3.137 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009617/0.1411, allocations: 257 kB / 462 MB, free: 2.887 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006183/0.1417, allocations: 271 kB / 462.3 MB, free: 2.621 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002972/0.142, allocations: 111.7 kB / 462.4 MB, free: 2.512 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003933/0.1424, allocations: 343 kB / 462.7 MB, free: 2.176 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002785/0.1427, allocations: 129.9 kB / 462.8 MB, free: 2.047 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002198/0.1429, allocations: 147.4 kB / 463 MB, free: 1.902 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002235/0.1432, allocations: 151.4 kB / 463.1 MB, free: 1.754 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.866e-05/0.1432, allocations: 16 kB / 463.1 MB, free: 1.738 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004543/0.1437, allocations: 311.2 kB / 463.4 MB, free: 1.434 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001145/0.1438, allocations: 99.77 kB / 463.5 MB, free: 1.336 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001358/0.1439, allocations: 111.5 kB / 463.6 MB, free: 1.227 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004397/0.1444, allocations: 335 kB / 464 MB, free: 0.8984 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.1444, allocations: 4 kB / 464 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1444, allocations: 0 / 464 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.313e-06/0.1444, allocations: 0 / 464 MB, free: 0.8945 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.00069/0.1451, allocations: 0.5026 MB / 464.5 MB, free: 352 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.941e-05/0.1452, allocations: 8.031 kB / 464.5 MB, free: 344 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008603/0.146, allocations: 92.55 kB / 464.6 MB, free: 252 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003107/0.1464, allocations: 262.5 kB / 464.8 MB, free: 15.95 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.92e-05/0.1464, allocations: 20.25 kB / 464.9 MB, free: 15.93 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.97e-05/0.1465, allocations: 24.12 kB / 464.9 MB, free: 15.91 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004602/0.147, allocations: 310.3 kB / 465.2 MB, free: 15.58 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.54e-05/0.147, allocations: 0 / 465.2 MB, free: 15.58 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.028e-05/0.147, allocations: 15.92 kB / 465.2 MB, free: 15.57 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.439e-05/0.1471, allocations: 23.98 kB / 465.2 MB, free: 15.54 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004249/0.1475, allocations: 287.7 kB / 465.5 MB, free: 15.26 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001871/0.1494, allocations: 1.293 MB / 466.8 MB, free: 13.87 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006569/0.15, allocations: 209.2 kB / 467 MB, free: 13.64 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001206/0.1502, allocations: 57.75 kB / 467.1 MB, free: 13.58 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.804e-05/0.1502, allocations: 7.938 kB / 467.1 MB, free: 13.57 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.843e-05/0.1503, allocations: 38.56 kB / 467.1 MB, free: 13.53 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.483e-06/0.1503, allocations: 224 / 467.1 MB, free: 13.53 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.001201/0.1515, allocations: 430.1 kB / 467.5 MB, free: 13.08 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.511e-05/0.1516, allocations: 81.11 kB / 467.6 MB, free: 12.98 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002594/0.1518, allocations: 194.3 kB / 467.8 MB, free: 12.78 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.17e-05/0.1519, allocations: 25.7 kB / 467.8 MB, free: 12.75 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001974/0.1521, allocations: 164 kB / 468 MB, free: 12.58 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.065e-05/0.1522, allocations: 51.28 kB / 468 MB, free: 12.53 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001365/0.1523, allocations: 49.61 kB / 468.1 MB, free: 12.48 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002943/0.1526, allocations: 334.8 kB / 468.4 MB, free: 12.14 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001084/0.1527, allocations: 47.97 kB / 468.4 MB, free: 12.09 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002671/0.153, allocations: 161.6 kB / 468.6 MB, free: 11.89 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003412/0.1533, allocations: 228.6 kB / 468.8 MB, free: 11.62 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.984e-06/0.1534, allocations: 4 kB / 468.8 MB, free: 11.62 MB / 350.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005541/0.1539, allocations: 258.2 kB / 469.1 MB, free: 11.36 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.533e-05/0.1539, allocations: 8 kB / 469.1 MB, free: 11.35 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.2e-05/0.154, allocations: 4 kB / 469.1 MB, free: 11.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002841/0.1543, allocations: 36.83 kB / 469.1 MB, free: 11.3 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001481/0.1544, allocations: 39.92 kB / 469.2 MB, free: 11.27 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001589/0.156, allocations: 1.457 MB / 470.6 MB, free: 9.668 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001296/0.1562, allocations: 4 kB / 470.6 MB, free: 9.664 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.162e-05/0.1562, allocations: 16 kB / 470.6 MB, free: 9.648 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.0002061/0.1564, allocations: 153.8 kB / 470.8 MB, free: 9.488 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.536e-05/0.1565, allocations: 19.75 kB / 470.8 MB, free: 9.469 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004049/0.1569, allocations: 188 kB / 471 MB, free: 9.281 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/0.1569, allocations: 8.047 kB / 471 MB, free: 9.273 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.1569, allocations: 4 kB / 471 MB, free: 9.27 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.1569, allocations: 3.938 kB / 471 MB, free: 9.266 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009839/0.1579, allocations: 0.5608 MB / 471.6 MB, free: 8.637 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.1579, allocations: 8.094 kB / 471.6 MB, free: 8.629 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.502e-05/0.158, allocations: 19.94 kB / 471.6 MB, free: 8.609 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001423/0.1582, allocations: 32.83 kB / 471.6 MB, free: 8.574 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.782e-05/0.1582, allocations: 7.922 kB / 471.6 MB, free: 8.566 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001441/0.1596, allocations: 1.419 MB / 473.1 MB, free: 7.012 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.641e-06/0.1597, allocations: 4.031 kB / 473.1 MB, free: 7.008 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004146/0.1601, allocations: 302.9 kB / 473.4 MB, free: 6.684 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.151e-05/0.1602, allocations: 92.92 kB / 473.5 MB, free: 6.574 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.408e-05/0.1602, allocations: 19.98 kB / 473.5 MB, free: 6.555 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000117/0.1604, allocations: 0 / 473.5 MB, free: 6.555 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.405e-05/0.1604, allocations: 19.92 kB / 473.5 MB, free: 6.535 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.166e-05/0.1604, allocations: 7.938 kB / 473.5 MB, free: 6.527 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001237/0.1605, allocations: 139.1 kB / 473.6 MB, free: 6.391 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1606, allocations: 0 / 473.6 MB, free: 6.391 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003961/0.161, allocations: 52 kB / 473.7 MB, free: 6.34 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.0001508/0.1611, allocations: 107.1 kB / 473.8 MB, free: 6.223 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005439/0.1617, allocations: 270.5 kB / 474.1 MB, free: 5.945 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/0.1617, allocations: 0 / 474.1 MB, free: 5.945 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002715/0.162, allocations: 179.5 kB / 474.2 MB, free: 5.758 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004061/0.1624, allocations: 37.88 kB / 474.3 MB, free: 5.727 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001/0.1634, allocations: 446.3 kB / 474.7 MB, free: 5.254 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004486/0.1639, allocations: 0.7593 MB / 475.5 MB, free: 4.469 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001255/0.164, allocations: 45.48 kB / 475.5 MB, free: 4.422 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4e-05/0.164, allocations: 19.44 kB / 475.5 MB, free: 4.406 MB / 350.1 MB Notification: Performance of SimCode: time 1.733e-06/0.164, allocations: 0 / 475.5 MB, free: 4.406 MB / 350.1 MB Notification: Performance of Templates: time 0.005129/0.1692, allocations: 1.662 MB / 477.2 MB, free: 2.746 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)