Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.DegradedModeForLoads.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.DegradedModeForLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.DegradedModeForLoads") translateModel(PowerSysPro.Examples.DegradedModeForLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.DegradedModeForLoads") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001119/0.001119, allocations: 108.4 kB / 17.13 MB, free: 5.941 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.001122/0.001122, allocations: 194.1 kB / 18.06 MB, free: 5.023 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.353/1.353, allocations: 222.9 MB / 241.8 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04586/0.04586, allocations: 8.094 MB / 300 MB, free: 6.621 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001203/0.001203, allocations: 59.91 kB / 415.2 MB, free: 21.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08252/0.08374, allocations: 51.52 MB / 466.7 MB, free: 2.156 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.DegradedModeForLoads): time 0.002534/0.08631, allocations: 1.444 MB / 468.1 MB, free: 0.7109 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001851/0.08819, allocations: 1.45 MB / 469.6 MB, free: 15.25 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.06e-05/0.08829, allocations: 4 kB / 469.6 MB, free: 15.24 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003111/0.08863, allocations: 107.5 kB / 469.7 MB, free: 15.14 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003993/0.08904, allocations: 155.2 kB / 469.8 MB, free: 14.98 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001464/0.09051, allocations: 0.9137 MB / 470.7 MB, free: 14.07 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002529/0.09078, allocations: 191.1 kB / 470.9 MB, free: 13.88 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001285/0.09091, allocations: 69.5 kB / 471 MB, free: 13.82 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.22e-05/0.091, allocations: 75.78 kB / 471.1 MB, free: 13.74 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000159/0.09117, allocations: 103.5 kB / 471.2 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.124e-05/0.09121, allocations: 12 kB / 471.2 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003362/0.09155, allocations: 223.8 kB / 471.4 MB, free: 13.41 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.123e-05/0.09161, allocations: 47.83 kB / 471.4 MB, free: 13.36 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.466e-05/0.09171, allocations: 91.52 kB / 471.5 MB, free: 13.27 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004111/0.09213, allocations: 347.2 kB / 471.9 MB, free: 12.93 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.09214, allocations: 3.938 kB / 471.9 MB, free: 12.93 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.09215, allocations: 8 kB / 471.9 MB, free: 12.92 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.482e-06/0.09216, allocations: 0 / 471.9 MB, free: 12.92 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.001949/0.09412, allocations: 0.7017 MB / 472.6 MB, free: 12.17 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.595e-05/0.09416, allocations: 11.89 kB / 472.6 MB, free: 12.16 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.506e-05/0.09423, allocations: 24.69 kB / 472.6 MB, free: 12.13 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002593/0.0945, allocations: 234.7 kB / 472.9 MB, free: 11.87 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.882e-05/0.0946, allocations: 71.72 kB / 472.9 MB, free: 11.79 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.374e-05/0.09464, allocations: 20.38 kB / 472.9 MB, free: 11.77 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003831/0.09503, allocations: 218.5 kB / 473.2 MB, free: 11.55 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.09505, allocations: 3.938 kB / 473.2 MB, free: 11.54 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.705e-05/0.09508, allocations: 8 kB / 473.2 MB, free: 11.54 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.0951, allocations: 7.984 kB / 473.2 MB, free: 11.53 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003422/0.09544, allocations: 195.9 kB / 473.4 MB, free: 11.34 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001456/0.09691, allocations: 0.9163 MB / 474.3 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005636/0.09749, allocations: 234.5 kB / 474.5 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001788/0.09768, allocations: 121.1 kB / 474.6 MB, free: 9.984 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001414/0.09782, allocations: 89.08 kB / 474.7 MB, free: 9.879 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000429/0.09826, allocations: 174.5 kB / 474.9 MB, free: 9.699 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 1.814e-06/0.09828, allocations: 0 / 474.9 MB, free: 9.699 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.001798/0.1001, allocations: 0.6123 MB / 475.5 MB, free: 9.059 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.545e-05/0.1001, allocations: 51.41 kB / 475.6 MB, free: 8.996 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001857/0.1003, allocations: 187.2 kB / 475.7 MB, free: 8.797 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.983e-05/0.1003, allocations: 29.7 kB / 475.8 MB, free: 8.762 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.881e-05/0.1004, allocations: 128.2 kB / 475.9 MB, free: 8.633 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.942e-05/0.1005, allocations: 74.98 kB / 476 MB, free: 8.559 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001048/0.1006, allocations: 57.89 kB / 476 MB, free: 8.496 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001174/0.1007, allocations: 326.8 kB / 476.3 MB, free: 8.168 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002017/0.101, allocations: 120.5 kB / 476.5 MB, free: 8.051 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002445/0.1012, allocations: 161.3 kB / 476.6 MB, free: 7.879 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004264/0.1016, allocations: 276.1 kB / 476.9 MB, free: 7.594 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.1017, allocations: 0 / 476.9 MB, free: 7.594 MB / 350.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001082/0.1027, allocations: 478.4 kB / 477.3 MB, free: 7.117 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.1028, allocations: 11.94 kB / 477.4 MB, free: 7.105 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.872e-06/0.1028, allocations: 0 / 477.4 MB, free: 7.105 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009767/0.1038, allocations: 188.8 kB / 477.5 MB, free: 6.918 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001805/0.104, allocations: 43.97 kB / 477.6 MB, free: 6.875 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008185/0.1048, allocations: 0.7201 MB / 478.3 MB, free: 6.129 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001999/0.105, allocations: 19.84 kB / 478.3 MB, free: 6.109 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.977e-05/0.105, allocations: 16.03 kB / 478.3 MB, free: 6.094 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 3 (load.degradedMode,$PRE.load.degradedMode,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 26 * 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 {(3,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0001868/0.1052, allocations: 141.7 kB / 478.5 MB, free: 5.945 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.861e-05/0.1053, allocations: 15.81 kB / 478.5 MB, free: 5.93 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007787/0.1061, allocations: 393.6 kB / 478.9 MB, free: 5.527 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.1061, allocations: 0 / 478.9 MB, free: 5.527 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.1061, allocations: 0 / 478.9 MB, free: 5.527 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.295e-05/0.1062, allocations: 104.8 kB / 479 MB, free: 5.406 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.526e-05/0.1062, allocations: 4 kB / 479 MB, free: 5.402 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001684/0.1064, allocations: 19.98 kB / 479 MB, free: 5.383 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.97e-05/0.1065, allocations: 11.98 kB / 479 MB, free: 5.371 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009927/0.1074, allocations: 452.1 kB / 479.5 MB, free: 4.922 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006527/0.1081, allocations: 0.5216 MB / 480 MB, free: 4.383 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001814/0.1083, allocations: 106.4 kB / 480.1 MB, free: 4.281 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001172/0.1084, allocations: 136 kB / 480.2 MB, free: 4.148 MB / 350.1 MB Notification: Performance of Backend: time 4.41e-07/0.1084, allocations: 0 / 480.2 MB, free: 4.148 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001179/0.1096, allocations: 382.3 kB / 480.6 MB, free: 3.77 MB / 350.1 MB Notification: Performance of SimCode: time 0.0008614/0.1105, allocations: 0.8447 MB / 481.4 MB, free: 2.879 MB / 350.1 MB Notification: Performance of Templates: time 0.009708/0.1202, allocations: 5.399 MB / 486.8 MB, free: 13.5 MB / 366.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.DegradedModeForLoads.makefile (rm -f PowerSysPro_PowerSysPro.Examples.DegradedModeForLoads.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.DegradedModeForLoads.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.DegradedModeForLoads.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.DegradedModeForLoads.sim & ./PowerSysPro_PowerSysPro.Examples.DegradedModeForLoads -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.DegradedModeForLoads.pipe 2>&1)