Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.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/PowerSysPro 2.3.1/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/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(PowerSysPro.Examples.OneSourceTwoLinesOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad") translateModel(PowerSysPro.Examples.OneSourceTwoLinesOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001271/0.001271, allocations: 111.3 kB / 16.45 MB, free: 6.449 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.001797/0.001797, allocations: 189.5 kB / 17.39 MB, free: 5.668 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.462/1.462, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.06274/0.06274, allocations: 8.103 MB / 299.3 MB, free: 6.656 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001285/0.001285, allocations: 63.89 kB / 414.5 MB, free: 21.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1027/0.104, allocations: 51.51 MB / 466 MB, free: 2.184 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceTwoLinesOneLoad): time 0.003099/0.1071, allocations: 1.559 MB / 467.5 MB, free: 0.625 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002474/0.1096, allocations: 1.547 MB / 469.1 MB, free: 15.06 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001845/0.1098, allocations: 8 kB / 469.1 MB, free: 15.05 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004553/0.1103, allocations: 131.3 kB / 469.2 MB, free: 14.93 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003985/0.1107, allocations: 111.3 kB / 469.3 MB, free: 14.82 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001822/0.1125, allocations: 0.9138 MB / 470.2 MB, free: 13.9 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005024/0.1131, allocations: 234.8 kB / 470.5 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001978/0.1133, allocations: 88.33 kB / 470.6 MB, free: 13.59 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001589/0.1134, allocations: 95.64 kB / 470.7 MB, free: 13.49 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002442/0.1137, allocations: 123.5 kB / 470.8 MB, free: 13.37 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.79e-05/0.1137, allocations: 16 kB / 470.8 MB, free: 13.36 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004853/0.1142, allocations: 203.8 kB / 471 MB, free: 13.16 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.88e-05/0.1143, allocations: 51.77 kB / 471 MB, free: 13.11 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001391/0.1144, allocations: 111.5 kB / 471.2 MB, free: 13 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007007/0.1151, allocations: 386.9 kB / 471.5 MB, free: 12.62 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.132e-06/0.1152, allocations: 3.938 kB / 471.5 MB, free: 12.61 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.1152, allocations: 4 kB / 471.5 MB, free: 12.61 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.052e-05/0.1152, allocations: 0 / 471.5 MB, free: 12.61 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.002876/0.1181, allocations: 0.8111 MB / 472.3 MB, free: 11.75 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.005e-05/0.1181, allocations: 8.031 kB / 472.4 MB, free: 11.74 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.712e-05/0.1182, allocations: 28.66 kB / 472.4 MB, free: 11.71 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003458/0.1186, allocations: 259.9 kB / 472.6 MB, free: 11.42 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.648e-05/0.1186, allocations: 12.7 kB / 472.7 MB, free: 11.41 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.381e-05/0.1187, allocations: 20.38 kB / 472.7 MB, free: 11.39 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004369/0.1191, allocations: 260 kB / 472.9 MB, free: 11.13 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.496e-05/0.1191, allocations: 192 / 472.9 MB, free: 11.13 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.09e-05/0.1192, allocations: 11.88 kB / 472.9 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.895e-06/0.1192, allocations: 4 kB / 472.9 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003944/0.1196, allocations: 243.9 kB / 473.2 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001782/0.1214, allocations: 1.121 MB / 474.3 MB, free: 9.629 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006724/0.1221, allocations: 310.5 kB / 474.6 MB, free: 9.316 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002203/0.1223, allocations: 158.1 kB / 474.8 MB, free: 9.16 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.586e-05/0.1224, allocations: 19.91 kB / 474.8 MB, free: 9.141 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.628e-05/0.1224, allocations: 34.56 kB / 474.8 MB, free: 9.098 MB / 350.1 MB Notification: Performance of pre-optimization done (n=25): time 1.473e-06/0.1224, allocations: 0 / 474.8 MB, free: 9.098 MB / 350.1 MB Notification: Performance of matching and sorting (n=25): time 0.003144/0.1256, allocations: 0.9787 MB / 475.8 MB, free: 8.09 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.119e-05/0.1256, allocations: 55.41 kB / 475.8 MB, free: 8.023 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002424/0.1259, allocations: 190.3 kB / 476 MB, free: 7.828 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.736e-05/0.1259, allocations: 37.7 kB / 476.1 MB, free: 7.785 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.51e-05/0.126, allocations: 132.4 kB / 476.2 MB, free: 7.652 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.774e-05/0.1261, allocations: 82.75 kB / 476.3 MB, free: 7.57 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001279/0.1262, allocations: 61.69 kB / 476.3 MB, free: 7.504 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001275/0.1264, allocations: 330.8 kB / 476.7 MB, free: 7.172 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002469/0.1266, allocations: 156 kB / 476.8 MB, free: 7.02 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000238/0.1269, allocations: 155.8 kB / 477 MB, free: 6.867 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005031/0.1274, allocations: 351.7 kB / 477.3 MB, free: 6.52 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.1274, allocations: 0 / 477.3 MB, free: 6.52 MB / 350.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001508/0.1289, allocations: 0.6418 MB / 477.9 MB, free: 5.867 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.052e-05/0.1289, allocations: 15.98 kB / 478 MB, free: 5.852 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.129, allocations: 0 / 478 MB, free: 5.852 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001356/0.1303, allocations: 320.5 kB / 478.3 MB, free: 5.535 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001636/0.1305, allocations: 43.98 kB / 478.3 MB, free: 5.492 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004046/0.1345, allocations: 2.762 MB / 481.1 MB, free: 2.586 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001962/0.1348, allocations: 27.69 kB / 481.1 MB, free: 2.559 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.557e-05/0.1348, allocations: 8 kB / 481.1 MB, free: 2.551 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 26 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(6,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001433/0.1349, allocations: 145.8 kB / 481.3 MB, free: 2.398 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.839e-05/0.135, allocations: 19.8 kB / 481.3 MB, free: 2.379 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001514/0.1365, allocations: 0.613 MB / 481.9 MB, free: 1.758 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.57e-06/0.1365, allocations: 4 kB / 481.9 MB, free: 1.754 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.1366, allocations: 3.938 kB / 481.9 MB, free: 1.75 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.1366, allocations: 3.984 kB / 481.9 MB, free: 1.746 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003924/0.137, allocations: 381.1 kB / 482.3 MB, free: 1.324 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.137, allocations: 0 / 482.3 MB, free: 1.324 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001008/0.1371, allocations: 31.98 kB / 482.3 MB, free: 1.293 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001247/0.1383, allocations: 316.6 kB / 482.6 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.523e-05/0.1384, allocations: 8 kB / 482.6 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003625/0.142, allocations: 2.719 MB / 485.3 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.142, allocations: 3.938 kB / 485.3 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001392/0.1434, allocations: 0.676 MB / 486 MB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.558e-05/0.1435, allocations: 100.9 kB / 486.1 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.831e-05/0.1435, allocations: 4 kB / 486.1 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001956/0.1437, allocations: 15.98 kB / 486.1 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.705e-05/0.1438, allocations: 19.97 kB / 486.2 MB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.292e-05/0.1438, allocations: 8 kB / 486.2 MB, free: 13.25 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001406/0.144, allocations: 143.4 kB / 486.3 MB, free: 13.11 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.144, allocations: 4 kB / 486.3 MB, free: 13.1 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003931/0.1444, allocations: 99.91 kB / 486.4 MB, free: 13 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 19 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(6,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002031/0.1446, allocations: 119.1 kB / 486.5 MB, free: 12.88 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001312/0.1459, allocations: 0.6275 MB / 487.2 MB, free: 12.24 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.1459, allocations: 288 / 487.2 MB, free: 12.24 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009117/0.1469, allocations: 442.3 kB / 487.6 MB, free: 11.8 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003202/0.1472, allocations: 31.61 kB / 487.6 MB, free: 11.77 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007875/0.148, allocations: 0.4923 MB / 488.1 MB, free: 11.25 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003059/0.1483, allocations: 0.7485 MB / 488.9 MB, free: 10.47 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.218e-05/0.1484, allocations: 29.92 kB / 488.9 MB, free: 10.44 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.677e-05/0.1485, allocations: 19.44 kB / 488.9 MB, free: 10.42 MB / 366.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1485, allocations: 4 kB / 488.9 MB, free: 10.42 MB / 366.1 MB Notification: Performance of Templates: time 0.0099/0.1584, allocations: 6.023 MB / 494.9 MB, free: 4.426 MB / 366.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.makefile (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.pipe 2>&1)