Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo", uses=false) Using package PowerSystems with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Impedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1480,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Impedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1480,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001077/0.001077, allocations: 189.5 kB / 17.27 MB, free: 4.5 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.272/1.272, allocations: 194.2 MB / 212.2 MB, free: 2.367 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.00181/0.00181, allocations: 122.2 kB / 256.6 MB, free: 4.312 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1663/0.1663, allocations: 37.95 MB / 338.8 MB, free: 2.215 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 63.91 kB / 401.8 MB, free: 68.75 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1131/0.1143, allocations: 52.2 MB / 454 MB, free: 16.57 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Impedance): time 0.00582/0.1202, allocations: 4.963 MB / 459 MB, free: 11.57 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001635/0.1219, allocations: 1.177 MB / 460.1 MB, free: 10.39 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002493/0.1221, allocations: 27.81 kB / 460.2 MB, free: 10.36 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002123/0.1224, allocations: 47.62 kB / 460.2 MB, free: 10.32 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004913/0.1229, allocations: 223 kB / 460.4 MB, free: 10.1 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000193/0.1231, allocations: 83.91 kB / 460.5 MB, free: 10.02 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005376/0.1236, allocations: 0.8143 MB / 461.3 MB, free: 9.199 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002593/0.1239, allocations: 118.9 kB / 461.4 MB, free: 9.086 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002289/0.1242, allocations: 195.1 kB / 461.6 MB, free: 8.895 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003754/0.1246, allocations: 275.1 kB / 461.9 MB, free: 8.625 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 4.141e-05/0.1246, allocations: 16 kB / 461.9 MB, free: 8.609 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.126e-05/0.1247, allocations: 19.94 kB / 461.9 MB, free: 8.59 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000136/0.1248, allocations: 147.6 kB / 462.1 MB, free: 8.445 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001466/0.125, allocations: 171 kB / 462.2 MB, free: 8.277 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002669/0.1253, allocations: 354.7 kB / 462.6 MB, free: 7.93 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.1253, allocations: 4 kB / 462.6 MB, free: 7.926 MB / 314.7 MB Notification: Performance of FrontEnd: time 7.71e-07/0.1253, allocations: 0 / 462.6 MB, free: 7.926 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.795e-06/0.1253, allocations: 0 / 462.6 MB, free: 7.926 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.001031/0.1263, allocations: 0.6517 MB / 463.2 MB, free: 7.227 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.638e-05/0.1264, allocations: 12.03 kB / 463.3 MB, free: 7.215 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.501e-05/0.1265, allocations: 36.47 kB / 463.3 MB, free: 7.18 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000498/0.127, allocations: 363.8 kB / 463.7 MB, free: 6.781 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.217e-05/0.127, allocations: 20.5 kB / 463.7 MB, free: 6.762 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.267e-05/0.1271, allocations: 27.98 kB / 463.7 MB, free: 6.734 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004523/0.1275, allocations: 356.7 kB / 464 MB, free: 6.359 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.1275, allocations: 0 / 464 MB, free: 6.359 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.642e-05/0.1276, allocations: 12 kB / 464.1 MB, free: 6.348 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.677e-05/0.1277, allocations: 24.53 kB / 464.1 MB, free: 6.324 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003515/0.128, allocations: 238 kB / 464.3 MB, free: 6.086 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001447/0.1295, allocations: 1.374 MB / 465.7 MB, free: 4.633 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003753/0.1299, allocations: 177 kB / 465.9 MB, free: 4.441 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001974/0.1301, allocations: 93.73 kB / 466 MB, free: 4.344 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.593e-05/0.1301, allocations: 4 kB / 466 MB, free: 4.34 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.279e-05/0.1302, allocations: 38.55 kB / 466 MB, free: 4.293 MB / 314.7 MB Notification: Performance of pre-optimization done (n=14): time 1.503e-06/0.1302, allocations: 0 / 466 MB, free: 4.293 MB / 314.7 MB Notification: Performance of matching and sorting (n=15): time 0.001301/0.1315, allocations: 0.7668 MB / 466.8 MB, free: 3.453 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.048e-05/0.1315, allocations: 81.05 kB / 466.8 MB, free: 3.355 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002306/0.1318, allocations: 300.4 kB / 467.1 MB, free: 3.051 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.825e-05/0.1318, allocations: 29.7 kB / 467.2 MB, free: 3.016 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001026/0.1319, allocations: 219.8 kB / 467.4 MB, free: 2.797 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.57e-05/0.132, allocations: 51.27 kB / 467.4 MB, free: 2.746 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.571e-05/0.1321, allocations: 57.59 kB / 467.5 MB, free: 2.684 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001042/0.1322, allocations: 338.8 kB / 467.8 MB, free: 2.344 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.552e-05/0.1323, allocations: 67.89 kB / 467.9 MB, free: 2.277 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001313/0.1324, allocations: 161.8 kB / 468 MB, free: 2.074 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000232/0.1327, allocations: 260.5 kB / 468.3 MB, free: 1.773 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.1327, allocations: 0 / 468.3 MB, free: 1.773 MB / 314.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000393/0.1331, allocations: 318.1 kB / 468.6 MB, free: 1.453 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/0.1331, allocations: 7.938 kB / 468.6 MB, free: 1.445 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.1331, allocations: 4 kB / 468.6 MB, free: 1.441 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001957/0.1333, allocations: 52.81 kB / 468.7 MB, free: 1.387 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001498/0.1335, allocations: 47.92 kB / 468.7 MB, free: 1.34 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00111/0.1346, allocations: 1.491 MB / 470.2 MB, free: 15.71 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000135/0.1347, allocations: 15.94 kB / 470.2 MB, free: 15.7 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.094e-05/0.1348, allocations: 11.98 kB / 470.2 MB, free: 15.69 MB / 330.7 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 (28): * Single equations (assignments): 27 * 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.000203/0.135, allocations: 177.8 kB / 470.4 MB, free: 15.5 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.218e-05/0.135, allocations: 27.62 kB / 470.4 MB, free: 15.48 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004131/0.1354, allocations: 240.3 kB / 470.7 MB, free: 15.23 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.903e-06/0.1355, allocations: 7.938 kB / 470.7 MB, free: 15.22 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.465e-06/0.1355, allocations: 0 / 470.7 MB, free: 15.22 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/0.1355, allocations: 3.984 kB / 470.7 MB, free: 15.21 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008711/0.1364, allocations: 0.6366 MB / 471.3 MB, free: 14.52 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.1364, allocations: 0 / 471.3 MB, free: 14.52 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.867e-05/0.1365, allocations: 23.98 kB / 471.3 MB, free: 14.49 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001785/0.1367, allocations: 56.8 kB / 471.4 MB, free: 14.43 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.11e-05/0.1367, allocations: 15.94 kB / 471.4 MB, free: 14.41 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001161/0.1379, allocations: 1.483 MB / 472.9 MB, free: 12.8 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.1379, allocations: 0 / 472.9 MB, free: 12.8 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004324/0.1422, allocations: 3.745 MB / 476.6 MB, free: 8.754 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.645e-05/0.1423, allocations: 100.9 kB / 476.7 MB, free: 8.637 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.976e-05/0.1423, allocations: 7.938 kB / 476.7 MB, free: 8.629 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001244/0.1425, allocations: 12.08 kB / 476.8 MB, free: 8.617 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.834e-05/0.1425, allocations: 20.05 kB / 476.8 MB, free: 8.598 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.372e-05/0.1425, allocations: 12 kB / 476.8 MB, free: 8.586 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001972/0.1427, allocations: 207.1 kB / 477 MB, free: 8.387 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.1428, allocations: 0 / 477 MB, free: 8.387 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004773/0.1432, allocations: 96 kB / 477.1 MB, free: 8.293 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (ind.i[1],ind.i[2]) * 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 (16): * Single equations (assignments): 14 * 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.0001635/0.1434, allocations: 103.2 kB / 477.2 MB, free: 8.184 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005792/0.144, allocations: 307.2 kB / 477.5 MB, free: 7.871 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.144, allocations: 4 kB / 477.5 MB, free: 7.867 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003458/0.1444, allocations: 210.7 kB / 477.7 MB, free: 7.648 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005076/0.1449, allocations: 69.72 kB / 477.8 MB, free: 7.578 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001627/0.1465, allocations: 1.143 MB / 478.9 MB, free: 6.379 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004059/0.1469, allocations: 0.8223 MB / 479.7 MB, free: 5.527 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001578/0.1471, allocations: 46.94 kB / 479.8 MB, free: 5.484 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.372e-05/0.1472, allocations: 23.38 kB / 479.8 MB, free: 5.461 MB / 330.7 MB Notification: Performance of SimCode: time 2.41e-07/0.1472, allocations: 0 / 479.8 MB, free: 5.461 MB / 330.7 MB Notification: Performance of Templates: time 0.006944/0.1541, allocations: 3.397 MB / 483.2 MB, free: 2.062 MB / 330.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.makefile (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe 2>&1)