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-master/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/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.001186/0.001186, allocations: 104.5 kB / 16.98 MB, free: 6.137 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001273/0.001273, allocations: 191.4 kB / 17.91 MB, free: 5.234 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.475/1.475, allocations: 222.9 MB / 241.6 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.05191/0.05191, allocations: 8.094 MB / 299.9 MB, free: 6.711 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001481/0.001481, allocations: 64.09 kB / 362.4 MB, free: 8.125 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2287/0.2302, allocations: 51.52 MB / 413.9 MB, free: 25.57 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.VariableLoad): time 0.003382/0.2337, allocations: 2.454 MB / 416.4 MB, free: 23.12 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00273/0.2364, allocations: 2.551 MB / 418.9 MB, free: 20.55 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001583/0.2366, allocations: 7.938 kB / 418.9 MB, free: 20.54 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005078/0.2371, allocations: 175 kB / 419.1 MB, free: 20.37 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006612/0.2378, allocations: 286.4 kB / 419.4 MB, free: 20.09 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001858/0.2397, allocations: 1.283 MB / 420.7 MB, free: 18.8 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004122/0.2401, allocations: 406.2 kB / 421.1 MB, free: 18.4 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002128/0.2403, allocations: 130.1 kB / 421.2 MB, free: 18.27 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001306/0.2405, allocations: 167.4 kB / 421.4 MB, free: 18.11 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002301/0.2407, allocations: 211.1 kB / 421.6 MB, free: 17.9 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.197e-05/0.2408, allocations: 28 kB / 421.6 MB, free: 17.88 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005132/0.2413, allocations: 343.7 kB / 421.9 MB, free: 17.54 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001/0.2414, allocations: 87.72 kB / 422 MB, free: 17.45 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001364/0.2415, allocations: 187 kB / 422.2 MB, free: 17.27 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006083/0.2422, allocations: 0.6349 MB / 422.8 MB, free: 16.63 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.2422, allocations: 0 / 422.8 MB, free: 16.63 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.2422, allocations: 0 / 422.8 MB, free: 16.63 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.883e-06/0.2422, allocations: 4 kB / 422.8 MB, free: 16.63 MB / 302.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.003883/0.2461, allocations: 1.219 MB / 424.1 MB, free: 15.36 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/0.2461, allocations: 15.89 kB / 424.1 MB, free: 15.35 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001158/0.2463, allocations: 48.38 kB / 424.1 MB, free: 15.3 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003579/0.2466, allocations: 323.5 kB / 424.4 MB, free: 14.95 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.673e-05/0.2467, allocations: 46.83 kB / 424.5 MB, free: 14.9 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.051e-05/0.2468, allocations: 36.12 kB / 424.5 MB, free: 14.86 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005823/0.2473, allocations: 448.5 kB / 424.9 MB, free: 14.41 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.246e-05/0.2474, allocations: 3.938 kB / 425 MB, free: 14.4 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.048e-05/0.2474, allocations: 12 kB / 425 MB, free: 14.39 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.077e-05/0.2474, allocations: 4 kB / 425 MB, free: 14.39 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000481/0.2479, allocations: 382.1 kB / 425.3 MB, free: 14.02 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001944/0.2499, allocations: 1.75 MB / 427.1 MB, free: 12.09 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007984/0.2507, allocations: 0.4911 MB / 427.6 MB, free: 11.59 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002867/0.251, allocations: 244.8 kB / 427.8 MB, free: 11.34 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.557e-05/0.2511, allocations: 15.97 kB / 427.8 MB, free: 11.33 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005217/0.2516, allocations: 322.9 kB / 428.2 MB, free: 11 MB / 302.1 MB Notification: Performance of pre-optimization done (n=43): time 2.514e-06/0.2516, allocations: 0 / 428.2 MB, free: 11 MB / 302.1 MB Notification: Performance of matching and sorting (n=43): time 0.003868/0.2555, allocations: 1.363 MB / 429.5 MB, free: 9.609 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.258e-05/0.2555, allocations: 114.7 kB / 429.6 MB, free: 9.473 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002748/0.2558, allocations: 283 kB / 429.9 MB, free: 9.188 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.641e-05/0.2559, allocations: 37.7 kB / 429.9 MB, free: 9.145 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.863e-05/0.256, allocations: 168.8 kB / 430.1 MB, free: 8.973 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.452e-05/0.2561, allocations: 141.9 kB / 430.2 MB, free: 8.832 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001495/0.2562, allocations: 94.23 kB / 430.3 MB, free: 8.734 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.416e-05/0.2563, allocations: 346.8 kB / 430.7 MB, free: 8.387 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000316/0.2566, allocations: 261 kB / 430.9 MB, free: 8.133 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003506/0.257, allocations: 312.6 kB / 431.2 MB, free: 7.816 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006649/0.2577, allocations: 0.5586 MB / 431.8 MB, free: 7.254 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.2577, allocations: 0 / 431.8 MB, free: 7.254 MB / 302.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001725/0.2594, allocations: 0.9171 MB / 432.7 MB, free: 6.328 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.2594, allocations: 4 kB / 432.7 MB, free: 6.324 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.2594, allocations: 0 / 432.7 MB, free: 6.324 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002523/0.262, allocations: 0.6164 MB / 433.3 MB, free: 5.707 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002865/0.2623, allocations: 79.89 kB / 433.4 MB, free: 5.629 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001385/0.2637, allocations: 1.071 MB / 434.5 MB, free: 4.531 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003678/0.2641, allocations: 43.53 kB / 434.5 MB, free: 4.488 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.872e-05/0.2641, allocations: 19.98 kB / 434.5 MB, free: 4.469 MB / 302.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 (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 {(7,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0001854/0.2643, allocations: 157.7 kB / 434.7 MB, free: 4.305 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.138e-05/0.2644, allocations: 31.62 kB / 434.7 MB, free: 4.273 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001115/0.2655, allocations: 0.7857 MB / 435.5 MB, free: 3.48 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.671e-06/0.2655, allocations: 4 kB / 435.5 MB, free: 3.477 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.2655, allocations: 0 / 435.5 MB, free: 3.477 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.172e-06/0.2655, allocations: 3.984 kB / 435.5 MB, free: 3.473 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004187/0.266, allocations: 0.5524 MB / 436.1 MB, free: 2.871 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.387e-06/0.266, allocations: 0 / 436.1 MB, free: 2.871 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001732/0.2662, allocations: 59.91 kB / 436.1 MB, free: 2.812 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002334/0.2685, allocations: 0.586 MB / 436.7 MB, free: 2.223 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.46e-05/0.2686, allocations: 7.984 kB / 436.7 MB, free: 2.215 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00133/0.2699, allocations: 1.082 MB / 437.8 MB, free: 1.109 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.2699, allocations: 3.938 kB / 437.8 MB, free: 1.105 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009933/0.2709, allocations: 0.7327 MB / 438.5 MB, free: 356 kB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.93e-05/0.271, allocations: 112.6 kB / 438.7 MB, free: 224 kB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.472e-05/0.2711, allocations: 8 kB / 438.7 MB, free: 216 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003093/0.2714, allocations: 27.92 kB / 438.7 MB, free: 188 kB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.699e-05/0.2715, allocations: 32.38 kB / 438.7 MB, free: 152 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.438e-05/0.2715, allocations: 16 kB / 438.7 MB, free: 136 kB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002126/0.2718, allocations: 205.9 kB / 438.9 MB, free: 15.93 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.2718, allocations: 0 / 438.9 MB, free: 15.93 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004702/0.2723, allocations: 139.8 kB / 439.1 MB, free: 15.8 MB / 318.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 (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 {(7,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001017/0.2733, allocations: 423.4 kB / 439.5 MB, free: 15.52 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.00198/0.2753, allocations: 0.7319 MB / 440.2 MB, free: 14.8 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 8.185e-06/0.2753, allocations: 8 kB / 440.2 MB, free: 14.79 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001242/0.2766, allocations: 410.3 kB / 440.6 MB, free: 14.39 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004358/0.277, allocations: 47.25 kB / 440.7 MB, free: 14.34 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001559/0.2786, allocations: 0.7967 MB / 441.5 MB, free: 13.52 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003487/0.2789, allocations: 0.7888 MB / 442.3 MB, free: 12.7 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001378/0.2791, allocations: 43.42 kB / 442.3 MB, free: 12.66 MB / 318.1 MB Notification: Performance of SimCode: time 5.21e-07/0.2791, allocations: 0 / 442.3 MB, free: 12.66 MB / 318.1 MB Notification: Performance of Templates: time 0.01036/0.2895, allocations: 7.031 MB / 449.3 MB, free: 5.637 MB / 318.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.VariableLoad.makefile (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)