Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad.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.OneSourceOneTransfoOnelineOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad") translateModel(PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00117/0.001171, allocations: 104.7 kB / 16.45 MB, free: 6.453 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.00102/0.00102, allocations: 190.1 kB / 17.38 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.361/1.361, 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.04615/0.04615, allocations: 8.106 MB / 299.3 MB, free: 6.625 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001182/0.001183, allocations: 63.91 kB / 414.5 MB, free: 21.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1051/0.1063, allocations: 51.51 MB / 466 MB, free: 2.168 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad): time 0.002855/0.1092, allocations: 1.613 MB / 467.6 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002255/0.1115, allocations: 1.547 MB / 469.1 MB, free: 14.99 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001679/0.1117, allocations: 4 kB / 469.1 MB, free: 14.99 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004136/0.1121, allocations: 127.3 kB / 469.3 MB, free: 14.86 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000448/0.1126, allocations: 135.1 kB / 469.4 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002147/0.1147, allocations: 1.175 MB / 470.6 MB, free: 13.55 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004254/0.1152, allocations: 238.8 kB / 470.8 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001875/0.1154, allocations: 84.34 kB / 470.9 MB, free: 13.24 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001654/0.1155, allocations: 99.58 kB / 471 MB, free: 13.14 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002321/0.1158, allocations: 127.5 kB / 471.1 MB, free: 13.02 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.631e-05/0.1158, allocations: 19.94 kB / 471.1 MB, free: 13 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000551/0.1164, allocations: 247.8 kB / 471.4 MB, free: 12.75 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.417e-05/0.1165, allocations: 51.77 kB / 471.4 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001274/0.1166, allocations: 123.4 kB / 471.5 MB, free: 12.58 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007179/0.1173, allocations: 430.5 kB / 472 MB, free: 12.16 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.464e-06/0.1173, allocations: 3.984 kB / 472 MB, free: 12.16 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.1173, allocations: 0 / 472 MB, free: 12.16 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.007e-06/0.1174, allocations: 0 / 472 MB, free: 12.16 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.003037/0.1204, allocations: 0.9079 MB / 472.9 MB, free: 11.2 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/0.1205, allocations: 12.03 kB / 472.9 MB, free: 11.18 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.521e-05/0.1205, allocations: 32.75 kB / 472.9 MB, free: 11.15 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002965/0.1208, allocations: 263.9 kB / 473.2 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.703e-05/0.1209, allocations: 16.7 kB / 473.2 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.049e-05/0.1209, allocations: 24.38 kB / 473.2 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004468/0.1214, allocations: 289.7 kB / 473.5 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.347e-06/0.1214, allocations: 192 / 473.5 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.864e-05/0.1214, allocations: 11.94 kB / 473.5 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/0.1214, allocations: 4 kB / 473.5 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003649/0.1218, allocations: 247.8 kB / 473.8 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001475/0.1233, allocations: 1.141 MB / 474.9 MB, free: 9 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005733/0.1239, allocations: 302.5 kB / 475.2 MB, free: 8.695 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002225/0.1241, allocations: 161.3 kB / 475.4 MB, free: 8.535 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.892e-05/0.1242, allocations: 11.92 kB / 475.4 MB, free: 8.523 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.201e-05/0.1242, allocations: 34.56 kB / 475.4 MB, free: 8.48 MB / 350.1 MB Notification: Performance of pre-optimization done (n=25): time 2.705e-06/0.1242, allocations: 4 kB / 475.4 MB, free: 8.477 MB / 350.1 MB Notification: Performance of matching and sorting (n=25): time 0.003082/0.1273, allocations: 0.9642 MB / 476.4 MB, free: 7.484 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.104e-05/0.1274, allocations: 85.05 kB / 476.5 MB, free: 7.383 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002167/0.1276, allocations: 214.8 kB / 476.7 MB, free: 7.16 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.237e-05/0.1276, allocations: 33.7 kB / 476.7 MB, free: 7.121 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.744e-05/0.1277, allocations: 132.9 kB / 476.8 MB, free: 6.984 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.476e-05/0.1278, allocations: 95.2 kB / 476.9 MB, free: 6.891 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000111/0.1279, allocations: 61.69 kB / 477 MB, free: 6.824 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001217/0.1281, allocations: 334.8 kB / 477.3 MB, free: 6.488 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002391/0.1283, allocations: 163.9 kB / 477.5 MB, free: 6.328 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002674/0.1286, allocations: 193.7 kB / 477.7 MB, free: 6.133 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005222/0.1291, allocations: 370.1 kB / 478 MB, free: 5.77 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.1291, allocations: 0 / 478 MB, free: 5.77 MB / 350.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001719/0.1308, allocations: 0.6851 MB / 478.7 MB, free: 5.074 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.1309, allocations: 12 kB / 478.7 MB, free: 5.062 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.1309, allocations: 0 / 478.7 MB, free: 5.062 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001756/0.1326, allocations: 380.4 kB / 479.1 MB, free: 4.688 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002333/0.1329, allocations: 51.97 kB / 479.1 MB, free: 4.637 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004655/0.1376, allocations: 2.739 MB / 481.9 MB, free: 1.754 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000293/0.1379, allocations: 35.95 kB / 481.9 MB, free: 1.719 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.304e-05/0.1379, allocations: 12 kB / 481.9 MB, free: 1.707 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 (31): * Single equations (assignments): 30 * 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,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0002248/0.1381, allocations: 149.8 kB / 482.1 MB, free: 1.551 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.491e-05/0.1382, allocations: 27.73 kB / 482.1 MB, free: 1.523 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001772/0.14, allocations: 0.6403 MB / 482.7 MB, free: 0.875 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-05/0.14, allocations: 11.92 kB / 482.7 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.703e-06/0.14, allocations: 7.938 kB / 482.8 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-06/0.14, allocations: 0 / 482.8 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004113/0.1405, allocations: 389.3 kB / 483.1 MB, free: 436 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.1405, allocations: 0 / 483.1 MB, free: 436 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001377/0.1406, allocations: 31.98 kB / 483.2 MB, free: 404 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001661/0.1423, allocations: 376.4 kB / 483.5 MB, free: 24 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.672e-05/0.1423, allocations: 11.98 kB / 483.5 MB, free: 12 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004182/0.1465, allocations: 2.715 MB / 486.3 MB, free: 13.15 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.1465, allocations: 0 / 486.3 MB, free: 13.15 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001645/0.1482, allocations: 0.7112 MB / 487 MB, free: 12.42 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.742e-05/0.1483, allocations: 96.91 kB / 487.1 MB, free: 12.31 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.866e-05/0.1483, allocations: 11.94 kB / 487.1 MB, free: 12.3 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000234/0.1485, allocations: 15.98 kB / 487.1 MB, free: 12.28 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.813e-05/0.1486, allocations: 27.95 kB / 487.1 MB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.317e-05/0.1487, allocations: 8 kB / 487.1 MB, free: 12.25 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001593/0.1488, allocations: 159.4 kB / 487.3 MB, free: 12.09 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1488, allocations: 0 / 487.3 MB, free: 12.09 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004616/0.1493, allocations: 107.9 kB / 487.4 MB, free: 11.98 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 (22): * Single equations (assignments): 21 * 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,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002091/0.1495, allocations: 111.3 kB / 487.5 MB, free: 11.87 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001645/0.1512, allocations: 0.6545 MB / 488.2 MB, free: 11.2 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.1512, allocations: 0 / 488.2 MB, free: 11.2 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001143/0.1523, allocations: 458.4 kB / 488.6 MB, free: 10.74 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00034/0.1527, allocations: 26.69 kB / 488.6 MB, free: 10.71 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000864/0.1536, allocations: 0.4973 MB / 489.1 MB, free: 10.2 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002897/0.1539, allocations: 0.7485 MB / 489.9 MB, free: 9.422 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001233/0.154, allocations: 37.98 kB / 489.9 MB, free: 9.387 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.272e-05/0.1541, allocations: 27.42 kB / 489.9 MB, free: 9.359 MB / 366.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1541, allocations: 0 / 489.9 MB, free: 9.359 MB / 366.1 MB Notification: Performance of Templates: time 0.01/0.1641, allocations: 6.37 MB / 496.3 MB, free: 3.008 MB / 366.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad.makefile (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad.pipe 2>&1)