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.001604/0.001604, allocations: 105 kB / 16.45 MB, free: 6.391 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.001946/0.001946, allocations: 189 kB / 17.39 MB, free: 5.648 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.488/1.488, allocations: 222.9 MB / 241.1 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.05642/0.05642, allocations: 8.108 MB / 299.3 MB, free: 6.625 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001209/0.001209, allocations: 63.91 kB / 414.5 MB, free: 21.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1141/0.1153, allocations: 51.51 MB / 466 MB, free: 2.168 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.DegradedModeForLoads): time 0.003051/0.1184, allocations: 1.459 MB / 467.4 MB, free: 0.707 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00225/0.1207, allocations: 1.438 MB / 468.9 MB, free: 15.25 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001563/0.1208, allocations: 0 / 468.9 MB, free: 15.25 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000435/0.1213, allocations: 115.5 kB / 469 MB, free: 15.14 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005525/0.1219, allocations: 155.2 kB / 469.1 MB, free: 14.99 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001702/0.1236, allocations: 0.9099 MB / 470.1 MB, free: 14.08 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004044/0.124, allocations: 191.1 kB / 470.2 MB, free: 13.89 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001502/0.1242, allocations: 61.56 kB / 470.3 MB, free: 13.83 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001254/0.1243, allocations: 79.77 kB / 470.4 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001965/0.1245, allocations: 103.5 kB / 470.5 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.91e-05/0.1246, allocations: 20 kB / 470.5 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005041/0.1251, allocations: 219.8 kB / 470.7 MB, free: 13.42 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.264e-05/0.1251, allocations: 51.77 kB / 470.8 MB, free: 13.37 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001084/0.1253, allocations: 87.58 kB / 470.9 MB, free: 13.28 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008121/0.1261, allocations: 351.1 kB / 471.2 MB, free: 12.94 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.1261, allocations: 0 / 471.2 MB, free: 12.94 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.915e-06/0.1261, allocations: 0 / 471.2 MB, free: 12.94 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.281e-05/0.1261, allocations: 0 / 471.2 MB, free: 12.94 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.00242/0.1286, allocations: 0.7095 MB / 471.9 MB, free: 12.18 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.999e-05/0.1286, allocations: 12.03 kB / 471.9 MB, free: 12.16 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001095/0.1287, allocations: 16.75 kB / 471.9 MB, free: 12.15 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003593/0.1291, allocations: 238.6 kB / 472.2 MB, free: 11.88 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001883/0.1293, allocations: 79.7 kB / 472.2 MB, free: 11.79 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.734e-05/0.1293, allocations: 12.38 kB / 472.3 MB, free: 11.78 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005181/0.1299, allocations: 218.5 kB / 472.5 MB, free: 11.56 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.407e-05/0.1299, allocations: 3.938 kB / 472.5 MB, free: 11.55 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.229e-05/0.1299, allocations: 12 kB / 472.5 MB, free: 11.54 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.087e-05/0.13, allocations: 8 kB / 472.5 MB, free: 11.54 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004068/0.1304, allocations: 199.8 kB / 472.7 MB, free: 11.34 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001839/0.1322, allocations: 0.9046 MB / 473.6 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005599/0.1328, allocations: 246.4 kB / 473.8 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002186/0.133, allocations: 113.1 kB / 473.9 MB, free: 9.996 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001565/0.1332, allocations: 89.09 kB / 474 MB, free: 9.891 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004439/0.1337, allocations: 163.3 kB / 474.2 MB, free: 9.719 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 2.966e-06/0.1337, allocations: 0 / 474.2 MB, free: 9.719 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.001786/0.1355, allocations: 0.6151 MB / 474.8 MB, free: 9.078 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.184e-05/0.1355, allocations: 51.41 kB / 474.9 MB, free: 9.016 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002296/0.1358, allocations: 183.2 kB / 475 MB, free: 8.82 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.456e-05/0.1358, allocations: 29.7 kB / 475.1 MB, free: 8.785 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001099/0.1359, allocations: 132.2 kB / 475.2 MB, free: 8.652 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.425e-05/0.136, allocations: 71 kB / 475.3 MB, free: 8.582 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001298/0.1362, allocations: 65.88 kB / 475.3 MB, free: 8.512 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001576/0.1363, allocations: 322.8 kB / 475.6 MB, free: 8.188 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002391/0.1366, allocations: 120.5 kB / 475.8 MB, free: 8.07 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002424/0.1368, allocations: 170.1 kB / 475.9 MB, free: 7.891 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004317/0.1373, allocations: 276.2 kB / 476.2 MB, free: 7.605 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.1373, allocations: 0 / 476.2 MB, free: 7.605 MB / 350.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001069/0.1384, allocations: 482.4 kB / 476.7 MB, free: 7.125 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.928e-05/0.1384, allocations: 4 kB / 476.7 MB, free: 7.121 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.217e-06/0.1384, allocations: 4 kB / 476.7 MB, free: 7.117 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008936/0.1393, allocations: 184.7 kB / 476.9 MB, free: 6.934 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001737/0.1395, allocations: 43.92 kB / 476.9 MB, free: 6.891 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007094/0.1402, allocations: 0.7241 MB / 477.6 MB, free: 6.141 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001874/0.1404, allocations: 19.88 kB / 477.6 MB, free: 6.121 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.918e-05/0.1404, allocations: 12 kB / 477.7 MB, free: 6.109 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.0001614/0.1406, allocations: 145.6 kB / 477.8 MB, free: 5.957 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.835e-05/0.1407, allocations: 15.81 kB / 477.8 MB, free: 5.941 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007674/0.1414, allocations: 397.6 kB / 478.2 MB, free: 5.535 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/0.1414, allocations: 0 / 478.2 MB, free: 5.535 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.1415, allocations: 0 / 478.2 MB, free: 5.535 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.204e-06/0.1415, allocations: 3.984 kB / 478.2 MB, free: 5.531 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003655/0.1418, allocations: 345.2 kB / 478.5 MB, free: 5.145 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.359e-06/0.1419, allocations: 3.938 kB / 478.5 MB, free: 5.141 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000106/0.142, allocations: 27.92 kB / 478.6 MB, free: 5.113 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000789/0.1428, allocations: 192.7 kB / 478.8 MB, free: 4.922 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.151e-05/0.1428, allocations: 4 kB / 478.8 MB, free: 4.918 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007875/0.1436, allocations: 0.7319 MB / 479.5 MB, free: 4.16 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.1436, allocations: 0 / 479.5 MB, free: 4.16 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006529/0.1443, allocations: 384.3 kB / 479.9 MB, free: 3.766 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.904e-05/0.1443, allocations: 92.92 kB / 480 MB, free: 3.656 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.507e-05/0.1444, allocations: 11.98 kB / 480 MB, free: 3.645 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001564/0.1445, allocations: 11.94 kB / 480 MB, free: 3.633 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.968e-05/0.1446, allocations: 23.83 kB / 480 MB, free: 3.609 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.252e-05/0.1446, allocations: 12 kB / 480 MB, free: 3.598 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001215/0.1448, allocations: 135.9 kB / 480.2 MB, free: 3.465 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1448, allocations: 0 / 480.2 MB, free: 3.465 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003015/0.1451, allocations: 67.84 kB / 480.2 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.0001772/0.1453, allocations: 111.3 kB / 480.3 MB, free: 3.281 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007466/0.146, allocations: 307.8 kB / 480.6 MB, free: 2.98 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.868e-06/0.146, allocations: 4 kB / 480.6 MB, free: 2.977 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005085/0.1466, allocations: 168.1 kB / 480.8 MB, free: 2.812 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002486/0.1468, allocations: 28.08 kB / 480.8 MB, free: 2.785 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007851/0.1476, allocations: 411.5 kB / 481.2 MB, free: 2.359 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002705/0.1479, allocations: 0.7288 MB / 482 MB, free: 1.605 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.659e-05/0.148, allocations: 25.53 kB / 482 MB, free: 1.582 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.401e-05/0.148, allocations: 19.44 kB / 482 MB, free: 1.562 MB / 350.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1481, allocations: 0 / 482 MB, free: 1.562 MB / 350.1 MB Notification: Performance of Templates: time 0.007347/0.1554, allocations: 3.727 MB / 485.7 MB, free: 13.85 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)