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.001131/0.001132, allocations: 105.6 kB / 16.45 MB, free: 6.441 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.001161/0.001161, allocations: 186.4 kB / 17.38 MB, free: 5.695 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.425/1.425, 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.05556/0.05556, allocations: 8.096 MB / 299.3 MB, free: 6.645 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00117/0.00117, allocations: 63.91 kB / 414.5 MB, free: 21.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1148/0.116, allocations: 51.52 MB / 466 MB, free: 2.168 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad): time 0.002965/0.119, allocations: 1.594 MB / 467.6 MB, free: 0.5742 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001994/0.121, allocations: 1.555 MB / 469.1 MB, free: 15 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.64e-05/0.1212, allocations: 8 kB / 469.1 MB, free: 15 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003544/0.1215, allocations: 127.3 kB / 469.3 MB, free: 14.87 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000334/0.1219, allocations: 131.2 kB / 469.4 MB, free: 14.74 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001892/0.1238, allocations: 1.175 MB / 470.6 MB, free: 13.57 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003454/0.1241, allocations: 242.8 kB / 470.8 MB, free: 13.33 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001764/0.1243, allocations: 84.33 kB / 470.9 MB, free: 13.25 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001051/0.1244, allocations: 99.58 kB / 471 MB, free: 13.15 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001859/0.1246, allocations: 127.5 kB / 471.1 MB, free: 13.02 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.469e-05/0.1247, allocations: 20 kB / 471.1 MB, free: 13 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003843/0.125, allocations: 243.8 kB / 471.4 MB, free: 12.77 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.04e-05/0.1251, allocations: 47.83 kB / 471.4 MB, free: 12.72 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001046/0.1252, allocations: 123.3 kB / 471.5 MB, free: 12.6 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004847/0.1257, allocations: 434.8 kB / 472 MB, free: 12.17 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.1257, allocations: 4 kB / 472 MB, free: 12.17 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.805e-06/0.1257, allocations: 0 / 472 MB, free: 12.17 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.433e-06/0.1257, allocations: 0 / 472 MB, free: 12.17 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.002779/0.1285, allocations: 0.9047 MB / 472.9 MB, free: 11.21 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.895e-05/0.1286, allocations: 8.031 kB / 472.9 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.276e-05/0.1287, allocations: 24.66 kB / 472.9 MB, free: 11.18 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002957/0.129, allocations: 259.9 kB / 473.2 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.923e-05/0.129, allocations: 24.7 kB / 473.2 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.899e-05/0.129, allocations: 16.38 kB / 473.2 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004284/0.1295, allocations: 293.7 kB / 473.5 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.1295, allocations: 192 / 473.5 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.041e-05/0.1295, allocations: 11.94 kB / 473.5 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.254e-06/0.1295, allocations: 4 kB / 473.5 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003608/0.1299, allocations: 247.8 kB / 473.7 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001456/0.1314, allocations: 1.133 MB / 474.9 MB, free: 9.035 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005752/0.132, allocations: 318.4 kB / 475.2 MB, free: 8.715 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002126/0.1322, allocations: 157.2 kB / 475.3 MB, free: 8.559 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.694e-05/0.1322, allocations: 11.92 kB / 475.4 MB, free: 8.547 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.637e-05/0.1323, allocations: 34.56 kB / 475.4 MB, free: 8.504 MB / 350.1 MB Notification: Performance of pre-optimization done (n=25): time 1.362e-06/0.1323, allocations: 4 kB / 475.4 MB, free: 8.5 MB / 350.1 MB Notification: Performance of matching and sorting (n=25): time 0.003024/0.1353, allocations: 0.9603 MB / 476.4 MB, free: 7.512 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.286e-05/0.1354, allocations: 85.05 kB / 476.4 MB, free: 7.41 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002099/0.1356, allocations: 210.8 kB / 476.6 MB, free: 7.191 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.452e-05/0.1356, allocations: 37.7 kB / 476.7 MB, free: 7.148 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.258e-05/0.1357, allocations: 128.8 kB / 476.8 MB, free: 7.016 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.073e-05/0.1358, allocations: 94.73 kB / 476.9 MB, free: 6.922 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001264/0.1359, allocations: 69.61 kB / 477 MB, free: 6.848 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001183/0.1361, allocations: 330.8 kB / 477.3 MB, free: 6.516 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002441/0.1363, allocations: 159.9 kB / 477.4 MB, free: 6.359 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002649/0.1366, allocations: 189.7 kB / 477.6 MB, free: 6.168 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005201/0.1371, allocations: 378.1 kB / 478 MB, free: 5.797 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.1371, allocations: 0 / 478 MB, free: 5.797 MB / 350.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001728/0.1389, allocations: 0.6849 MB / 478.7 MB, free: 5.102 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.1389, allocations: 4 kB / 478.7 MB, free: 5.098 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.1389, allocations: 4 kB / 478.7 MB, free: 5.094 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001689/0.1406, allocations: 388.4 kB / 479.1 MB, free: 4.711 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002121/0.1408, allocations: 51.97 kB / 479.1 MB, free: 4.66 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004292/0.1451, allocations: 2.73 MB / 481.9 MB, free: 1.789 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000238/0.1454, allocations: 39.8 kB / 481.9 MB, free: 1.75 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.724e-05/0.1454, allocations: 4 kB / 481.9 MB, free: 1.746 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.0001563/0.1456, allocations: 149.8 kB / 482 MB, free: 1.59 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.819e-05/0.1456, allocations: 27.66 kB / 482.1 MB, free: 1.562 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0017/0.1474, allocations: 0.6442 MB / 482.7 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.133e-05/0.1474, allocations: 11.88 kB / 482.7 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.152e-06/0.1474, allocations: 3.938 kB / 482.7 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/0.1474, allocations: 4 kB / 482.7 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004501/0.1479, allocations: 385.2 kB / 483.1 MB, free: 476 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.1479, allocations: 0 / 483.1 MB, free: 476 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001435/0.148, allocations: 31.98 kB / 483.1 MB, free: 444 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001596/0.1496, allocations: 368.7 kB / 483.5 MB, free: 72 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.058e-05/0.1497, allocations: 15.98 kB / 483.5 MB, free: 56 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004125/0.1538, allocations: 2.73 MB / 486.2 MB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.1538, allocations: 0 / 486.2 MB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001648/0.1555, allocations: 0.7072 MB / 486.9 MB, free: 12.45 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.578e-05/0.1556, allocations: 96.86 kB / 487 MB, free: 12.34 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.621e-05/0.1556, allocations: 11.89 kB / 487.1 MB, free: 12.33 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002326/0.1559, allocations: 12 kB / 487.1 MB, free: 12.32 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.352e-05/0.156, allocations: 23.97 kB / 487.1 MB, free: 12.29 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.696e-05/0.156, allocations: 11.98 kB / 487.1 MB, free: 12.28 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000164/0.1562, allocations: 155.4 kB / 487.3 MB, free: 12.13 MB / 366.1 MB Notification: Performance of sort global known variables: time 4.11e-07/0.1562, allocations: 0 / 487.3 MB, free: 12.13 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005136/0.1567, allocations: 103.9 kB / 487.4 MB, free: 12.03 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.0002162/0.1569, allocations: 107.3 kB / 487.5 MB, free: 11.91 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001538/0.1585, allocations: 0.6507 MB / 488.1 MB, free: 11.25 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.1585, allocations: 4 kB / 488.1 MB, free: 11.25 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00108/0.1596, allocations: 462.2 kB / 488.6 MB, free: 10.78 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003502/0.1599, allocations: 23.94 kB / 488.6 MB, free: 10.76 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008794/0.1608, allocations: 0.494 MB / 489.1 MB, free: 10.25 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002958/0.1611, allocations: 0.7523 MB / 489.8 MB, free: 9.465 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001047/0.1613, allocations: 30.06 kB / 489.9 MB, free: 9.438 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.752e-05/0.1613, allocations: 27.42 kB / 489.9 MB, free: 9.41 MB / 366.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1613, allocations: 0 / 489.9 MB, free: 9.41 MB / 366.1 MB Notification: Performance of Templates: time 0.01075/0.1721, allocations: 6.363 MB / 496.3 MB, free: 3.066 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)