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/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/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.004407/0.004407, allocations: 93.48 kB / 15.91 MB, free: 6.273 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.001007/0.001007, allocations: 199.7 kB / 16.84 MB, free: 6.188 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.191/1.191, allocations: 222.9 MB / 240.5 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.1338/0.1338, allocations: 8.087 MB / 298.7 MB, free: 2.062 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009811/0.0009811, allocations: 59.92 kB / 361 MB, free: 13.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08989/0.09089, allocations: 51.52 MB / 412.5 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.DegradedModeForLoads): time 0.002569/0.09349, allocations: 1.502 MB / 414.1 MB, free: 8.656 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001848/0.09535, allocations: 1.438 MB / 415.5 MB, free: 7.203 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.81e-05/0.09542, allocations: 0 / 415.5 MB, free: 7.203 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003564/0.0958, allocations: 99.64 kB / 415.6 MB, free: 7.105 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003733/0.09618, allocations: 147.4 kB / 415.7 MB, free: 6.961 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001449/0.09764, allocations: 0.8834 MB / 416.6 MB, free: 6.074 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002867/0.09793, allocations: 175.2 kB / 416.8 MB, free: 5.902 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001332/0.09807, allocations: 45.64 kB / 416.8 MB, free: 5.859 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.642e-05/0.09817, allocations: 75.64 kB / 416.9 MB, free: 5.785 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001753/0.09835, allocations: 111.5 kB / 417 MB, free: 5.676 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.108e-05/0.09839, allocations: 12 kB / 417 MB, free: 5.664 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000374/0.09877, allocations: 219.8 kB / 417.2 MB, free: 5.449 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.509e-05/0.09882, allocations: 35.89 kB / 417.3 MB, free: 5.414 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001102/0.09894, allocations: 91.47 kB / 417.4 MB, free: 5.324 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004301/0.09937, allocations: 347.4 kB / 417.7 MB, free: 4.984 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.09938, allocations: 0 / 417.7 MB, free: 4.984 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.11e-07/0.09939, allocations: 0 / 417.7 MB, free: 4.984 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.649e-06/0.0994, allocations: 0 / 417.7 MB, free: 4.984 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.001899/0.1013, allocations: 0.7095 MB / 418.4 MB, free: 4.223 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.1013, allocations: 12.03 kB / 418.4 MB, free: 4.211 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.076e-05/0.1014, allocations: 20.66 kB / 418.4 MB, free: 4.191 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002725/0.1017, allocations: 228 kB / 418.7 MB, free: 3.93 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.314e-05/0.1018, allocations: 75.72 kB / 418.7 MB, free: 3.844 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.899e-05/0.1018, allocations: 12.38 kB / 418.8 MB, free: 3.832 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003808/0.1022, allocations: 218.8 kB / 419 MB, free: 3.613 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.1022, allocations: 3.938 kB / 419 MB, free: 3.609 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.865e-05/0.1023, allocations: 15.94 kB / 419 MB, free: 3.594 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.1023, allocations: 4 kB / 419 MB, free: 3.59 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003452/0.1026, allocations: 195.9 kB / 419.2 MB, free: 3.398 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00135/0.104, allocations: 0.9241 MB / 420.1 MB, free: 2.398 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005385/0.1045, allocations: 238.5 kB / 420.3 MB, free: 2.156 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001745/0.1047, allocations: 109.2 kB / 420.4 MB, free: 2.047 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001145/0.1049, allocations: 93.09 kB / 420.5 MB, free: 1.938 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003392/0.1052, allocations: 171.3 kB / 420.7 MB, free: 1.758 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 1.363e-06/0.1052, allocations: 0 / 420.7 MB, free: 1.758 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.001677/0.1069, allocations: 0.6095 MB / 421.3 MB, free: 1.121 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.887e-05/0.1069, allocations: 59.41 kB / 421.4 MB, free: 1.051 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000161/0.1071, allocations: 167.4 kB / 421.5 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.894e-05/0.1071, allocations: 33.7 kB / 421.6 MB, free: 0.832 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.856e-05/0.1072, allocations: 128.2 kB / 421.7 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.24e-05/0.1073, allocations: 78.86 kB / 421.8 MB, free: 0.625 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.733e-05/0.1074, allocations: 57.97 kB / 421.8 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.208e-05/0.1075, allocations: 322.8 kB / 422.1 MB, free: 244 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000191/0.1077, allocations: 116.5 kB / 422.3 MB, free: 128 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002385/0.1079, allocations: 169.3 kB / 422.4 MB, free: 15.95 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004306/0.1083, allocations: 272.2 kB / 422.7 MB, free: 15.66 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.1084, allocations: 4 kB / 422.7 MB, free: 15.66 MB / 366.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001007/0.1094, allocations: 473.9 kB / 423.2 MB, free: 15.19 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.1094, allocations: 8 kB / 423.2 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.1094, allocations: 3.984 kB / 423.2 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008627/0.1103, allocations: 208.7 kB / 423.4 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001685/0.1104, allocations: 35.98 kB / 423.4 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000713/0.1112, allocations: 0.724 MB / 424.1 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001762/0.1114, allocations: 23.75 kB / 424.1 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.064e-05/0.1114, allocations: 12 kB / 424.2 MB, free: 14.15 MB / 366.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.0001138/0.1115, allocations: 141.8 kB / 424.3 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.469e-05/0.1116, allocations: 15.81 kB / 424.3 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007715/0.1123, allocations: 383.9 kB / 424.7 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.1123, allocations: 4 kB / 424.7 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.1124, allocations: 0 / 424.7 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.1124, allocations: 0 / 424.7 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002694/0.1126, allocations: 333.3 kB / 425 MB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.1127, allocations: 7.938 kB / 425 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001019/0.1128, allocations: 27.98 kB / 425.1 MB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007567/0.1135, allocations: 196.6 kB / 425.2 MB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.98e-05/0.1136, allocations: 11.98 kB / 425.3 MB, free: 12.97 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005795/0.1141, allocations: 0.7241 MB / 426 MB, free: 12.22 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.1142, allocations: 7.984 kB / 426 MB, free: 12.21 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006437/0.1148, allocations: 379.9 kB / 426.4 MB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.936e-05/0.1149, allocations: 96.91 kB / 426.5 MB, free: 11.71 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.469e-05/0.1149, allocations: 4 kB / 426.5 MB, free: 11.7 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000156/0.1151, allocations: 19.92 kB / 426.5 MB, free: 11.68 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.169e-05/0.1151, allocations: 23.84 kB / 426.5 MB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.882e-05/0.1151, allocations: 7.984 kB / 426.5 MB, free: 11.65 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001126/0.1153, allocations: 132.9 kB / 426.6 MB, free: 11.52 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1153, allocations: 0 / 426.6 MB, free: 11.52 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002686/0.1155, allocations: 67.84 kB / 426.7 MB, free: 11.46 MB / 366.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 {(3,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001509/0.1157, allocations: 119.2 kB / 426.8 MB, free: 11.33 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00066/0.1164, allocations: 299.8 kB / 427.1 MB, free: 11.04 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/0.1164, allocations: 7.984 kB / 427.1 MB, free: 11.03 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004015/0.1168, allocations: 144.7 kB / 427.3 MB, free: 10.89 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002216/0.117, allocations: 24.23 kB / 427.3 MB, free: 10.87 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007141/0.1177, allocations: 473.2 kB / 427.8 MB, free: 10.38 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000231/0.118, allocations: 0.7207 MB / 428.5 MB, free: 9.637 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.829e-05/0.1181, allocations: 29.61 kB / 428.5 MB, free: 9.609 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.449e-05/0.1181, allocations: 19.42 kB / 428.5 MB, free: 9.59 MB / 366.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1182, allocations: 96 / 428.5 MB, free: 9.59 MB / 366.1 MB Notification: Performance of Templates: time 0.005673/0.1238, allocations: 3.502 MB / 432 MB, free: 6.105 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)