Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad.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.OneSourceOneTransfoOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad") translateModel(PowerSysPro.Examples.OneSourceOneTransfoOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001505/0.001505, allocations: 108.3 kB / 16.45 MB, free: 6.434 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.001726/0.001727, allocations: 187 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.05255/0.05255, allocations: 8.106 MB / 299.3 MB, free: 6.602 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001194/0.001194, allocations: 59.91 kB / 414.5 MB, free: 21.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1119/0.1131, allocations: 51.52 MB / 466 MB, free: 2.145 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOneLoad): time 0.003449/0.1166, allocations: 1.251 MB / 467.2 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001887/0.1185, allocations: 1.489 MB / 468.7 MB, free: 15.39 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.619e-05/0.1186, allocations: 0 / 468.7 MB, free: 15.39 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003549/0.1189, allocations: 111.5 kB / 468.8 MB, free: 15.28 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003074/0.1193, allocations: 107.4 kB / 468.9 MB, free: 15.18 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001717/0.121, allocations: 1.011 MB / 470 MB, free: 14.16 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000326/0.1213, allocations: 155.2 kB / 470.1 MB, free: 14.01 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001951/0.1215, allocations: 61.5 kB / 470.2 MB, free: 13.95 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.995e-05/0.1216, allocations: 71.7 kB / 470.2 MB, free: 13.88 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000177/0.1218, allocations: 83.62 kB / 470.3 MB, free: 13.8 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.159e-05/0.1219, allocations: 12 kB / 470.3 MB, free: 13.79 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004113/0.1223, allocations: 219.8 kB / 470.5 MB, free: 13.57 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.126e-05/0.1224, allocations: 39.83 kB / 470.6 MB, free: 13.53 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.844e-05/0.1225, allocations: 75.59 kB / 470.7 MB, free: 13.46 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000512/0.123, allocations: 335.1 kB / 471 MB, free: 13.13 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.199e-06/0.123, allocations: 7.938 kB / 471 MB, free: 13.12 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.045e-06/0.123, allocations: 0 / 471 MB, free: 13.12 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.212e-05/0.123, allocations: 3.938 kB / 471 MB, free: 13.12 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.002184/0.1252, allocations: 0.7214 MB / 471.7 MB, free: 12.34 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.692e-05/0.1253, allocations: 12.03 kB / 471.7 MB, free: 12.33 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.124e-05/0.1253, allocations: 24.73 kB / 471.8 MB, free: 12.3 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002477/0.1256, allocations: 220 kB / 472 MB, free: 12.05 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.474e-05/0.1256, allocations: 12.61 kB / 472 MB, free: 12.04 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.1e-05/0.1256, allocations: 12.38 kB / 472 MB, free: 12.03 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002999/0.1259, allocations: 201.9 kB / 472.2 MB, free: 11.82 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.126, allocations: 192 / 472.2 MB, free: 11.82 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.438e-05/0.126, allocations: 11.94 kB / 472.2 MB, free: 11.81 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.807e-06/0.126, allocations: 0 / 472.2 MB, free: 11.81 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002309/0.1262, allocations: 164.6 kB / 472.4 MB, free: 11.65 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001049/0.1273, allocations: 0.7184 MB / 473.1 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004529/0.1278, allocations: 198.5 kB / 473.3 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001306/0.1279, allocations: 100.8 kB / 473.4 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.581e-05/0.128, allocations: 0 / 473.4 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.767e-05/0.128, allocations: 38.5 kB / 473.4 MB, free: 10.5 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.302e-06/0.128, allocations: 0 / 473.4 MB, free: 10.5 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.001871/0.1299, allocations: 0.6002 MB / 474 MB, free: 9.879 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.921e-05/0.1299, allocations: 81.11 kB / 474.1 MB, free: 9.781 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001654/0.1301, allocations: 174.6 kB / 474.3 MB, free: 9.598 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.342e-05/0.1301, allocations: 29.7 kB / 474.3 MB, free: 9.562 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.813e-05/0.1302, allocations: 120.3 kB / 474.4 MB, free: 9.441 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.841e-05/0.1303, allocations: 51.2 kB / 474.5 MB, free: 9.391 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.88e-05/0.1304, allocations: 49.69 kB / 474.5 MB, free: 9.336 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001046/0.1305, allocations: 330.8 kB / 474.8 MB, free: 9.004 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001507/0.1306, allocations: 99.97 kB / 474.9 MB, free: 8.906 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001676/0.1308, allocations: 134.4 kB / 475.1 MB, free: 8.77 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003526/0.1312, allocations: 232.8 kB / 475.3 MB, free: 8.539 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.1312, allocations: 0 / 475.3 MB, free: 8.539 MB / 350.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.001032/0.1322, allocations: 418 kB / 475.7 MB, free: 8.121 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.1322, allocations: 12.03 kB / 475.7 MB, free: 8.109 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.1322, allocations: 0 / 475.7 MB, free: 8.109 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001029/0.1333, allocations: 200.6 kB / 475.9 MB, free: 7.91 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000172/0.1335, allocations: 43.91 kB / 475.9 MB, free: 7.867 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002692/0.1362, allocations: 1.972 MB / 477.9 MB, free: 5.746 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001658/0.1363, allocations: 23.75 kB / 477.9 MB, free: 5.723 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.195e-05/0.1364, allocations: 7.984 kB / 477.9 MB, free: 5.715 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 (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 {(3,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001133/0.1365, allocations: 133.8 kB / 478.1 MB, free: 5.574 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.469e-05/0.1365, allocations: 11.91 kB / 478.1 MB, free: 5.562 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001038/0.1376, allocations: 395.3 kB / 478.5 MB, free: 5.168 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.1376, allocations: 0 / 478.5 MB, free: 5.168 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.1376, allocations: 3.938 kB / 478.5 MB, free: 5.164 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.1376, allocations: 4 kB / 478.5 MB, free: 5.16 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002923/0.1379, allocations: 305.3 kB / 478.8 MB, free: 4.812 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.1379, allocations: 4 kB / 478.8 MB, free: 4.809 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000112/0.138, allocations: 23.94 kB / 478.8 MB, free: 4.785 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009079/0.139, allocations: 196.6 kB / 479 MB, free: 4.59 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2e-05/0.139, allocations: 8 kB / 479 MB, free: 4.582 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002255/0.1412, allocations: 1.953 MB / 481 MB, free: 2.492 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.1413, allocations: 0 / 481 MB, free: 2.492 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009569/0.1422, allocations: 451.8 kB / 481.4 MB, free: 2.031 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.702e-05/0.1423, allocations: 92.86 kB / 481.5 MB, free: 1.922 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.76e-05/0.1423, allocations: 11.94 kB / 481.5 MB, free: 1.91 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001757/0.1425, allocations: 15.98 kB / 481.5 MB, free: 1.895 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.874e-05/0.1425, allocations: 11.98 kB / 481.5 MB, free: 1.883 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.647e-05/0.1426, allocations: 8 kB / 481.5 MB, free: 1.875 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001141/0.1427, allocations: 136.2 kB / 481.7 MB, free: 1.742 MB / 350.1 MB Notification: Performance of sort global known variables: time 4.21e-07/0.1427, allocations: 0 / 481.7 MB, free: 1.742 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003477/0.1431, allocations: 64 kB / 481.7 MB, free: 1.68 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 (15): * Single equations (assignments): 14 * 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 {(3,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001838/0.1432, allocations: 115.2 kB / 481.8 MB, free: 1.555 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000876/0.1441, allocations: 415.1 kB / 482.3 MB, free: 1.137 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.1441, allocations: 0 / 482.3 MB, free: 1.137 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005614/0.1447, allocations: 282.5 kB / 482.5 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002957/0.145, allocations: 22.33 kB / 482.5 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006244/0.1457, allocations: 376.2 kB / 482.9 MB, free: 444 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002953/0.146, allocations: 0.7242 MB / 483.6 MB, free: 15.68 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.52e-05/0.146, allocations: 17.5 kB / 483.7 MB, free: 15.67 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.783e-05/0.1461, allocations: 31.36 kB / 483.7 MB, free: 15.64 MB / 366.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1461, allocations: 0 / 483.7 MB, free: 15.64 MB / 366.1 MB Notification: Performance of Templates: time 0.007397/0.1535, allocations: 4.207 MB / 487.9 MB, free: 11.44 MB / 366.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad.makefile (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad.pipe 2>&1)