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.001022/0.001022, allocations: 96.86 kB / 15.74 MB, free: 424 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001309/0.001309, allocations: 171.3 kB / 16.62 MB, free: 6.434 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.442/1.442, allocations: 223.3 MB / 240.7 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.2822/0.2822, allocations: 8.079 MB / 299.8 MB, free: 2.867 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003322/0.0003323, allocations: 8 kB / 362.9 MB, free: 13.29 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1313/0.1316, allocations: 52.51 MB / 415.4 MB, free: 8.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.DegradedModeForLoads): time 0.001664/0.1334, allocations: 1.09 MB / 416.5 MB, free: 7.637 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001706/0.1351, allocations: 1.361 MB / 417.8 MB, free: 6.262 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.134e-05/0.1352, allocations: 4 kB / 417.8 MB, free: 6.258 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002518/0.1354, allocations: 87.61 kB / 417.9 MB, free: 6.172 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003579/0.1358, allocations: 127.4 kB / 418 MB, free: 6.047 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001249/0.1371, allocations: 0.7319 MB / 418.8 MB, free: 5.316 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002625/0.1373, allocations: 171.2 kB / 418.9 MB, free: 5.148 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001393/0.1375, allocations: 45.77 kB / 419 MB, free: 5.102 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.368e-05/0.1376, allocations: 75.7 kB / 419 MB, free: 5.027 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001581/0.1377, allocations: 99.58 kB / 419.1 MB, free: 4.93 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.102e-05/0.1378, allocations: 12 kB / 419.2 MB, free: 4.918 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003391/0.1381, allocations: 203.8 kB / 419.4 MB, free: 4.719 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.642e-05/0.1382, allocations: 35.83 kB / 419.4 MB, free: 4.684 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.218e-05/0.1382, allocations: 53.64 kB / 419.4 MB, free: 4.625 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000309/0.1385, allocations: 239.7 kB / 419.7 MB, free: 4.391 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.1386, allocations: 0 / 419.7 MB, free: 4.391 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1386, allocations: 4 kB / 419.7 MB, free: 4.387 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.182e-06/0.1386, allocations: 0 / 419.7 MB, free: 4.387 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.001847/0.1404, allocations: 0.6838 MB / 420.4 MB, free: 3.656 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.694e-05/0.1405, allocations: 8.031 kB / 420.4 MB, free: 3.648 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.245e-05/0.1406, allocations: 27.7 kB / 420.4 MB, free: 3.621 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003004/0.1409, allocations: 226.8 kB / 420.6 MB, free: 3.359 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001005/0.141, allocations: 79.08 kB / 420.7 MB, free: 3.27 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.444e-05/0.141, allocations: 16 kB / 420.7 MB, free: 3.254 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004319/0.1415, allocations: 217.6 kB / 420.9 MB, free: 3.035 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.1415, allocations: 0 / 420.9 MB, free: 3.035 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.963e-05/0.1415, allocations: 7.953 kB / 420.9 MB, free: 3.027 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.678e-06/0.1415, allocations: 4 kB / 420.9 MB, free: 3.023 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003527/0.1419, allocations: 203.8 kB / 421.1 MB, free: 2.824 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001505/0.1434, allocations: 0.9244 MB / 422.1 MB, free: 1.824 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005475/0.144, allocations: 240.9 kB / 422.3 MB, free: 1.582 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001774/0.1441, allocations: 105.2 kB / 422.4 MB, free: 1.477 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001461/0.1443, allocations: 89.28 kB / 422.5 MB, free: 1.371 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003422/0.1447, allocations: 173 kB / 422.7 MB, free: 1.191 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 1.483e-06/0.1447, allocations: 0 / 422.7 MB, free: 1.191 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.001607/0.1463, allocations: 0.6067 MB / 423.3 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.432e-05/0.1463, allocations: 55.41 kB / 423.3 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001834/0.1465, allocations: 191.1 kB / 423.5 MB, free: 296 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.916e-05/0.1466, allocations: 29.7 kB / 423.5 MB, free: 260 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.633e-05/0.1466, allocations: 120.2 kB / 423.6 MB, free: 136 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.589e-05/0.1467, allocations: 82.92 kB / 423.7 MB, free: 52 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.663e-05/0.1467, allocations: 4 kB / 423.7 MB, free: 48 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.2698/0.4165, allocations: 326.8 kB / 424.1 MB, free: 41.11 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003636/0.4169, allocations: 111.7 kB / 424.2 MB, free: 41.11 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002442/0.4172, allocations: 160.8 kB / 424.3 MB, free: 41.06 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002456/0.4175, allocations: 124.8 kB / 424.4 MB, free: 41.06 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.688e-06/0.4175, allocations: 0 / 424.4 MB, free: 41.06 MB / 350.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.00104/0.4185, allocations: 482.2 kB / 424.9 MB, free: 41.02 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.324e-05/0.4185, allocations: 3.312 kB / 424.9 MB, free: 41.02 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.288e-06/0.4186, allocations: 2.703 kB / 424.9 MB, free: 41.02 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008814/0.4194, allocations: 196.7 kB / 425.1 MB, free: 41.01 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001818/0.4196, allocations: 37.75 kB / 425.1 MB, free: 41.01 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005974/0.4202, allocations: 0.7239 MB / 425.9 MB, free: 40.5 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002115/0.4205, allocations: 31.03 kB / 425.9 MB, free: 40.5 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.993e-05/0.4205, allocations: 13.34 kB / 425.9 MB, free: 40.5 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 ($whenCondition1,$PRE.load.degradedMode,load.degradedMode) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 5} Notification: Performance of prepare postOptimizeDAE: time 0.0001431/0.4207, allocations: 133.8 kB / 426 MB, free: 40.38 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.616e-05/0.4207, allocations: 19.86 kB / 426.1 MB, free: 40.38 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007452/0.4215, allocations: 386.7 kB / 426.4 MB, free: 40.34 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/0.4215, allocations: 3.625 kB / 426.4 MB, free: 40.34 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.616e-06/0.4215, allocations: 2.938 kB / 426.4 MB, free: 40.34 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.4215, allocations: 1.312 kB / 426.4 MB, free: 40.34 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003102/0.4218, allocations: 341.7 kB / 426.8 MB, free: 40.14 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.4218, allocations: 8.594 kB / 426.8 MB, free: 40.14 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001033/0.4219, allocations: 19.78 kB / 426.8 MB, free: 40.14 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006821/0.4226, allocations: 195.9 kB / 427 MB, free: 40.14 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.276e-05/0.4227, allocations: 8.172 kB / 427 MB, free: 40.14 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005269/0.4232, allocations: 0.7311 MB / 427.7 MB, free: 39.61 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.4232, allocations: 0.7031 kB / 427.7 MB, free: 39.61 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005987/0.4238, allocations: 371.8 kB / 428.1 MB, free: 39.53 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.561e-05/0.4239, allocations: 106.7 kB / 428.2 MB, free: 39.43 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.235e-05/0.4239, allocations: 6.312 kB / 428.2 MB, free: 39.43 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000153/0.4241, allocations: 18.42 kB / 428.2 MB, free: 39.43 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.68e-05/0.4242, allocations: 13.28 kB / 428.2 MB, free: 39.43 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.201e-05/0.4242, allocations: 11.73 kB / 428.3 MB, free: 39.43 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001047/0.4243, allocations: 131.3 kB / 428.4 MB, free: 39.35 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4243, allocations: 0 / 428.4 MB, free: 39.35 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003298/0.4247, allocations: 70.41 kB / 428.5 MB, free: 39.34 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001902/0.4249, allocations: 111.1 kB / 428.6 MB, free: 39.25 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000729/0.4256, allocations: 311.5 kB / 428.9 MB, free: 39.24 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.4256, allocations: 0 / 428.9 MB, free: 39.24 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003743/0.426, allocations: 156.9 kB / 429 MB, free: 39.23 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002587/0.4263, allocations: 21.81 kB / 429 MB, free: 39.23 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008334/0.4271, allocations: 475 kB / 429.5 MB, free: 39 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001875/0.4273, allocations: 0.73 MB / 430.2 MB, free: 38.3 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001127/0.4274, allocations: 25.3 kB / 430.3 MB, free: 38.29 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.486e-05/0.4275, allocations: 20.48 kB / 430.3 MB, free: 38.29 MB / 350.1 MB Notification: Performance of SimCode: time 4.91e-07/0.4275, allocations: 0 / 430.3 MB, free: 38.29 MB / 350.1 MB Notification: Performance of Templates: time 0.007147/0.4346, allocations: 3.362 MB / 433.6 MB, free: 38.09 MB / 350.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.DegradedModeForLoads.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: