Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.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.OneSourceOneLineOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad") translateModel(PowerSysPro.Examples.OneSourceOneLineOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001034/0.001034, allocations: 105 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.001133/0.001133, allocations: 186.4 kB / 17.38 MB, free: 5.691 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.43/1.43, allocations: 222.9 MB / 241.1 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.06322/0.06322, allocations: 8.099 MB / 299.3 MB, free: 6.625 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001183/0.001183, allocations: 63.91 kB / 414.5 MB, free: 21.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1194/0.1206, allocations: 51.52 MB / 466 MB, free: 2.164 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLineOneLoad): time 0.002518/0.1232, allocations: 1.224 MB / 467.2 MB, free: 0.9414 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001944/0.1251, allocations: 1.485 MB / 468.7 MB, free: 15.44 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.025e-05/0.1252, allocations: 4 kB / 468.7 MB, free: 15.44 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003349/0.1255, allocations: 107.5 kB / 468.8 MB, free: 15.33 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002247/0.1258, allocations: 79.45 kB / 468.9 MB, free: 15.25 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001579/0.1274, allocations: 0.8945 MB / 469.8 MB, free: 14.36 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002512/0.1276, allocations: 163.1 kB / 469.9 MB, free: 14.2 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001494/0.1278, allocations: 49.52 kB / 470 MB, free: 14.15 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.562e-05/0.1279, allocations: 71.7 kB / 470.1 MB, free: 14.08 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001686/0.1281, allocations: 87.67 kB / 470.1 MB, free: 13.99 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.877e-05/0.1281, allocations: 12 kB / 470.1 MB, free: 13.98 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003683/0.1285, allocations: 199.8 kB / 470.3 MB, free: 13.79 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.991e-05/0.1285, allocations: 27.92 kB / 470.4 MB, free: 13.76 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.385e-05/0.1286, allocations: 79.59 kB / 470.4 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004846/0.1291, allocations: 311.2 kB / 470.8 MB, free: 13.38 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.1291, allocations: 0 / 470.8 MB, free: 13.38 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.1292, allocations: 0 / 470.8 MB, free: 13.38 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.833e-06/0.1292, allocations: 0 / 470.8 MB, free: 13.38 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: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.001812/0.131, allocations: 0.6278 MB / 471.4 MB, free: 12.69 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.869e-05/0.131, allocations: 12.03 kB / 471.4 MB, free: 12.68 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.126e-05/0.1311, allocations: 20.75 kB / 471.4 MB, free: 12.66 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003488/0.1315, allocations: 228.6 kB / 471.6 MB, free: 12.4 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.424e-05/0.1315, allocations: 8.609 kB / 471.6 MB, free: 12.39 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.39e-05/0.1315, allocations: 12.38 kB / 471.7 MB, free: 12.38 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000342/0.1319, allocations: 187.6 kB / 471.8 MB, free: 12.19 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.388e-05/0.1319, allocations: 0 / 471.8 MB, free: 12.19 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.428e-05/0.1319, allocations: 0 / 471.8 MB, free: 12.19 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.134e-05/0.1319, allocations: 4 kB / 471.8 MB, free: 12.19 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002481/0.1322, allocations: 156.6 kB / 472 MB, free: 12.04 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001038/0.1333, allocations: 0.7068 MB / 472.7 MB, free: 11.25 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005076/0.1338, allocations: 202.5 kB / 472.9 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001395/0.1339, allocations: 100.8 kB / 473 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.437e-05/0.134, allocations: 4 kB / 473 MB, free: 10.94 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.248e-05/0.134, allocations: 38.56 kB / 473 MB, free: 10.89 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.172e-06/0.134, allocations: 0 / 473 MB, free: 10.89 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.001675/0.1357, allocations: 0.5577 MB / 473.6 MB, free: 10.31 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.148e-05/0.1358, allocations: 55.41 kB / 473.7 MB, free: 10.24 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001811/0.1359, allocations: 168.1 kB / 473.8 MB, free: 10.07 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.741e-05/0.136, allocations: 37.64 kB / 473.9 MB, free: 10.03 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.737e-05/0.1361, allocations: 116.2 kB / 474 MB, free: 9.91 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.738e-05/0.1361, allocations: 59.14 kB / 474 MB, free: 9.852 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.211e-05/0.1362, allocations: 45.7 kB / 474.1 MB, free: 9.801 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001364/0.1364, allocations: 322.8 kB / 474.4 MB, free: 9.477 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001412/0.1365, allocations: 95.97 kB / 474.5 MB, free: 9.383 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001354/0.1366, allocations: 94.81 kB / 474.6 MB, free: 9.293 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002923/0.1369, allocations: 212.7 kB / 474.8 MB, free: 9.082 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.137, allocations: 3.938 kB / 474.8 MB, free: 9.078 MB / 350.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007764/0.1377, allocations: 384.4 kB / 475.2 MB, free: 8.695 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.1378, allocations: 8 kB / 475.2 MB, free: 8.688 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.1378, allocations: 3.938 kB / 475.2 MB, free: 8.684 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000641/0.1384, allocations: 136.7 kB / 475.3 MB, free: 8.547 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001107/0.1385, allocations: 31.98 kB / 475.3 MB, free: 8.516 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002388/0.1409, allocations: 2.031 MB / 477.4 MB, free: 6.344 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001372/0.1411, allocations: 19.75 kB / 477.4 MB, free: 6.324 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.748e-05/0.1411, allocations: 4 kB / 477.4 MB, free: 6.32 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 (18): * Single equations (assignments): 17 * 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 {(2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.00014/0.1413, allocations: 144.9 kB / 477.5 MB, free: 6.172 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.382e-05/0.1413, allocations: 11.91 kB / 477.5 MB, free: 6.16 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000822/0.1421, allocations: 362.4 kB / 477.9 MB, free: 5.801 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.1422, allocations: 4 kB / 477.9 MB, free: 5.797 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.52e-07/0.1422, allocations: 0 / 477.9 MB, free: 5.797 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.1422, allocations: 0 / 477.9 MB, free: 5.797 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002852/0.1425, allocations: 297.3 kB / 478.2 MB, free: 5.457 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.1425, allocations: 4.062 kB / 478.2 MB, free: 5.453 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.073e-05/0.1425, allocations: 27.92 kB / 478.2 MB, free: 5.426 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000555/0.1431, allocations: 132.7 kB / 478.4 MB, free: 5.293 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.928e-05/0.1431, allocations: 11.98 kB / 478.4 MB, free: 5.281 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002011/0.1452, allocations: 2.004 MB / 480.4 MB, free: 3.141 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1452, allocations: 0 / 480.4 MB, free: 3.141 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007424/0.1459, allocations: 424 kB / 480.8 MB, free: 2.707 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.836e-05/0.146, allocations: 100.8 kB / 480.9 MB, free: 2.59 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.38e-05/0.146, allocations: 8 kB / 480.9 MB, free: 2.582 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001515/0.1462, allocations: 8.188 kB / 480.9 MB, free: 2.574 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.56e-05/0.1462, allocations: 11.97 kB / 480.9 MB, free: 2.562 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.588e-05/0.1462, allocations: 15.94 kB / 480.9 MB, free: 2.547 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001179/0.1464, allocations: 128.1 kB / 481 MB, free: 2.422 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1464, allocations: 4 kB / 481.1 MB, free: 2.418 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003311/0.1467, allocations: 64 kB / 481.1 MB, free: 2.355 MB / 350.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 (13): * Single equations (assignments): 12 * 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 {(2,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000184/0.1469, allocations: 111.2 kB / 481.2 MB, free: 2.234 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007623/0.1477, allocations: 386.5 kB / 481.6 MB, free: 1.844 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.1477, allocations: 3.938 kB / 481.6 MB, free: 1.84 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004316/0.1481, allocations: 266.5 kB / 481.9 MB, free: 1.566 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003007/0.1484, allocations: 14.34 kB / 481.9 MB, free: 1.555 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005882/0.149, allocations: 359.1 kB / 482.2 MB, free: 1.172 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003153/0.1494, allocations: 0.724 MB / 483 MB, free: 432 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.896e-05/0.1494, allocations: 21.39 kB / 483 MB, free: 412 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.656e-05/0.1495, allocations: 15.44 kB / 483 MB, free: 396 kB / 350.1 MB Notification: Performance of SimCode: time 2e-07/0.1495, allocations: 0 / 483 MB, free: 396 kB / 350.1 MB Notification: Performance of Templates: time 0.007892/0.1574, allocations: 4.069 MB / 487.1 MB, free: 12.34 MB / 366.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.makefile (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.pipe 2>&1)