Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad.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.OneSourceTwoTransfosOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad") translateModel(PowerSysPro.Examples.OneSourceTwoTransfosOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001392/0.001392, allocations: 108.1 kB / 16.45 MB, free: 6.395 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.002243/0.002243, allocations: 189.4 kB / 17.39 MB, free: 5.645 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.428/1.428, allocations: 222.9 MB / 241.1 MB, free: 15.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.05766/0.05766, allocations: 8.114 MB / 299.3 MB, free: 6.602 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001163/0.001163, allocations: 63.91 kB / 414.5 MB, free: 21.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1054/0.1066, allocations: 51.52 MB / 466 MB, free: 2.145 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceTwoTransfosOneLoad): time 0.003233/0.1099, allocations: 1.617 MB / 467.6 MB, free: 0.5312 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002363/0.1123, allocations: 1.559 MB / 469.2 MB, free: 14.96 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.419e-05/0.1124, allocations: 4 kB / 469.2 MB, free: 14.95 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003779/0.1128, allocations: 123.3 kB / 469.3 MB, free: 14.83 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003935/0.1132, allocations: 143.1 kB / 469.4 MB, free: 14.69 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002091/0.1153, allocations: 1.023 MB / 470.5 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004268/0.1157, allocations: 246.8 kB / 470.7 MB, free: 13.42 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002075/0.1159, allocations: 84.33 kB / 470.8 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000109/0.1161, allocations: 99.58 kB / 470.9 MB, free: 13.24 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000215/0.1163, allocations: 127.5 kB / 471 MB, free: 13.12 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.156e-05/0.1163, allocations: 24 kB / 471 MB, free: 13.09 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004955/0.1168, allocations: 235.7 kB / 471.3 MB, free: 12.86 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.523e-05/0.1169, allocations: 47.83 kB / 471.3 MB, free: 12.82 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001521/0.1171, allocations: 123.4 kB / 471.4 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006591/0.1177, allocations: 414.8 kB / 471.8 MB, free: 12.29 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.374e-06/0.1178, allocations: 0 / 471.8 MB, free: 12.29 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.364e-06/0.1178, allocations: 7.875 kB / 471.8 MB, free: 12.28 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.987e-06/0.1178, allocations: 0 / 471.8 MB, free: 12.28 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.004079/0.1219, allocations: 0.9944 MB / 472.8 MB, free: 11.23 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.056e-05/0.122, allocations: 8.031 kB / 472.8 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.903e-05/0.1221, allocations: 28.66 kB / 472.9 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003872/0.1225, allocations: 264.2 kB / 473.1 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.062e-05/0.1225, allocations: 12.7 kB / 473.1 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.38e-05/0.1226, allocations: 20.38 kB / 473.2 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004638/0.123, allocations: 298.6 kB / 473.4 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.1231, allocations: 4.172 kB / 473.4 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.213e-05/0.1231, allocations: 11.94 kB / 473.5 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.665e-06/0.1231, allocations: 4 kB / 473.5 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003704/0.1235, allocations: 251.8 kB / 473.7 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001657/0.1251, allocations: 1.156 MB / 474.9 MB, free: 9.02 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006563/0.1258, allocations: 318.4 kB / 475.2 MB, free: 8.699 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002364/0.1261, allocations: 154.1 kB / 475.3 MB, free: 8.547 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.768e-05/0.1261, allocations: 11.92 kB / 475.3 MB, free: 8.535 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.185e-05/0.1262, allocations: 42.56 kB / 475.4 MB, free: 8.484 MB / 350.1 MB Notification: Performance of pre-optimization done (n=25): time 1.793e-06/0.1262, allocations: 0 / 475.4 MB, free: 8.484 MB / 350.1 MB Notification: Performance of matching and sorting (n=25): time 0.003884/0.1301, allocations: 1.061 MB / 476.4 MB, free: 7.395 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.763e-05/0.1302, allocations: 114.8 kB / 476.6 MB, free: 7.258 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002627/0.1304, allocations: 214.8 kB / 476.8 MB, free: 7.031 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.277e-05/0.1305, allocations: 29.7 kB / 476.8 MB, free: 6.996 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.983e-05/0.1306, allocations: 136.7 kB / 476.9 MB, free: 6.859 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.292e-05/0.1307, allocations: 86.75 kB / 477 MB, free: 6.773 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001259/0.1308, allocations: 73.67 kB / 477.1 MB, free: 6.695 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000112/0.1309, allocations: 334.8 kB / 477.4 MB, free: 6.359 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002561/0.1312, allocations: 172.2 kB / 477.6 MB, free: 6.191 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002936/0.1315, allocations: 214.4 kB / 477.8 MB, free: 5.973 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005494/0.1321, allocations: 381.5 kB / 478.2 MB, free: 5.598 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.1321, allocations: 0 / 478.2 MB, free: 5.598 MB / 350.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.002142/0.1342, allocations: 0.7513 MB / 478.9 MB, free: 4.836 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.96e-05/0.1342, allocations: 4 kB / 478.9 MB, free: 4.832 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.667e-06/0.1343, allocations: 0 / 478.9 MB, free: 4.832 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002103/0.1364, allocations: 420.4 kB / 479.3 MB, free: 4.418 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002603/0.1366, allocations: 63.83 kB / 479.4 MB, free: 4.355 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004481/0.1411, allocations: 2.733 MB / 482.1 MB, free: 1.488 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003297/0.1415, allocations: 31.69 kB / 482.2 MB, free: 1.457 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.579e-05/0.1415, allocations: 15.98 kB / 482.2 MB, free: 1.441 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 (33): * Single equations (assignments): 32 * 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 {(4,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0002017/0.1417, allocations: 149.8 kB / 482.3 MB, free: 1.285 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.584e-05/0.1418, allocations: 19.81 kB / 482.3 MB, free: 1.266 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002042/0.1439, allocations: 0.691 MB / 483 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.232e-06/0.1439, allocations: 8 kB / 483 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.044e-06/0.1439, allocations: 4 kB / 483 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.562e-06/0.1439, allocations: 3.984 kB / 483 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003971/0.1443, allocations: 393.1 kB / 483.4 MB, free: 116 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.1443, allocations: 4 kB / 483.4 MB, free: 112 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001583/0.1445, allocations: 39.91 kB / 483.5 MB, free: 72 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001952/0.1464, allocations: 420.4 kB / 483.9 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.426e-05/0.1465, allocations: 4 kB / 483.9 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004092/0.1506, allocations: 2.692 MB / 486.6 MB, free: 12.82 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.1506, allocations: 4 kB / 486.6 MB, free: 12.82 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002051/0.1527, allocations: 0.7346 MB / 487.3 MB, free: 12.06 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.486e-05/0.1527, allocations: 104.8 kB / 487.4 MB, free: 11.94 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.654e-05/0.1528, allocations: 8 kB / 487.4 MB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002626/0.1531, allocations: 24.02 kB / 487.4 MB, free: 11.91 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.367e-05/0.1531, allocations: 27.95 kB / 487.5 MB, free: 11.88 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.42e-05/0.1532, allocations: 11.94 kB / 487.5 MB, free: 11.87 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001644/0.1533, allocations: 152.4 kB / 487.6 MB, free: 11.72 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1533, allocations: 0 / 487.6 MB, free: 11.72 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005214/0.1539, allocations: 115.9 kB / 487.7 MB, free: 11.61 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 {(4,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002189/0.1541, allocations: 123.3 kB / 487.9 MB, free: 11.48 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001516/0.1556, allocations: 0.6159 MB / 488.5 MB, free: 10.85 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.58e-06/0.1556, allocations: 0 / 488.5 MB, free: 10.85 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009464/0.1566, allocations: 426.3 kB / 488.9 MB, free: 10.42 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003351/0.1569, allocations: 27.89 kB / 488.9 MB, free: 10.39 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008704/0.1578, allocations: 0.5042 MB / 489.4 MB, free: 9.871 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000338/0.1582, allocations: 0.7407 MB / 490.2 MB, free: 9.105 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001168/0.1583, allocations: 37.91 kB / 490.2 MB, free: 9.066 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.458e-05/0.1584, allocations: 19.44 kB / 490.2 MB, free: 9.047 MB / 366.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1584, allocations: 0 / 490.2 MB, free: 9.047 MB / 366.1 MB Notification: Performance of Templates: time 0.01114/0.1695, allocations: 7.161 MB / 497.4 MB, free: 1.902 MB / 366.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad.makefile (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad.pipe 2>&1)