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.001174/0.001174, allocations: 116.9 kB / 17.13 MB, free: 5.965 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.001156/0.001156, allocations: 197.2 kB / 18.06 MB, free: 5.039 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.316/1.316, allocations: 222.9 MB / 241.8 MB, free: 15.12 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04584/0.04584, allocations: 8.093 MB / 300 MB, free: 6.633 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001189/0.001189, allocations: 67.89 kB / 415.2 MB, free: 21.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08061/0.08181, allocations: 51.51 MB / 466.7 MB, free: 2.16 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.DegradedModeForLoads): time 0.002594/0.08444, allocations: 1.448 MB / 468.1 MB, free: 0.7109 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00208/0.08655, allocations: 1.45 MB / 469.6 MB, free: 15.25 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001059/0.08668, allocations: 8 kB / 469.6 MB, free: 15.24 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003549/0.08704, allocations: 103.5 kB / 469.7 MB, free: 15.14 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004411/0.08751, allocations: 163.1 kB / 469.8 MB, free: 14.98 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001539/0.08906, allocations: 0.906 MB / 470.7 MB, free: 14.07 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002689/0.08934, allocations: 195.1 kB / 470.9 MB, free: 13.88 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001386/0.08948, allocations: 57.58 kB / 471 MB, free: 13.82 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.912e-05/0.08958, allocations: 71.77 kB / 471.1 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001653/0.08976, allocations: 115.5 kB / 471.2 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.468e-05/0.0898, allocations: 16 kB / 471.2 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003968/0.0902, allocations: 223.8 kB / 471.4 MB, free: 13.41 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.896e-05/0.09026, allocations: 47.77 kB / 471.4 MB, free: 13.36 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.948e-05/0.09037, allocations: 83.59 kB / 471.5 MB, free: 13.28 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004335/0.09081, allocations: 351.1 kB / 471.9 MB, free: 12.93 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.09082, allocations: 4 kB / 471.9 MB, free: 12.93 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.925e-06/0.09083, allocations: 0 / 471.9 MB, free: 12.93 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.58e-06/0.09084, allocations: 3.938 kB / 471.9 MB, free: 12.93 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.002003/0.09285, allocations: 0.7056 MB / 472.6 MB, free: 12.17 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.292e-05/0.09289, allocations: 11.89 kB / 472.6 MB, free: 12.16 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.14e-05/0.09298, allocations: 20.75 kB / 472.6 MB, free: 12.14 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002759/0.09326, allocations: 234.7 kB / 472.8 MB, free: 11.87 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.067e-05/0.09335, allocations: 71.7 kB / 472.9 MB, free: 11.79 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.26e-05/0.09339, allocations: 16.38 kB / 472.9 MB, free: 11.77 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003834/0.09378, allocations: 222.5 kB / 473.1 MB, free: 11.55 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.858e-06/0.0938, allocations: 3.938 kB / 473.2 MB, free: 11.55 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.531e-05/0.09384, allocations: 8 kB / 473.2 MB, free: 11.54 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.09386, allocations: 4 kB / 473.2 MB, free: 11.54 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003434/0.09421, allocations: 199.9 kB / 473.4 MB, free: 11.34 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00143/0.09565, allocations: 0.9124 MB / 474.3 MB, free: 10.35 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005654/0.09623, allocations: 238.4 kB / 474.5 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001837/0.09642, allocations: 113.2 kB / 474.6 MB, free: 9.996 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001171/0.09655, allocations: 89.09 kB / 474.7 MB, free: 9.891 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003421/0.0969, allocations: 163.3 kB / 474.9 MB, free: 9.719 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 1.633e-06/0.09691, allocations: 0 / 474.9 MB, free: 9.719 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.001763/0.09868, allocations: 0.6193 MB / 475.5 MB, free: 9.074 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.349e-05/0.09873, allocations: 59.39 kB / 475.5 MB, free: 9.004 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001805/0.09891, allocations: 175.2 kB / 475.7 MB, free: 8.816 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.832e-05/0.09895, allocations: 33.7 kB / 475.7 MB, free: 8.777 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.346e-05/0.09904, allocations: 132.2 kB / 475.9 MB, free: 8.645 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.248e-05/0.0991, allocations: 70.95 kB / 475.9 MB, free: 8.574 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.747e-05/0.09921, allocations: 61.88 kB / 476 MB, free: 8.508 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001139/0.09933, allocations: 326.8 kB / 476.3 MB, free: 8.18 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001935/0.09953, allocations: 116.5 kB / 476.4 MB, free: 8.066 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002254/0.09976, allocations: 165.2 kB / 476.6 MB, free: 7.891 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004068/0.1002, allocations: 276.2 kB / 476.9 MB, free: 7.605 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.1002, allocations: 0 / 476.9 MB, free: 7.605 MB / 350.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001078/0.1013, allocations: 482.4 kB / 477.3 MB, free: 7.125 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.1013, allocations: 8 kB / 477.3 MB, free: 7.117 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.1013, allocations: 0 / 477.3 MB, free: 7.117 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009254/0.1022, allocations: 200.7 kB / 477.5 MB, free: 6.918 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001779/0.1024, allocations: 39.92 kB / 477.6 MB, free: 6.879 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006957/0.1031, allocations: 0.728 MB / 478.3 MB, free: 6.125 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001975/0.1033, allocations: 19.84 kB / 478.3 MB, free: 6.105 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.325e-05/0.1034, allocations: 11.94 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.0001228/0.1035, allocations: 137.7 kB / 478.5 MB, free: 5.949 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.818e-05/0.1035, allocations: 19.8 kB / 478.5 MB, free: 5.93 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007768/0.1043, allocations: 389.5 kB / 478.9 MB, free: 5.531 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.1043, allocations: 4.094 kB / 478.9 MB, free: 5.527 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.1044, allocations: 7.969 kB / 478.9 MB, free: 5.52 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.1044, allocations: 0 / 478.9 MB, free: 5.52 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003149/0.1047, allocations: 337.3 kB / 479.2 MB, free: 5.141 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.257e-06/0.1047, allocations: 3.938 kB / 479.2 MB, free: 5.137 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001082/0.1048, allocations: 23.98 kB / 479.2 MB, free: 5.113 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007978/0.1056, allocations: 196.6 kB / 479.4 MB, free: 4.918 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.02e-05/0.1057, allocations: 8 kB / 479.4 MB, free: 4.91 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007649/0.1064, allocations: 0.7319 MB / 480.2 MB, free: 4.152 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.1064, allocations: 0 / 480.2 MB, free: 4.152 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00068/0.1071, allocations: 384.4 kB / 480.5 MB, free: 3.758 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.082e-05/0.1072, allocations: 96.84 kB / 480.6 MB, free: 3.645 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.811e-05/0.1072, allocations: 4 kB / 480.6 MB, free: 3.641 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001709/0.1074, allocations: 19.92 kB / 480.7 MB, free: 3.621 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.349e-05/0.1075, allocations: 15.84 kB / 480.7 MB, free: 3.605 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.912e-05/0.1075, allocations: 12 kB / 480.7 MB, free: 3.594 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001252/0.1076, allocations: 131.9 kB / 480.8 MB, free: 3.465 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1076, allocations: 0 / 480.8 MB, free: 3.465 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003065/0.108, allocations: 67.84 kB / 480.9 MB, free: 3.398 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,load.degradedMode) * Number of discrete states: 1 (load.degradedMode) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 15 * 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 {(4,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001849/0.1081, allocations: 127.2 kB / 481 MB, free: 3.266 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007605/0.1089, allocations: 303.8 kB / 481.3 MB, free: 2.969 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.1089, allocations: 0 / 481.3 MB, free: 2.969 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000552/0.1095, allocations: 180.2 kB / 481.5 MB, free: 2.793 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002507/0.1098, allocations: 23.98 kB / 481.5 MB, free: 2.77 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000801/0.1106, allocations: 436.8 kB / 481.9 MB, free: 2.316 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00026/0.1108, allocations: 0.7249 MB / 482.7 MB, free: 1.566 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.648e-05/0.1109, allocations: 19.44 kB / 482.7 MB, free: 1.547 MB / 350.1 MB Notification: Performance of SimCode: time 1.623e-06/0.1109, allocations: 0 / 482.7 MB, free: 1.547 MB / 350.1 MB Notification: Performance of Templates: time 0.00522/0.1161, allocations: 3.429 MB / 486.1 MB, free: 14.12 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)