Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.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.OneSourceOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad") translateModel(PowerSysPro.Examples.OneSourceOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0019/0.0019, 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.581/1.581, allocations: 222.9 MB / 240.3 MB, free: 11.01 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.001006/0.001006, allocations: 113.6 kB / 290.6 MB, free: 10.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.04927/0.04927, allocations: 8.09 MB / 348.8 MB, free: 0.707 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001002/0.001002, allocations: 54.45 kB / 411.1 MB, free: 57.6 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09886/0.09987, allocations: 51.52 MB / 462.6 MB, free: 6.078 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLoad): time 0.002879/0.1028, allocations: 0.918 MB / 463.5 MB, free: 5.16 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002431/0.1053, allocations: 1.291 MB / 464.8 MB, free: 3.855 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001945/0.1055, allocations: 4 kB / 464.8 MB, free: 3.852 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005008/0.1061, allocations: 55.77 kB / 464.9 MB, free: 3.797 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002889/0.1064, allocations: 31.83 kB / 464.9 MB, free: 3.766 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008822/0.1073, allocations: 338.8 kB / 465.2 MB, free: 3.434 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001301/0.1075, allocations: 71.61 kB / 465.3 MB, free: 3.363 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001311/0.1076, allocations: 19.98 kB / 465.3 MB, free: 3.344 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.538e-05/0.1077, allocations: 31.86 kB / 465.4 MB, free: 3.312 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000156/0.1078, allocations: 51.77 kB / 465.4 MB, free: 3.262 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.962e-05/0.1079, allocations: 4 kB / 465.4 MB, free: 3.258 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002663/0.1081, allocations: 91.89 kB / 465.5 MB, free: 3.168 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.193e-05/0.1082, allocations: 15.97 kB / 465.5 MB, free: 3.152 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.849e-05/0.1082, allocations: 31.81 kB / 465.6 MB, free: 3.121 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00031/0.1085, allocations: 147.9 kB / 465.7 MB, free: 2.977 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.344e-06/0.1085, allocations: 0 / 465.7 MB, free: 2.977 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.916e-06/0.1086, allocations: 0 / 465.7 MB, free: 2.977 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.609e-06/0.1086, allocations: 0 / 465.7 MB, free: 2.977 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.001183/0.1098, allocations: 453.9 kB / 466.1 MB, free: 2.484 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.915e-05/0.1098, allocations: 8.031 kB / 466.1 MB, free: 2.477 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.816e-05/0.1099, allocations: 8.844 kB / 466.2 MB, free: 2.469 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002331/0.1102, allocations: 188.2 kB / 466.3 MB, free: 2.246 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.207e-05/0.1102, allocations: 384 / 466.3 MB, free: 2.246 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.823e-05/0.1102, allocations: 8.375 kB / 466.4 MB, free: 2.238 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002036/0.1104, allocations: 97.47 kB / 466.4 MB, free: 2.141 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.1104, allocations: 192 / 466.4 MB, free: 2.141 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.376e-05/0.1105, allocations: 7.938 kB / 466.5 MB, free: 2.133 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.1105, allocations: 0 / 466.5 MB, free: 2.133 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000103/0.1106, allocations: 75.91 kB / 466.5 MB, free: 2.059 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005458/0.1111, allocations: 376.7 kB / 466.9 MB, free: 1.641 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002992/0.1114, allocations: 114.7 kB / 467 MB, free: 1.52 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.932e-05/0.1115, allocations: 32.84 kB / 467 MB, free: 1.484 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.38e-05/0.1116, allocations: 8.094 kB / 467 MB, free: 1.477 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.607e-05/0.1116, allocations: 34.56 kB / 467.1 MB, free: 1.434 MB / 298.7 MB Notification: Performance of pre-optimization done (n=7): time 1.203e-06/0.1116, allocations: 0 / 467.1 MB, free: 1.434 MB / 298.7 MB Notification: Performance of matching and sorting (n=7): time 0.0005668/0.1122, allocations: 239.4 kB / 467.3 MB, free: 1.172 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.387e-05/0.1122, allocations: 55.41 kB / 467.4 MB, free: 1.105 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001316/0.1123, allocations: 149.9 kB / 467.5 MB, free: 0.9453 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.188e-05/0.1124, allocations: 25.7 kB / 467.5 MB, free: 0.9141 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.659e-05/0.1124, allocations: 103.9 kB / 467.6 MB, free: 0.8086 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.454e-05/0.1124, allocations: 23.64 kB / 467.7 MB, free: 0.7852 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.2e-05/0.1125, allocations: 25.72 kB / 467.7 MB, free: 0.7539 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.005e-05/0.1125, allocations: 318.8 kB / 468 MB, free: 444 kB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.867e-05/0.1126, allocations: 31.98 kB / 468 MB, free: 412 kB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.18e-05/0.1126, allocations: 35.98 kB / 468.1 MB, free: 376 kB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.426e-05/0.1127, allocations: 68.86 kB / 468.1 MB, free: 304 kB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.1127, allocations: 0 / 468.1 MB, free: 304 kB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002459/0.113, allocations: 142.4 kB / 468.3 MB, free: 152 kB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.019e-05/0.113, allocations: 7.984 kB / 468.3 MB, free: 144 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.113, allocations: 7.875 kB / 468.3 MB, free: 136 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002548/0.1133, allocations: 40.78 kB / 468.3 MB, free: 92 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.516e-05/0.1134, allocations: 19.98 kB / 468.3 MB, free: 72 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001253/0.1146, allocations: 1.335 MB / 469.7 MB, free: 14.6 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.92e-05/0.1147, allocations: 11.97 kB / 469.7 MB, free: 14.59 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.094e-05/0.1148, allocations: 4 kB / 469.7 MB, free: 14.58 MB / 314.7 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 (9): * Single equations (assignments): 8 * 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.0001009/0.1149, allocations: 122.4 kB / 469.8 MB, free: 14.45 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.151e-05/0.1149, allocations: 4.188 kB / 469.8 MB, free: 14.45 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002812/0.1152, allocations: 130.8 kB / 470 MB, free: 14.32 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.1152, allocations: 8.094 kB / 470 MB, free: 14.31 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.736e-06/0.1152, allocations: 3.938 kB / 470 MB, free: 14.3 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.1152, allocations: 0 / 470 MB, free: 14.3 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002025/0.1154, allocations: 209.5 kB / 470.2 MB, free: 14.05 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.1154, allocations: 3.984 kB / 470.2 MB, free: 14.05 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.998e-05/0.1155, allocations: 8 kB / 470.2 MB, free: 14.04 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001577/0.1156, allocations: 32.83 kB / 470.2 MB, free: 14 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.208e-05/0.1157, allocations: 4 kB / 470.2 MB, free: 14 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001014/0.1167, allocations: 1.332 MB / 471.5 MB, free: 12.53 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.1167, allocations: 8.094 kB / 471.6 MB, free: 12.52 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004926/0.1172, allocations: 0.7834 MB / 472.3 MB, free: 11.68 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.718e-05/0.1173, allocations: 92.94 kB / 472.4 MB, free: 11.57 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.186e-05/0.1173, allocations: 0 / 472.4 MB, free: 11.57 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000122/0.1174, allocations: 11.98 kB / 472.4 MB, free: 11.55 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.642e-05/0.1175, allocations: 8 kB / 472.4 MB, free: 11.55 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.745e-06/0.1175, allocations: 4 kB / 472.5 MB, free: 11.54 MB / 314.7 MB Notification: Performance of sorting global known variables: time 9.176e-05/0.1176, allocations: 115.2 kB / 472.6 MB, free: 11.43 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.462e-06/0.1176, allocations: 0 / 472.6 MB, free: 11.43 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000369/0.1179, allocations: 31.94 kB / 472.6 MB, free: 11.4 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 (6): * Single equations (assignments): 5 * 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.0001677/0.1181, allocations: 99.25 kB / 472.7 MB, free: 11.29 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003676/0.1185, allocations: 194.7 kB / 472.9 MB, free: 11.09 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.1185, allocations: 0 / 472.9 MB, free: 11.09 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001833/0.1187, allocations: 154.6 kB / 473 MB, free: 10.93 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003488/0.1191, allocations: 15.94 kB / 473 MB, free: 10.91 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000454/0.1195, allocations: 371 kB / 473.4 MB, free: 10.51 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002541/0.1198, allocations: 0.7004 MB / 474.1 MB, free: 9.781 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.189e-05/0.1198, allocations: 8.656 kB / 474.1 MB, free: 9.773 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.23e-05/0.1199, allocations: 11.44 kB / 474.1 MB, free: 9.762 MB / 314.7 MB Notification: Performance of SimCode: time 2.11e-07/0.1199, allocations: 0 / 474.1 MB, free: 9.762 MB / 314.7 MB Notification: Performance of Templates: time 0.003773/0.1237, allocations: 1.501 MB / 475.6 MB, free: 8.273 MB / 314.7 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.makefile (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.pipe 2>&1)