Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.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.AC1ph_DC.Elementary.ImpedanceOneTerm,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1480,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1480,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007688/0.0007687, allocations: 97.28 kB / 16.65 MB, free: 6.59 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.0008031/0.0008032, allocations: 181.3 kB / 17.56 MB, free: 6.203 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.41/1.41, allocations: 223.3 MB / 241.6 MB, free: 14.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.194/0.194, allocations: 38.08 MB / 330.8 MB, free: 8.453 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003839/0.000384, allocations: 12 kB / 400.7 MB, free: 34.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1132/0.1136, allocations: 59.16 MB / 459.9 MB, free: 7.023 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm): time 0.005192/0.1189, allocations: 4.342 MB / 464.2 MB, free: 2.652 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002142/0.121, allocations: 1.083 MB / 465.3 MB, free: 1.566 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002445/0.1213, allocations: 19.88 kB / 465.3 MB, free: 1.547 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001779/0.1215, allocations: 35.7 kB / 465.3 MB, free: 1.512 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000505/0.122, allocations: 163.2 kB / 465.5 MB, free: 1.352 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002051/0.1222, allocations: 83.91 kB / 465.6 MB, free: 1.27 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005259/0.1228, allocations: 0.5257 MB / 466.1 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002187/0.123, allocations: 97.7 kB / 466.2 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002343/0.1232, allocations: 143.2 kB / 466.3 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003221/0.1236, allocations: 179.3 kB / 466.5 MB, free: 340 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.731e-05/0.1236, allocations: 15.94 kB / 466.5 MB, free: 324 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.029e-05/0.1237, allocations: 15.94 kB / 466.6 MB, free: 308 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001208/0.1238, allocations: 75.78 kB / 466.6 MB, free: 232 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001862/0.124, allocations: 160.9 kB / 466.8 MB, free: 64 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000373/0.1244, allocations: 266.9 kB / 467 MB, free: 15.8 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.1244, allocations: 0 / 467 MB, free: 15.8 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.1244, allocations: 0 / 467 MB, free: 15.8 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.104e-06/0.1244, allocations: 0 / 467 MB, free: 15.8 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.001224/0.1256, allocations: 0.5544 MB / 467.6 MB, free: 15.2 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.191e-05/0.1257, allocations: 8.031 kB / 467.6 MB, free: 15.19 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.874e-05/0.1258, allocations: 32.56 kB / 467.6 MB, free: 15.16 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000533/0.1263, allocations: 318.9 kB / 468 MB, free: 14.8 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.293e-05/0.1264, allocations: 20.56 kB / 468 MB, free: 14.79 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.448e-05/0.1265, allocations: 24 kB / 468 MB, free: 14.76 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005771/0.127, allocations: 294.8 kB / 468.3 MB, free: 14.44 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.772e-05/0.1271, allocations: 0 / 468.3 MB, free: 14.44 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.677e-05/0.1271, allocations: 12 kB / 468.3 MB, free: 14.43 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.339e-05/0.1271, allocations: 8 kB / 468.3 MB, free: 14.42 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003508/0.1275, allocations: 180.9 kB / 468.5 MB, free: 14.25 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001732/0.1292, allocations: 1.232 MB / 469.7 MB, free: 12.93 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003994/0.1296, allocations: 109.2 kB / 469.8 MB, free: 12.8 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.571e-05/0.1297, allocations: 41.77 kB / 469.9 MB, free: 12.75 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.228e-05/0.1298, allocations: 4 kB / 469.9 MB, free: 12.75 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.767e-05/0.1298, allocations: 38.56 kB / 469.9 MB, free: 12.7 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.453e-06/0.1298, allocations: 0 / 469.9 MB, free: 12.7 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001004/0.1308, allocations: 488.9 kB / 470.4 MB, free: 12.17 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.768e-05/0.1309, allocations: 77.3 kB / 470.5 MB, free: 12.08 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002429/0.1311, allocations: 250.7 kB / 470.7 MB, free: 11.82 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.647e-05/0.1312, allocations: 33.77 kB / 470.7 MB, free: 11.78 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001442/0.1313, allocations: 199.6 kB / 470.9 MB, free: 11.58 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.335e-05/0.1314, allocations: 39.45 kB / 471 MB, free: 11.54 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.492e-05/0.1314, allocations: 21.72 kB / 471 MB, free: 11.51 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001407/0.1316, allocations: 338.8 kB / 471.3 MB, free: 11.17 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.217e-05/0.1316, allocations: 31.98 kB / 471.3 MB, free: 11.14 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001364/0.1318, allocations: 135.1 kB / 471.5 MB, free: 10.97 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002229/0.132, allocations: 200.5 kB / 471.7 MB, free: 10.73 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.132, allocations: 0 / 471.7 MB, free: 10.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002887/0.1323, allocations: 209.4 kB / 471.9 MB, free: 10.52 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.566e-05/0.1323, allocations: 4 kB / 471.9 MB, free: 10.51 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.1323, allocations: 4 kB / 471.9 MB, free: 10.51 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.744e-05/0.1324, allocations: 4 kB / 471.9 MB, free: 10.5 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001627/0.1325, allocations: 47.92 kB / 471.9 MB, free: 10.46 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.509e-05/0.1326, allocations: 11.92 kB / 471.9 MB, free: 10.45 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001081/0.1327, allocations: 11.94 kB / 472 MB, free: 10.43 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.408e-05/0.1327, allocations: 8 kB / 472 MB, free: 10.43 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): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001492/0.1328, allocations: 153.7 kB / 472.1 MB, free: 10.27 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.291e-05/0.1329, allocations: 27.78 kB / 472.1 MB, free: 10.24 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002421/0.1331, allocations: 129.3 kB / 472.3 MB, free: 10.11 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.1332, allocations: 4 kB / 472.3 MB, free: 10.11 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.1332, allocations: 0 / 472.3 MB, free: 10.11 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.121e-06/0.1332, allocations: 3.938 kB / 472.3 MB, free: 10.1 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006854/0.1339, allocations: 479.2 kB / 472.7 MB, free: 9.574 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.1339, allocations: 0 / 472.7 MB, free: 9.574 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001321/0.134, allocations: 35.92 kB / 472.8 MB, free: 9.539 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.134, allocations: 4.125 kB / 472.8 MB, free: 9.535 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.522e-05/0.1341, allocations: 7.875 kB / 472.8 MB, free: 9.527 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.24e-06/0.1341, allocations: 4 kB / 472.8 MB, free: 9.523 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.1341, allocations: 0 / 472.8 MB, free: 9.523 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003996/0.1345, allocations: 276.8 kB / 473.1 MB, free: 9.23 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.383e-05/0.1346, allocations: 97.02 kB / 473.2 MB, free: 9.117 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.041e-05/0.1346, allocations: 3.938 kB / 473.2 MB, free: 9.113 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.844e-05/0.1347, allocations: 4 kB / 473.2 MB, free: 9.109 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.708e-05/0.1348, allocations: 15.92 kB / 473.2 MB, free: 9.094 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.125e-05/0.1348, allocations: 0 / 473.2 MB, free: 9.094 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000173/0.135, allocations: 177.9 kB / 473.4 MB, free: 8.922 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.135, allocations: 0 / 473.4 MB, free: 8.922 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003287/0.1353, allocations: 44 kB / 473.4 MB, free: 8.879 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (ind.i) * 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 (13): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001509/0.1355, allocations: 103.2 kB / 473.5 MB, free: 8.77 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002543/0.1357, allocations: 107.8 kB / 473.6 MB, free: 8.664 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.1357, allocations: 0 / 473.6 MB, free: 8.664 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001035/0.1358, allocations: 43.92 kB / 473.7 MB, free: 8.621 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005163/0.1364, allocations: 57.95 kB / 473.7 MB, free: 8.566 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009453/0.1373, allocations: 0.688 MB / 474.4 MB, free: 7.84 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000349/0.1377, allocations: 0.7716 MB / 475.2 MB, free: 7.039 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001148/0.1378, allocations: 30.22 kB / 475.2 MB, free: 7.012 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.164e-05/0.1379, allocations: 27.44 kB / 475.2 MB, free: 6.984 MB / 350.1 MB Notification: Performance of SimCode: time 3e-07/0.1379, allocations: 0 / 475.2 MB, free: 6.984 MB / 350.1 MB Notification: Performance of Templates: time 0.005377/0.1433, allocations: 1.903 MB / 477.1 MB, free: 5.105 MB / 350.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.makefile (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.pipe 2>&1)