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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00109/0.00109, allocations: 85.06 kB / 9.989 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001613/0.002703, allocations: 452 kB / 10.43 MB, free: 264 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001047/0.001047, allocations: 157.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00145/0.002497, allocations: 483.5 kB / 11.8 MB, free: 2.363 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9449/0.9449, allocations: 177.2 MB / 189.7 MB, free: 5.258 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07865/1.024, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo): time 0.03546/0.03546, allocations: 4.463 MB / 248.6 MB, free: 10.3 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.003633/0.03909, allocations: 2.081 MB / 250.7 MB, free: 8.211 MB / 250.7 MB " [Timeout remaining time 180] Using package PowerSysPro with version 2.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(PowerSysPro.Examples.VariableLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.VariableLoad") translateModel(PowerSysPro.Examples.VariableLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.VariableLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.172e-06/1.172e-06, allocations: 0 / 252 MB, free: 6.934 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.729e-05/1.846e-05, allocations: 6.312 kB / 252 MB, free: 6.926 MB / 250.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.VariableLoad): time 0.002478/0.002496, allocations: 2.417 MB / 254.4 MB, free: 4.508 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002622/0.005118, allocations: 2.899 MB / 257.3 MB, free: 1.586 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001113/0.005229, allocations: 8 kB / 257.3 MB, free: 1.578 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003335/0.005563, allocations: 174.8 kB / 257.5 MB, free: 1.406 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005201/0.006083, allocations: 329.9 kB / 257.8 MB, free: 1.082 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001151/0.007234, allocations: 1.202 MB / 259 MB, free: 15.88 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004173/0.007651, allocations: 433.9 kB / 259.4 MB, free: 15.45 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001321/0.007783, allocations: 79.47 kB / 259.5 MB, free: 15.37 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002362/0.008019, allocations: 291.8 kB / 259.8 MB, free: 15.08 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001799/0.008199, allocations: 151.6 kB / 259.9 MB, free: 14.93 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.729e-05/0.008237, allocations: 32 kB / 260 MB, free: 14.9 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005184/0.008755, allocations: 403.3 kB / 260.4 MB, free: 14.51 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.983e-05/0.008825, allocations: 63.75 kB / 260.4 MB, free: 14.45 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.553e-05/0.00891, allocations: 99.75 kB / 260.5 MB, free: 14.35 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005654/0.009476, allocations: 0.5684 MB / 261.1 MB, free: 13.78 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.636e-06/0.009484, allocations: 0 / 261.1 MB, free: 13.78 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.92e-07/0.009485, allocations: 0 / 261.1 MB, free: 13.78 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.877e-06/0.009494, allocations: 0 / 261.1 MB, free: 13.78 MB / 266.7 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.002248/0.01174, allocations: 1.385 MB / 262.5 MB, free: 12.35 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.568e-05/0.01177, allocations: 12.03 kB / 262.5 MB, free: 12.34 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.132e-05/0.01185, allocations: 52.89 kB / 262.5 MB, free: 12.29 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002373/0.01209, allocations: 221.3 kB / 262.7 MB, free: 12.04 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.849e-05/0.01212, allocations: 50.92 kB / 262.8 MB, free: 11.98 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.852e-05/0.01216, allocations: 44.31 kB / 262.8 MB, free: 11.94 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003248/0.01249, allocations: 461 kB / 263.3 MB, free: 11.43 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.0125, allocations: 3.938 kB / 263.3 MB, free: 11.43 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.26e-05/0.01252, allocations: 12 kB / 263.3 MB, free: 11.41 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.044e-06/0.01253, allocations: 8 kB / 263.3 MB, free: 11.41 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001545/0.01268, allocations: 115.4 kB / 263.4 MB, free: 11.29 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009406/0.01362, allocations: 0.6919 MB / 264.1 MB, free: 10.58 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003314/0.01395, allocations: 298 kB / 264.4 MB, free: 10.28 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.043e-05/0.01404, allocations: 76.84 kB / 264.5 MB, free: 10.2 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.595e-05/0.01409, allocations: 23.92 kB / 264.5 MB, free: 10.18 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002309/0.01432, allocations: 310.3 kB / 264.8 MB, free: 9.828 MB / 266.7 MB Notification: Performance of pre-optimization done (n=43): time 1.423e-06/0.01432, allocations: 0 / 264.8 MB, free: 9.828 MB / 266.7 MB Notification: Performance of matching and sorting (n=43): time 0.001467/0.01579, allocations: 0.7191 MB / 265.5 MB, free: 9.098 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.457e-05/0.01581, allocations: 63.41 kB / 265.6 MB, free: 9.023 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001598/0.01597, allocations: 268.6 kB / 265.9 MB, free: 8.746 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.22e-05/0.01601, allocations: 33.7 kB / 265.9 MB, free: 8.707 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.444e-05/0.01607, allocations: 153.5 kB / 266 MB, free: 8.551 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.271e-05/0.01614, allocations: 154.7 kB / 266.2 MB, free: 8.398 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.857e-05/0.01624, allocations: 98.12 kB / 266.3 MB, free: 8.297 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.922e-05/0.01632, allocations: 346.7 kB / 266.6 MB, free: 7.949 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001009/0.01642, allocations: 91.8 kB / 266.7 MB, free: 7.855 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001315/0.01655, allocations: 191.4 kB / 266.9 MB, free: 7.652 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002436/0.0168, allocations: 272.3 kB / 267.2 MB, free: 7.383 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.0168, allocations: 4 kB / 267.2 MB, free: 7.379 MB / 266.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0006443/0.01744, allocations: 476.7 kB / 267.6 MB, free: 6.898 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.16e-05/0.01746, allocations: 4 kB / 267.6 MB, free: 6.895 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.01746, allocations: 4 kB / 267.6 MB, free: 6.891 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001224/0.01868, allocations: 0.5028 MB / 268.1 MB, free: 6.383 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001622/0.01885, allocations: 91.88 kB / 268.2 MB, free: 6.293 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00054/0.01939, allocations: 0.7143 MB / 269 MB, free: 5.555 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001418/0.01953, allocations: 51.53 kB / 269 MB, free: 5.504 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.021e-05/0.01955, allocations: 12 kB / 269 MB, free: 5.492 MB / 266.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: 3 (varLoad.degradedMode,$PRE.varLoad.degradedMode,$whenCondition1) * 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 (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 {(5,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0001019/0.01965, allocations: 140.6 kB / 269.1 MB, free: 5.344 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.3e-05/0.01969, allocations: 31.97 kB / 269.2 MB, free: 5.312 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004187/0.02011, allocations: 373.8 kB / 269.5 MB, free: 4.938 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.02012, allocations: 4 kB / 269.6 MB, free: 4.934 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.384e-06/0.02012, allocations: 3.938 kB / 269.6 MB, free: 4.93 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.02012, allocations: 3.984 kB / 269.6 MB, free: 4.926 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002311/0.02035, allocations: 274.5 kB / 269.8 MB, free: 4.641 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.397e-06/0.02036, allocations: 4.062 kB / 269.8 MB, free: 4.637 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.852e-05/0.02046, allocations: 63.91 kB / 269.9 MB, free: 4.574 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.239e-05/0.02049, allocations: 39.64 kB / 269.9 MB, free: 4.535 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001149/0.02164, allocations: 0.5028 MB / 270.4 MB, free: 4.027 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.426e-05/0.02166, allocations: 12 kB / 270.4 MB, free: 4.016 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005141/0.02217, allocations: 0.7179 MB / 271.2 MB, free: 3.273 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.02218, allocations: 0 / 271.2 MB, free: 3.273 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003415/0.02252, allocations: 344.5 kB / 271.5 MB, free: 2.91 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.326e-05/0.02255, allocations: 4 kB / 271.5 MB, free: 2.906 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001154/0.02267, allocations: 27.92 kB / 271.5 MB, free: 2.879 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.734e-05/0.02271, allocations: 32.44 kB / 271.6 MB, free: 2.848 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.821e-05/0.02273, allocations: 11.98 kB / 271.6 MB, free: 2.836 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.605e-05/0.02281, allocations: 104.6 kB / 271.7 MB, free: 2.73 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02281, allocations: 0 / 271.7 MB, free: 2.73 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002395/0.02305, allocations: 143.8 kB / 271.8 MB, free: 2.59 MB / 266.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: 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 (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 {(5,12)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001194/0.02424, allocations: 0.6361 MB / 272.5 MB, free: 2.238 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005261/0.02477, allocations: 348.2 kB / 272.8 MB, free: 1.898 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 6.913e-06/0.02477, allocations: 4 kB / 272.8 MB, free: 1.895 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003492/0.02512, allocations: 249.3 kB / 273 MB, free: 1.652 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002357/0.02536, allocations: 215.5 kB / 273.3 MB, free: 1.414 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004445/0.0298, allocations: 0.6659 MB / 273.9 MB, free: 0.7148 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.801e-05/0.02985, allocations: 106.1 kB / 274 MB, free: 0.5938 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001051/0.02996, allocations: 50.94 kB / 274.1 MB, free: 0.543 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001453/0.0301, allocations: 123.3 kB / 274.2 MB, free: 432 kB / 266.7 MB Notification: Performance of SimCode: time 6.32e-07/0.0301, allocations: 0 / 274.2 MB, free: 432 kB / 266.7 MB Notification: Performance of Templates: time 0.09746/0.1276, allocations: 8.545 MB / 282.7 MB, free: 12.79 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f PowerSysPro_PowerSysPro.Examples.VariableLoad.makefile [Timeout 660] (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=240 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.VariableLoad.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 2.5253438521176577]