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.001063/0.001063, allocations: 102.8 kB / 16.45 MB, free: 6.438 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.001127/0.001127, allocations: 189.4 kB / 17.38 MB, free: 5.688 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.306/1.306, allocations: 222.9 MB / 241.1 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.05036/0.05036, allocations: 8.095 MB / 299.3 MB, free: 6.629 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001102/0.001102, allocations: 63.91 kB / 414.5 MB, free: 21.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1001/0.1012, allocations: 51.51 MB / 466 MB, free: 2.035 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceTwoLinesOneLoad): time 0.0029/0.1042, allocations: 1.566 MB / 467.5 MB, free: 480 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002276/0.1065, allocations: 1.547 MB / 469.1 MB, free: 14.91 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001656/0.1067, allocations: 4 kB / 469.1 MB, free: 14.9 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004769/0.1071, allocations: 127.3 kB / 469.2 MB, free: 14.78 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003812/0.1075, allocations: 103.3 kB / 469.3 MB, free: 14.68 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001646/0.1092, allocations: 0.9139 MB / 470.2 MB, free: 13.76 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003227/0.1095, allocations: 250.8 kB / 470.5 MB, free: 13.52 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000149/0.1097, allocations: 72.36 kB / 470.6 MB, free: 13.45 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.868e-05/0.1098, allocations: 91.64 kB / 470.6 MB, free: 13.36 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000253/0.11, allocations: 131.4 kB / 470.8 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.469e-05/0.1101, allocations: 23.94 kB / 470.8 MB, free: 13.2 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003587/0.1105, allocations: 203.8 kB / 471 MB, free: 13 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.722e-05/0.1105, allocations: 47.78 kB / 471 MB, free: 12.96 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001014/0.1106, allocations: 115.4 kB / 471.2 MB, free: 12.84 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004924/0.1111, allocations: 386.6 kB / 471.5 MB, free: 12.46 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.1111, allocations: 8 kB / 471.5 MB, free: 12.46 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1111, allocations: 0 / 471.5 MB, free: 12.46 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.731e-06/0.1111, allocations: 0 / 471.5 MB, free: 12.46 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.002386/0.1135, allocations: 0.8182 MB / 472.4 MB, free: 11.59 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/0.1136, allocations: 16.03 kB / 472.4 MB, free: 11.57 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.867e-05/0.1137, allocations: 24.8 kB / 472.4 MB, free: 11.55 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003478/0.114, allocations: 256 kB / 472.6 MB, free: 11.26 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.99e-05/0.114, allocations: 12.7 kB / 472.7 MB, free: 11.25 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.259e-05/0.1141, allocations: 20.38 kB / 472.7 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004951/0.1146, allocations: 264 kB / 472.9 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.949e-06/0.1146, allocations: 192 / 472.9 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.09e-05/0.1146, allocations: 11.94 kB / 472.9 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.574e-06/0.1147, allocations: 4 kB / 473 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000353/0.115, allocations: 239.9 kB / 473.2 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001417/0.1164, allocations: 1.118 MB / 474.3 MB, free: 9.473 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006334/0.1171, allocations: 326.3 kB / 474.6 MB, free: 9.145 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002462/0.1173, allocations: 154.1 kB / 474.8 MB, free: 8.992 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.52e-05/0.1174, allocations: 11.94 kB / 474.8 MB, free: 8.98 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.422e-05/0.1174, allocations: 30.56 kB / 474.8 MB, free: 8.941 MB / 350.1 MB Notification: Performance of pre-optimization done (n=25): time 1.272e-06/0.1174, allocations: 3.938 kB / 474.8 MB, free: 8.938 MB / 350.1 MB Notification: Performance of matching and sorting (n=25): time 0.003098/0.1205, allocations: 0.9828 MB / 475.8 MB, free: 7.926 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.014e-05/0.1206, allocations: 51.41 kB / 475.9 MB, free: 7.863 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001957/0.1208, allocations: 194.3 kB / 476 MB, free: 7.664 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.925e-05/0.1208, allocations: 33.7 kB / 476.1 MB, free: 7.625 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.777e-05/0.1209, allocations: 132.6 kB / 476.2 MB, free: 7.492 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.244e-05/0.121, allocations: 91.2 kB / 476.3 MB, free: 7.402 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001076/0.1211, allocations: 65.64 kB / 476.4 MB, free: 7.332 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001358/0.1212, allocations: 326.8 kB / 476.7 MB, free: 7.004 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002286/0.1215, allocations: 156 kB / 476.8 MB, free: 6.852 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002325/0.1217, allocations: 163.7 kB / 477 MB, free: 6.691 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004895/0.1222, allocations: 347.7 kB / 477.3 MB, free: 6.348 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.1222, allocations: 4 kB / 477.3 MB, free: 6.344 MB / 350.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001433/0.1237, allocations: 0.642 MB / 478 MB, free: 5.691 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.1237, allocations: 8 kB / 478 MB, free: 5.684 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.1237, allocations: 4 kB / 478 MB, free: 5.68 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001346/0.1251, allocations: 320.4 kB / 478.3 MB, free: 5.363 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001688/0.1252, allocations: 51.91 kB / 478.3 MB, free: 5.312 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003987/0.1292, allocations: 2.757 MB / 481.1 MB, free: 2.41 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001881/0.1294, allocations: 23.84 kB / 481.1 MB, free: 2.387 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.889e-05/0.1295, allocations: 15.98 kB / 481.1 MB, free: 2.371 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.0001292/0.1296, allocations: 137.8 kB / 481.3 MB, free: 2.227 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.053e-05/0.1297, allocations: 23.86 kB / 481.3 MB, free: 2.203 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001475/0.1312, allocations: 0.6131 MB / 481.9 MB, free: 1.582 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.978e-06/0.1312, allocations: 7.984 kB / 481.9 MB, free: 1.574 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.615e-06/0.1312, allocations: 3.938 kB / 481.9 MB, free: 1.57 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.1312, allocations: 0 / 481.9 MB, free: 1.57 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003728/0.1316, allocations: 389.2 kB / 482.3 MB, free: 1.141 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.1316, allocations: 0 / 482.3 MB, free: 1.141 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001017/0.1317, allocations: 35.98 kB / 482.3 MB, free: 1.105 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00128/0.133, allocations: 312.5 kB / 482.6 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.105e-05/0.133, allocations: 7.922 kB / 482.7 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003792/0.1368, allocations: 2.731 MB / 485.4 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.1368, allocations: 4 kB / 485.4 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001367/0.1382, allocations: 0.6723 MB / 486.1 MB, free: 13.22 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.483e-05/0.1383, allocations: 100.9 kB / 486.2 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.126e-05/0.1383, allocations: 4 kB / 486.2 MB, free: 13.1 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001959/0.1385, allocations: 8 kB / 486.2 MB, free: 13.09 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.249e-05/0.1386, allocations: 23.97 kB / 486.2 MB, free: 13.07 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.15e-05/0.1386, allocations: 4.125 kB / 486.2 MB, free: 13.07 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001383/0.1388, allocations: 159.3 kB / 486.4 MB, free: 12.91 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1388, allocations: 0 / 486.4 MB, free: 12.91 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003978/0.1392, allocations: 99.95 kB / 486.5 MB, free: 12.81 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.0001915/0.1394, allocations: 115.2 kB / 486.6 MB, free: 12.69 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001397/0.1408, allocations: 0.6158 MB / 487.2 MB, free: 12.06 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.1408, allocations: 4 kB / 487.2 MB, free: 12.06 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009747/0.1418, allocations: 450.3 kB / 487.6 MB, free: 11.61 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003247/0.1421, allocations: 31.69 kB / 487.7 MB, free: 11.57 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008604/0.143, allocations: 0.4893 MB / 488.1 MB, free: 11.06 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003293/0.1433, allocations: 0.7446 MB / 488.9 MB, free: 10.28 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.775e-05/0.1434, allocations: 29.92 kB / 488.9 MB, free: 10.25 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.607e-05/0.1435, allocations: 27.42 kB / 488.9 MB, free: 10.23 MB / 366.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1435, allocations: 4 kB / 489 MB, free: 10.22 MB / 366.1 MB Notification: Performance of Templates: time 0.01045/0.1539, allocations: 6.031 MB / 495 MB, free: 4.227 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)