Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo.conf.json 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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) Running command: translateModel(PowerSysPro.Examples.OneSourceOneTransfo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo") translateModel(PowerSysPro.Examples.OneSourceOneTransfo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001176/0.001176, allocations: 186.9 kB / 16.68 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.391/1.391, allocations: 222.9 MB / 240.3 MB, free: 11.02 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001047/0.001047, allocations: 117.7 kB / 290.6 MB, free: 10.94 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.05499/0.05499, allocations: 8.095 MB / 348.8 MB, free: 0.6992 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001014/0.001014, allocations: 59.88 kB / 411.1 MB, free: 57.6 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1032/0.1042, allocations: 51.52 MB / 462.6 MB, free: 6.078 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfo): time 0.002181/0.1064, allocations: 1.12 MB / 463.7 MB, free: 4.957 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001513/0.108, allocations: 1.454 MB / 465.2 MB, free: 3.488 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.045e-05/0.108, allocations: 4 kB / 465.2 MB, free: 3.484 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002938/0.1083, allocations: 91.66 kB / 465.3 MB, free: 3.395 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001863/0.1085, allocations: 67.67 kB / 465.3 MB, free: 3.328 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001184/0.1097, allocations: 0.8602 MB / 466.2 MB, free: 2.465 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002104/0.1099, allocations: 107.5 kB / 466.3 MB, free: 2.359 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001395/0.1101, allocations: 24.97 kB / 466.3 MB, free: 2.332 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.565e-05/0.1102, allocations: 39.86 kB / 466.4 MB, free: 2.293 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.422e-05/0.1102, allocations: 55.75 kB / 466.4 MB, free: 2.238 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.447e-05/0.1103, allocations: 8 kB / 466.4 MB, free: 2.23 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003948/0.1107, allocations: 207.8 kB / 466.6 MB, free: 2.027 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.017e-05/0.1107, allocations: 19.91 kB / 466.7 MB, free: 2.008 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.859e-05/0.1108, allocations: 47.75 kB / 466.7 MB, free: 1.961 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003515/0.1111, allocations: 279.5 kB / 467 MB, free: 1.688 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.1112, allocations: 0 / 467 MB, free: 1.688 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.1112, allocations: 0 / 467 MB, free: 1.688 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.508e-06/0.1112, allocations: 4 kB / 467 MB, free: 1.684 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.001765/0.1129, allocations: 0.6464 MB / 467.6 MB, free: 0.9883 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.482e-05/0.113, allocations: 8.031 kB / 467.6 MB, free: 0.9805 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.341e-05/0.1131, allocations: 16.75 kB / 467.7 MB, free: 0.9648 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001831/0.1132, allocations: 208.1 kB / 467.9 MB, free: 0.7227 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.416e-05/0.1133, allocations: 8.375 kB / 467.9 MB, free: 0.7148 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.459e-05/0.1133, allocations: 12.38 kB / 467.9 MB, free: 0.7031 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002665/0.1136, allocations: 159.8 kB / 468 MB, free: 0.5352 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.1136, allocations: 8.188 kB / 468 MB, free: 0.5273 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.687e-05/0.1136, allocations: 7.938 kB / 468 MB, free: 0.5195 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.1136, allocations: 3.938 kB / 468 MB, free: 0.5156 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001694/0.1138, allocations: 116 kB / 468.2 MB, free: 412 kB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007121/0.1145, allocations: 488.4 kB / 468.6 MB, free: 15.88 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006508/0.1152, allocations: 178.6 kB / 468.8 MB, free: 15.69 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.062e-05/0.1153, allocations: 52.84 kB / 468.9 MB, free: 15.64 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004935/0.1158, allocations: 462.1 kB / 469.3 MB, free: 15.14 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.538e-05/0.1158, allocations: 30.56 kB / 469.3 MB, free: 15.1 MB / 314.7 MB Notification: Performance of pre-optimization done (n=10): time 1.913e-06/0.1158, allocations: 0 / 469.3 MB, free: 15.1 MB / 314.7 MB Notification: Performance of matching and sorting (n=10): time 0.0008285/0.1167, allocations: 303.3 kB / 469.6 MB, free: 14.78 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.979e-05/0.1167, allocations: 77.11 kB / 469.7 MB, free: 14.68 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001445/0.1169, allocations: 156.7 kB / 469.9 MB, free: 14.52 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.762e-05/0.1169, allocations: 30.03 kB / 469.9 MB, free: 14.48 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.157e-05/0.117, allocations: 111.8 kB / 470 MB, free: 14.37 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.386e-05/0.117, allocations: 43.39 kB / 470.1 MB, free: 14.32 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.246e-05/0.1171, allocations: 49.64 kB / 470.1 MB, free: 14.27 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001328/0.1173, allocations: 322.8 kB / 470.4 MB, free: 13.95 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001124/0.1174, allocations: 63.97 kB / 470.5 MB, free: 13.88 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001375/0.1175, allocations: 113.9 kB / 470.6 MB, free: 13.75 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002186/0.1178, allocations: 172.1 kB / 470.8 MB, free: 13.57 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.1178, allocations: 0 / 470.8 MB, free: 13.57 MB / 314.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005314/0.1183, allocations: 258.3 kB / 471 MB, free: 13.3 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.005e-05/0.1183, allocations: 7.984 kB / 471 MB, free: 13.3 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.738e-06/0.1184, allocations: 4 kB / 471 MB, free: 13.29 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004369/0.1188, allocations: 68.75 kB / 471.1 MB, free: 13.22 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001528/0.119, allocations: 39.91 kB / 471.1 MB, free: 13.18 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001494/0.1205, allocations: 1.374 MB / 472.5 MB, free: 11.67 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001482/0.1206, allocations: 19.78 kB / 472.5 MB, free: 11.65 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.192e-05/0.1207, allocations: 15.98 kB / 472.5 MB, free: 11.64 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (21): * Single equations (assignments): 20 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001303/0.1208, allocations: 131.7 kB / 472.7 MB, free: 11.5 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.057e-05/0.1208, allocations: 11.84 kB / 472.7 MB, free: 11.49 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005016/0.1214, allocations: 195.2 kB / 472.9 MB, free: 11.29 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.504e-06/0.1214, allocations: 3.938 kB / 472.9 MB, free: 11.29 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.084e-06/0.1214, allocations: 384 / 472.9 MB, free: 11.29 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.1214, allocations: 0 / 472.9 MB, free: 11.29 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002502/0.1217, allocations: 237.4 kB / 473.1 MB, free: 11 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.1217, allocations: 0 / 473.1 MB, free: 11 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.732e-05/0.1217, allocations: 23.86 kB / 473.1 MB, free: 10.98 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003339/0.1221, allocations: 68.8 kB / 473.2 MB, free: 10.91 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.297e-05/0.1221, allocations: 4 kB / 473.2 MB, free: 10.91 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001213/0.1233, allocations: 1.367 MB / 474.6 MB, free: 9.406 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.1233, allocations: 0 / 474.6 MB, free: 9.406 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000756/0.1241, allocations: 0.8731 MB / 475.4 MB, free: 8.473 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.986e-05/0.1242, allocations: 92.94 kB / 475.5 MB, free: 8.363 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.702e-05/0.1242, allocations: 0 / 475.5 MB, free: 8.363 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001209/0.1243, allocations: 15.94 kB / 475.5 MB, free: 8.348 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.988e-05/0.1244, allocations: 11.98 kB / 475.6 MB, free: 8.336 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.166e-06/0.1244, allocations: 4 kB / 475.6 MB, free: 8.332 MB / 314.7 MB Notification: Performance of sorting global known variables: time 9.616e-05/0.1245, allocations: 122.1 kB / 475.7 MB, free: 8.215 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1245, allocations: 4 kB / 475.7 MB, free: 8.211 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004032/0.1249, allocations: 36 kB / 475.7 MB, free: 8.176 MB / 314.7 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 (10): * Single equations (assignments): 9 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002173/0.1251, allocations: 115.2 kB / 475.8 MB, free: 8.055 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005687/0.1257, allocations: 276.9 kB / 476.1 MB, free: 7.773 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.1257, allocations: 0 / 476.1 MB, free: 7.773 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003054/0.126, allocations: 174.7 kB / 476.3 MB, free: 7.59 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001973/0.1262, allocations: 24.19 kB / 476.3 MB, free: 7.566 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006097/0.1268, allocations: 439.9 kB / 476.7 MB, free: 7.098 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003275/0.1272, allocations: 0.7009 MB / 477.4 MB, free: 6.367 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 6.793e-05/0.1273, allocations: 12.88 kB / 477.4 MB, free: 6.355 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.345e-05/0.1273, allocations: 15.44 kB / 477.5 MB, free: 6.34 MB / 314.7 MB Notification: Performance of SimCode: time 2.2e-07/0.1273, allocations: 0 / 477.5 MB, free: 6.34 MB / 314.7 MB Notification: Performance of Templates: time 0.004553/0.1319, allocations: 1.882 MB / 479.3 MB, free: 4.465 MB / 314.7 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo.makefile (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo.pipe 2>&1)