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.0007628/0.0007628, allocations: 72.19 kB / 9.911 MB, free: 0.7773 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009922/0.001755, allocations: 447.8 kB / 10.35 MB, free: 348 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.0007546/0.0007546, allocations: 157.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001373/0.002127, allocations: 467.6 kB / 11.69 MB, free: 2.477 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 1.126/1.126, allocations: 177.2 MB / 189.6 MB, free: 5.297 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1344/1.26, allocations: 53.65 MB / 243.2 MB, free: 15.57 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.03113/0.03113, allocations: 4.467 MB / 248.4 MB, free: 10.38 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.006554/0.03768, allocations: 2.092 MB / 250.5 MB, free: 8.281 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.814e-06/1.814e-06, allocations: 0 / 251.8 MB, free: 7.023 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.149e-05/2.33e-05, allocations: 2.312 kB / 251.8 MB, free: 7.02 MB / 250.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.VariableLoad): time 0.003395/0.003419, allocations: 2.398 MB / 254.2 MB, free: 4.617 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.004156/0.007574, allocations: 2.88 MB / 257.1 MB, free: 1.715 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001797/0.007754, allocations: 4 kB / 257.1 MB, free: 1.711 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005468/0.008301, allocations: 182.8 kB / 257.2 MB, free: 1.531 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008647/0.009166, allocations: 322 kB / 257.6 MB, free: 1.215 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00189/0.01106, allocations: 1.206 MB / 258.8 MB, free: 4 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007128/0.01177, allocations: 433.9 kB / 259.2 MB, free: 15.58 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002034/0.01197, allocations: 83.47 kB / 259.3 MB, free: 15.5 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000376/0.01235, allocations: 283.8 kB / 259.5 MB, free: 15.22 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000292/0.01264, allocations: 159.5 kB / 259.7 MB, free: 15.06 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.157e-05/0.01269, allocations: 36 kB / 259.7 MB, free: 15.03 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008286/0.01352, allocations: 403.2 kB / 260.1 MB, free: 14.63 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001065/0.01363, allocations: 55.81 kB / 260.2 MB, free: 14.58 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001408/0.01377, allocations: 103.8 kB / 260.3 MB, free: 14.48 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009638/0.01473, allocations: 0.5685 MB / 260.9 MB, free: 13.91 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.523e-05/0.01476, allocations: 0 / 260.9 MB, free: 13.91 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.01476, allocations: 3.938 kB / 260.9 MB, free: 13.9 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.32e-05/0.01478, allocations: 0 / 260.9 MB, free: 13.9 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.003127/0.01791, allocations: 1.385 MB / 262.2 MB, free: 12.47 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.199e-05/0.01794, allocations: 16.02 kB / 262.3 MB, free: 12.46 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.575e-05/0.01803, allocations: 48.89 kB / 262.3 MB, free: 12.41 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002953/0.01832, allocations: 225.3 kB / 262.5 MB, free: 12.16 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.655e-05/0.01837, allocations: 54.92 kB / 262.6 MB, free: 12.1 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.724e-05/0.01842, allocations: 36.38 kB / 262.6 MB, free: 12.07 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003882/0.0188, allocations: 453.1 kB / 263.1 MB, free: 11.56 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.01881, allocations: 3.938 kB / 263.1 MB, free: 11.56 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.601e-05/0.01884, allocations: 12 kB / 263.1 MB, free: 11.55 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.584e-06/0.01885, allocations: 4 kB / 263.1 MB, free: 11.54 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002041/0.01905, allocations: 119.3 kB / 263.2 MB, free: 11.43 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001204/0.02026, allocations: 0.6919 MB / 263.9 MB, free: 10.71 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004451/0.0207, allocations: 302 kB / 264.2 MB, free: 10.41 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000123/0.02082, allocations: 80.83 kB / 264.3 MB, free: 10.32 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.831e-05/0.02088, allocations: 15.94 kB / 264.3 MB, free: 10.31 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003016/0.02118, allocations: 318.2 kB / 264.6 MB, free: 9.953 MB / 266.7 MB Notification: Performance of pre-optimization done (n=43): time 2.234e-06/0.02119, allocations: 0 / 264.6 MB, free: 9.953 MB / 266.7 MB Notification: Performance of matching and sorting (n=43): time 0.001914/0.0231, allocations: 0.723 MB / 265.3 MB, free: 9.219 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.714e-05/0.02314, allocations: 55.41 kB / 265.4 MB, free: 9.152 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002449/0.02338, allocations: 272.5 kB / 265.6 MB, free: 8.871 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.187e-05/0.02342, allocations: 37.7 kB / 265.7 MB, free: 8.828 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001132/0.02354, allocations: 153.5 kB / 265.8 MB, free: 8.672 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.847e-05/0.02364, allocations: 150.7 kB / 266 MB, free: 8.523 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001339/0.02377, allocations: 98.11 kB / 266.1 MB, free: 8.422 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001663/0.02394, allocations: 346.7 kB / 266.4 MB, free: 8.074 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001467/0.02408, allocations: 95.8 kB / 266.5 MB, free: 7.98 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001867/0.02427, allocations: 187.4 kB / 266.7 MB, free: 7.773 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000335/0.0246, allocations: 272.3 kB / 266.9 MB, free: 7.504 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.02461, allocations: 0 / 266.9 MB, free: 7.504 MB / 266.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0009102/0.02552, allocations: 472.6 kB / 267.4 MB, free: 7.035 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.873e-05/0.02554, allocations: 8 kB / 267.4 MB, free: 7.027 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.02554, allocations: 0 / 267.4 MB, free: 7.027 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001507/0.02705, allocations: 486.8 kB / 267.9 MB, free: 6.547 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002212/0.02727, allocations: 91.88 kB / 268 MB, free: 6.457 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006305/0.0279, allocations: 0.7148 MB / 268.7 MB, free: 5.719 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001751/0.02808, allocations: 47.59 kB / 268.7 MB, free: 5.672 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.68e-05/0.0281, allocations: 12 kB / 268.8 MB, free: 5.66 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.0002316/0.02833, allocations: 144.5 kB / 268.9 MB, free: 5.508 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.439e-05/0.02839, allocations: 35.95 kB / 268.9 MB, free: 5.473 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005175/0.02891, allocations: 366 kB / 269.3 MB, free: 5.105 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/0.02891, allocations: 8 kB / 269.3 MB, free: 5.098 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.02892, allocations: 3.938 kB / 269.3 MB, free: 5.094 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.02892, allocations: 3.984 kB / 269.3 MB, free: 5.09 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002785/0.0292, allocations: 270.5 kB / 269.6 MB, free: 4.809 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.0292, allocations: 0 / 269.6 MB, free: 4.809 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001376/0.02934, allocations: 63.91 kB / 269.6 MB, free: 4.746 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.915e-05/0.02938, allocations: 39.64 kB / 269.7 MB, free: 4.707 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001427/0.03081, allocations: 482.9 kB / 270.1 MB, free: 4.23 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.457e-05/0.03083, allocations: 8 kB / 270.1 MB, free: 4.223 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006632/0.03149, allocations: 0.7324 MB / 270.9 MB, free: 3.465 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.0315, allocations: 0 / 270.9 MB, free: 3.465 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004601/0.03196, allocations: 336.5 kB / 271.2 MB, free: 3.109 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.037e-05/0.03201, allocations: 4 kB / 271.2 MB, free: 3.105 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001511/0.03216, allocations: 28.05 kB / 271.2 MB, free: 3.078 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.922e-05/0.03223, allocations: 32.42 kB / 271.3 MB, free: 3.047 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.124e-05/0.03226, allocations: 12 kB / 271.3 MB, free: 3.035 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001074/0.03236, allocations: 92.64 kB / 271.4 MB, free: 2.941 MB / 266.7 MB Notification: Performance of sort global known variables: time 1e-07/0.03236, allocations: 3.938 kB / 271.4 MB, free: 2.938 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003648/0.03273, allocations: 155.7 kB / 271.5 MB, free: 2.785 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.0018/0.03453, allocations: 0.6253 MB / 272.2 MB, free: 2.441 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0007559/0.03529, allocations: 359.6 kB / 272.5 MB, free: 2.09 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.016e-05/0.0353, allocations: 4 kB / 272.5 MB, free: 2.086 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004377/0.03573, allocations: 204.5 kB / 272.7 MB, free: 1.883 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005508/0.03628, allocations: 104.8 kB / 272.8 MB, free: 1.777 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006282/0.04257, allocations: 0.6695 MB / 273.5 MB, free: 1.082 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.397e-05/0.04264, allocations: 106.3 kB / 273.6 MB, free: 0.9609 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001529/0.04279, allocations: 50.92 kB / 273.6 MB, free: 0.9102 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001822/0.04298, allocations: 123.3 kB / 273.8 MB, free: 0.7891 MB / 266.7 MB Notification: Performance of SimCode: time 8.42e-07/0.04298, allocations: 0 / 273.8 MB, free: 0.7891 MB / 266.7 MB Notification: Performance of Templates: time 0.1514/0.1943, allocations: 8.485 MB / 282.2 MB, free: 13.05 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: 3.268080724403262]