Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.VariableLoad.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.VariableLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.VariableLoad") translateModel(PowerSysPro.Examples.VariableLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.VariableLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001082/0.001082, allocations: 96.83 kB / 15.73 MB, free: 440 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001889/0.001888, allocations: 175.1 kB / 16.61 MB, free: 6.891 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.533/1.533, allocations: 223.2 MB / 240.6 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.2098/0.2098, allocations: 8.088 MB / 299.7 MB, free: 2.895 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003627/0.0003628, allocations: 12 kB / 362.8 MB, free: 13.31 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1492/0.1496, allocations: 52.51 MB / 415.3 MB, free: 8.754 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.VariableLoad): time 0.002704/0.1523, allocations: 1.904 MB / 417.2 MB, free: 6.848 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003126/0.1555, allocations: 2.4 MB / 419.6 MB, free: 4.426 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001623/0.1557, allocations: 8 kB / 419.6 MB, free: 4.418 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004507/0.1561, allocations: 127.3 kB / 419.7 MB, free: 4.293 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005937/0.1567, allocations: 267.2 kB / 420 MB, free: 4.031 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00179/0.1585, allocations: 1.039 MB / 421 MB, free: 2.992 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004955/0.159, allocations: 283.4 kB / 421.3 MB, free: 2.715 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001988/0.1592, allocations: 94.27 kB / 421.4 MB, free: 2.621 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001641/0.1594, allocations: 143.5 kB / 421.5 MB, free: 2.48 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002493/0.1597, allocations: 171.3 kB / 421.7 MB, free: 2.312 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.918e-05/0.1597, allocations: 16 kB / 421.7 MB, free: 2.297 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004967/0.1602, allocations: 279.6 kB / 422 MB, free: 2.023 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.427e-05/0.1603, allocations: 67.73 kB / 422 MB, free: 1.957 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.289e-05/0.1604, allocations: 85.52 kB / 422.1 MB, free: 1.867 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005015/0.1609, allocations: 442.9 kB / 422.5 MB, free: 1.434 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.1609, allocations: 0 / 422.5 MB, free: 1.434 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.52e-07/0.1609, allocations: 0 / 422.5 MB, free: 1.434 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.067e-06/0.1609, allocations: 0 / 422.5 MB, free: 1.434 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.003976/0.1649, allocations: 1.177 MB / 423.7 MB, free: 212 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/0.165, allocations: 8.031 kB / 423.7 MB, free: 204 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001145/0.1651, allocations: 47.48 kB / 423.8 MB, free: 156 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2492/0.4143, allocations: 317.7 kB / 424.1 MB, free: 40.96 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.783e-05/0.4144, allocations: 50.2 kB / 424.1 MB, free: 40.93 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.024e-05/0.4145, allocations: 28.53 kB / 424.2 MB, free: 40.93 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007363/0.4152, allocations: 437.4 kB / 424.6 MB, free: 40.87 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/0.4153, allocations: 1.938 kB / 424.6 MB, free: 40.87 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.913e-05/0.4153, allocations: 13.06 kB / 424.6 MB, free: 40.87 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.072e-05/0.4153, allocations: 8.047 kB / 424.6 MB, free: 40.87 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005509/0.4159, allocations: 387.3 kB / 425 MB, free: 40.86 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0022/0.4181, allocations: 1.758 MB / 426.7 MB, free: 39.96 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007948/0.4189, allocations: 0.4997 MB / 427.2 MB, free: 39.93 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.65e-05/0.419, allocations: 15.09 kB / 427.3 MB, free: 39.93 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005033/0.4195, allocations: 317.6 kB / 427.6 MB, free: 39.88 MB / 350.1 MB Notification: Performance of pre-optimization done (n=43): time 1.913e-06/0.4195, allocations: 0 / 427.6 MB, free: 39.88 MB / 350.1 MB Notification: Performance of matching and sorting (n=43): time 0.004058/0.4236, allocations: 1.341 MB / 428.9 MB, free: 39.71 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.202e-05/0.4237, allocations: 109.2 kB / 429 MB, free: 39.59 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004144/0.4241, allocations: 281.8 kB / 429.3 MB, free: 39.47 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.819e-05/0.4242, allocations: 39.45 kB / 429.3 MB, free: 39.44 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001521/0.4243, allocations: 167.8 kB / 429.5 MB, free: 39.33 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001448/0.4245, allocations: 150.1 kB / 429.6 MB, free: 39.24 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.251e-05/0.4245, allocations: 6.625 kB / 429.7 MB, free: 39.24 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001569/0.4247, allocations: 348.2 kB / 430 MB, free: 38.92 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005009/0.4252, allocations: 255.2 kB / 430.2 MB, free: 38.92 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006471/0.4259, allocations: 307.1 kB / 430.5 MB, free: 38.89 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00044/0.4263, allocations: 282.5 kB / 430.8 MB, free: 38.89 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.4263, allocations: 4.031 kB / 430.8 MB, free: 38.89 MB / 350.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.002145/0.4285, allocations: 0.8967 MB / 431.7 MB, free: 38.81 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.905e-05/0.4285, allocations: 10.41 kB / 431.7 MB, free: 38.81 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.188e-05/0.4285, allocations: 0.6094 kB / 431.7 MB, free: 38.81 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002768/0.4313, allocations: 0.6094 MB / 432.3 MB, free: 38.77 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002876/0.4316, allocations: 73.94 kB / 432.4 MB, free: 38.77 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001313/0.4329, allocations: 1.07 MB / 433.5 MB, free: 37.98 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003448/0.4333, allocations: 52.61 kB / 433.5 MB, free: 37.94 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.087e-05/0.4333, allocations: 19.72 kB / 433.5 MB, free: 37.94 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: 3 ($whenCondition1,$PRE.varLoad.degradedMode,varLoad.degradedMode) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {7 9} Notification: Performance of prepare postOptimizeDAE: time 0.0001916/0.4335, allocations: 160.6 kB / 433.7 MB, free: 37.79 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.575e-05/0.4336, allocations: 35.5 kB / 433.7 MB, free: 37.77 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001179/0.4348, allocations: 0.7815 MB / 434.5 MB, free: 37.38 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.554e-06/0.4348, allocations: 6.938 kB / 434.5 MB, free: 37.38 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.4348, allocations: 0 / 434.5 MB, free: 37.38 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.057e-06/0.4348, allocations: 3.469 kB / 434.5 MB, free: 37.38 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004853/0.4353, allocations: 0.5604 MB / 435.1 MB, free: 37.02 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.898e-06/0.4353, allocations: 0.625 kB / 435.1 MB, free: 37.02 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000186/0.4355, allocations: 56.17 kB / 435.1 MB, free: 37.01 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002299/0.4378, allocations: 0.5943 MB / 435.7 MB, free: 36.89 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.714e-05/0.4379, allocations: 10.08 kB / 435.8 MB, free: 36.89 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001316/0.4392, allocations: 1.075 MB / 436.8 MB, free: 36.09 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.4392, allocations: 3.516 kB / 436.8 MB, free: 36.09 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009753/0.4402, allocations: 0.7299 MB / 437.6 MB, free: 35.7 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.302e-05/0.4403, allocations: 124.9 kB / 437.7 MB, free: 35.57 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.375e-05/0.4404, allocations: 10.95 kB / 437.7 MB, free: 35.57 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002936/0.4407, allocations: 23.91 kB / 437.7 MB, free: 35.56 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.555e-05/0.4408, allocations: 30.62 kB / 437.7 MB, free: 35.55 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.598e-05/0.4408, allocations: 16.88 kB / 437.8 MB, free: 35.55 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001955/0.441, allocations: 203.1 kB / 438 MB, free: 35.43 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.441, allocations: 0 / 438 MB, free: 35.43 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004521/0.4415, allocations: 140.6 kB / 438.1 MB, free: 35.41 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: 2 ($whenCondition1,varLoad.degradedMode) * Number of discrete states: 1 (varLoad.degradedMode) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {7 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.001314/0.4428, allocations: 429 kB / 438.5 MB, free: 35.25 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001929/0.4447, allocations: 0.7041 MB / 439.2 MB, free: 34.98 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.149e-06/0.4448, allocations: 0 / 439.2 MB, free: 34.98 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001096/0.4459, allocations: 398.5 kB / 439.6 MB, free: 34.84 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003469/0.4462, allocations: 35.72 kB / 439.6 MB, free: 34.82 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001428/0.4477, allocations: 0.8895 MB / 440.5 MB, free: 34.3 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002486/0.4479, allocations: 0.7984 MB / 441.3 MB, free: 33.59 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000182/0.4481, allocations: 56.5 kB / 441.4 MB, free: 33.58 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.672e-05/0.4482, allocations: 36.67 kB / 441.4 MB, free: 33.57 MB / 350.1 MB Notification: Performance of SimCode: time 1.733e-06/0.4482, allocations: 4 kB / 441.4 MB, free: 33.56 MB / 350.1 MB Notification: Performance of Templates: time 0.01146/0.4597, allocations: 7.168 MB / 448.6 MB, free: 33.07 MB / 350.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.VariableLoad.makefile Environment - environmentSimulation: (rm -f PowerSysPro_PowerSysPro.Examples.VariableLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.VariableLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.VariableLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.VariableLoad.sim & ./PowerSysPro_PowerSysPro.Examples.VariableLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.VariableLoad.pipe 2>&1) Environment - environmentSimulation: