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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.001173/0.001173, allocations: 90.97 kB / 16.3 MB, free: 5.996 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.001467/0.001467, allocations: 184 kB / 17.2 MB, free: 5.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.644/1.644, allocations: 205.4 MB / 223.4 MB, free: 5.551 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.3167/0.3167, allocations: 38.05 MB / 309.7 MB, free: 8.883 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005452/0.0005452, allocations: 18.19 kB / 376.5 MB, free: 15.14 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1124/0.113, allocations: 56.34 MB / 432.8 MB, free: 6.699 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm): time 0.00451/0.1175, allocations: 3.992 MB / 436.8 MB, free: 2.684 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001896/0.1195, allocations: 1.108 MB / 437.9 MB, free: 1.57 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002137/0.1197, allocations: 23.81 kB / 438 MB, free: 1.547 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001607/0.1199, allocations: 47.66 kB / 438 MB, free: 1.5 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004868/0.1204, allocations: 187.4 kB / 438.2 MB, free: 1.316 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000258/0.1206, allocations: 115.7 kB / 438.3 MB, free: 1.203 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003369/0.121, allocations: 223.5 kB / 438.5 MB, free: 0.9844 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001961/0.1212, allocations: 77.14 kB / 438.6 MB, free: 0.9062 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002066/0.1214, allocations: 143.5 kB / 438.7 MB, free: 0.7656 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002324/0.1216, allocations: 135.4 kB / 438.9 MB, free: 0.6328 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.598e-05/0.1217, allocations: 15.94 kB / 438.9 MB, free: 0.6172 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.329e-05/0.1217, allocations: 8 kB / 438.9 MB, free: 0.6094 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.8e-05/0.1218, allocations: 79.78 kB / 439 MB, free: 0.5312 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.543e-05/0.1219, allocations: 73.52 kB / 439 MB, free: 464 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000196/0.1221, allocations: 203.5 kB / 439.2 MB, free: 260 kB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.1221, allocations: 11.94 kB / 439.2 MB, free: 248 kB / 366.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1221, allocations: 0 / 439.2 MB, free: 248 kB / 366.1 MB Notification: Performance of Transformations before backend: time 5.1e-06/0.1221, allocations: 0 / 439.2 MB, free: 248 kB / 366.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.0008567/0.123, allocations: 0.5425 MB / 439.8 MB, free: 15.65 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.123, allocations: 8.031 kB / 439.8 MB, free: 15.64 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.802e-05/0.1231, allocations: 39.53 kB / 439.8 MB, free: 15.6 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004498/0.1236, allocations: 313.8 kB / 440.1 MB, free: 15.26 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.089e-05/0.1236, allocations: 16.44 kB / 440.2 MB, free: 15.24 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.262e-05/0.1236, allocations: 20 kB / 440.2 MB, free: 15.22 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004354/0.1241, allocations: 290.8 kB / 440.5 MB, free: 14.9 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.1241, allocations: 0 / 440.5 MB, free: 14.9 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.686e-05/0.1241, allocations: 15.95 kB / 440.5 MB, free: 14.89 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.161e-05/0.1242, allocations: 4 kB / 440.5 MB, free: 14.88 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002957/0.1245, allocations: 184.6 kB / 440.7 MB, free: 14.7 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001292/0.1258, allocations: 1.224 MB / 441.9 MB, free: 13.39 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002853/0.1261, allocations: 109.4 kB / 442 MB, free: 13.27 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.828e-05/0.1261, allocations: 0 / 442 MB, free: 13.27 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.785e-05/0.1261, allocations: 42.61 kB / 442 MB, free: 13.21 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.022e-06/0.1261, allocations: 0 / 442 MB, free: 13.21 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.000795/0.1269, allocations: 493 kB / 442.5 MB, free: 12.68 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.733e-05/0.127, allocations: 81.11 kB / 442.6 MB, free: 12.58 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002163/0.1272, allocations: 242.7 kB / 442.8 MB, free: 12.34 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.619e-05/0.1272, allocations: 25.7 kB / 442.9 MB, free: 12.31 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001237/0.1274, allocations: 199.6 kB / 443.1 MB, free: 12.11 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.286e-05/0.1274, allocations: 51.33 kB / 443.1 MB, free: 12.06 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.311e-06/0.1274, allocations: 0 / 443.1 MB, free: 12.06 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001216/0.1276, allocations: 334.8 kB / 443.4 MB, free: 11.72 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.132e-05/0.1276, allocations: 36.02 kB / 443.5 MB, free: 11.69 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001187/0.1277, allocations: 124.9 kB / 443.6 MB, free: 11.52 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.873e-05/0.1278, allocations: 55.92 kB / 443.6 MB, free: 11.46 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.564e-06/0.1279, allocations: 8 kB / 443.6 MB, free: 11.46 MB / 382.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002836/0.1281, allocations: 205 kB / 443.8 MB, free: 11.25 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.1282, allocations: 8 kB / 443.9 MB, free: 11.24 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.1282, allocations: 4 kB / 443.9 MB, free: 11.24 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.763e-05/0.1282, allocations: 8.391 kB / 443.9 MB, free: 11.23 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001679/0.1284, allocations: 51.91 kB / 443.9 MB, free: 11.18 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/0.1284, allocations: 4 kB / 443.9 MB, free: 11.18 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000102/0.1285, allocations: 8 kB / 443.9 MB, free: 11.17 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.463e-05/0.1285, allocations: 8 kB / 443.9 MB, free: 11.16 MB / 382.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001267/0.1287, allocations: 153.7 kB / 444.1 MB, free: 11 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.954e-05/0.1287, allocations: 19.72 kB / 444.1 MB, free: 10.98 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002396/0.1289, allocations: 139.2 kB / 444.2 MB, free: 10.84 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.129, allocations: 0 / 444.2 MB, free: 10.84 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.959e-06/0.129, allocations: 23.92 kB / 444.3 MB, free: 10.81 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.129, allocations: 0 / 444.3 MB, free: 10.81 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005169/0.1295, allocations: 471.3 kB / 444.7 MB, free: 10.29 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.1295, allocations: 4 kB / 444.7 MB, free: 10.29 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001169/0.1296, allocations: 20 kB / 444.7 MB, free: 10.27 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.4e-05/0.1297, allocations: 4 kB / 444.8 MB, free: 10.27 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.176e-05/0.1297, allocations: 3.953 kB / 444.8 MB, free: 10.26 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.1297, allocations: 3.984 kB / 444.8 MB, free: 10.26 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.1297, allocations: 4.031 kB / 444.8 MB, free: 10.25 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003098/0.13, allocations: 300.5 kB / 445.1 MB, free: 9.926 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.912e-05/0.1301, allocations: 92.83 kB / 445.1 MB, free: 9.816 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.14e-05/0.1301, allocations: 12.03 kB / 445.2 MB, free: 9.805 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001102/0.1303, allocations: 8 kB / 445.2 MB, free: 9.797 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.207e-05/0.1303, allocations: 7.984 kB / 445.2 MB, free: 9.789 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.028e-05/0.1303, allocations: 8 kB / 445.2 MB, free: 9.781 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001287/0.1304, allocations: 170 kB / 445.4 MB, free: 9.613 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1304, allocations: 4 kB / 445.4 MB, free: 9.609 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002905/0.1307, allocations: 40 kB / 445.4 MB, free: 9.57 MB / 382.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001034/0.1309, allocations: 103.2 kB / 445.5 MB, free: 9.461 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002118/0.1311, allocations: 115.8 kB / 445.6 MB, free: 9.348 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.1311, allocations: 0 / 445.6 MB, free: 9.348 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.068e-05/0.1312, allocations: 43.92 kB / 445.6 MB, free: 9.305 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003744/0.1316, allocations: 49.48 kB / 445.7 MB, free: 9.258 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009226/0.1325, allocations: 0.6839 MB / 446.4 MB, free: 8.543 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003268/0.1328, allocations: 0.7794 MB / 447.2 MB, free: 7.738 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001139/0.133, allocations: 34.27 kB / 447.2 MB, free: 7.707 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.129e-05/0.133, allocations: 19.44 kB / 447.2 MB, free: 7.688 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.133, allocations: 0 / 447.2 MB, free: 7.688 MB / 382.1 MB Notification: Performance of Templates: time 0.004665/0.1377, allocations: 1.841 MB / 449.1 MB, free: 5.844 MB / 382.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: