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.001137/0.001137, allocations: 104 kB / 15.74 MB, free: 428 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.001223/0.001223, allocations: 179.3 kB / 16.62 MB, free: 6.891 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.445/1.445, allocations: 223.2 MB / 240.6 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.2434/0.2434, allocations: 8.085 MB / 299.7 MB, free: 2.918 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003413/0.0003415, allocations: 8 kB / 362.8 MB, free: 13.29 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1328/0.1332, allocations: 52.51 MB / 415.3 MB, free: 8.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.DegradedModeForLoads): time 0.00173/0.1349, allocations: 1.03 MB / 416.3 MB, free: 7.695 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002153/0.1371, allocations: 1.361 MB / 417.7 MB, free: 6.32 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001375/0.1373, allocations: 4 kB / 417.7 MB, free: 6.316 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003511/0.1376, allocations: 91.53 kB / 417.8 MB, free: 6.227 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004428/0.1381, allocations: 143.4 kB / 417.9 MB, free: 6.09 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001407/0.1395, allocations: 0.7319 MB / 418.6 MB, free: 5.355 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003205/0.1399, allocations: 131.7 kB / 418.8 MB, free: 5.227 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001357/0.14, allocations: 33.84 kB / 418.8 MB, free: 5.191 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001228/0.1401, allocations: 75.75 kB / 418.9 MB, free: 5.117 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001765/0.1403, allocations: 91.66 kB / 419 MB, free: 5.027 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.767e-05/0.1403, allocations: 8 kB / 419 MB, free: 5.02 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004151/0.1408, allocations: 191.7 kB / 419.1 MB, free: 4.832 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.429e-05/0.1408, allocations: 23.91 kB / 419.2 MB, free: 4.809 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.954e-05/0.1409, allocations: 61.58 kB / 419.2 MB, free: 4.742 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003949/0.1413, allocations: 247.6 kB / 419.5 MB, free: 4.5 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.1413, allocations: 0 / 419.5 MB, free: 4.5 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.675e-06/0.1413, allocations: 0 / 419.5 MB, free: 4.5 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.232e-06/0.1413, allocations: 0 / 419.5 MB, free: 4.5 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.002086/0.1434, allocations: 0.6781 MB / 420.2 MB, free: 3.773 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/0.1435, allocations: 8.031 kB / 420.2 MB, free: 3.766 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.121e-05/0.1436, allocations: 23.77 kB / 420.2 MB, free: 3.742 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003098/0.1439, allocations: 226.8 kB / 420.4 MB, free: 3.48 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.289e-05/0.144, allocations: 75.08 kB / 420.5 MB, free: 3.395 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.48e-05/0.144, allocations: 20 kB / 420.5 MB, free: 3.375 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003889/0.1444, allocations: 213.6 kB / 420.7 MB, free: 3.16 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.1444, allocations: 3.984 kB / 420.7 MB, free: 3.156 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.342e-05/0.1445, allocations: 11.95 kB / 420.7 MB, free: 3.145 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.776e-06/0.1445, allocations: 7.984 kB / 420.7 MB, free: 3.137 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003462/0.1448, allocations: 203.8 kB / 420.9 MB, free: 2.938 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001503/0.1464, allocations: 0.9167 MB / 421.8 MB, free: 1.945 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005555/0.1469, allocations: 239 kB / 422.1 MB, free: 1.703 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001408/0.1471, allocations: 85.28 kB / 422.2 MB, free: 1.602 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000443/0.1475, allocations: 173 kB / 422.3 MB, free: 1.422 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 1.824e-06/0.1475, allocations: 0 / 422.3 MB, free: 1.422 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.001702/0.1492, allocations: 0.6032 MB / 422.9 MB, free: 0.793 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.372e-05/0.1493, allocations: 51.41 kB / 423 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002017/0.1495, allocations: 187.1 kB / 423.2 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.186e-05/0.1496, allocations: 33.7 kB / 423.2 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.505e-05/0.1497, allocations: 128.2 kB / 423.3 MB, free: 372 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.488e-05/0.1497, allocations: 74.94 kB / 423.4 MB, free: 296 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.56e-05/0.1497, allocations: 4 kB / 423.4 MB, free: 292 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.2475/0.3973, allocations: 327.6 kB / 423.7 MB, free: 40.93 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000366/0.3977, allocations: 114.7 kB / 423.8 MB, free: 40.93 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002249/0.3979, allocations: 161 kB / 424 MB, free: 40.88 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000222/0.3982, allocations: 127.4 kB / 424.1 MB, free: 40.88 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.648e-06/0.3982, allocations: 4.375 kB / 424.1 MB, free: 40.88 MB / 350.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001134/0.3993, allocations: 474.3 kB / 424.6 MB, free: 40.84 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.98e-05/0.3993, allocations: 5.969 kB / 424.6 MB, free: 40.84 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.276e-06/0.3994, allocations: 3.688 kB / 424.6 MB, free: 40.84 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009278/0.4003, allocations: 196.1 kB / 424.8 MB, free: 40.83 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001795/0.4005, allocations: 40.47 kB / 424.8 MB, free: 40.83 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005919/0.4011, allocations: 0.7214 MB / 425.5 MB, free: 40.32 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000218/0.4013, allocations: 26.48 kB / 425.6 MB, free: 40.32 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.571e-05/0.4014, allocations: 12.47 kB / 425.6 MB, free: 40.32 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.0001363/0.4015, allocations: 140.1 kB / 425.7 MB, free: 40.2 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.214e-05/0.4015, allocations: 16.77 kB / 425.7 MB, free: 40.2 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007139/0.4023, allocations: 382 kB / 426.1 MB, free: 40.16 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.051e-06/0.4023, allocations: 6.844 kB / 426.1 MB, free: 40.16 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.153e-06/0.4023, allocations: 2.859 kB / 426.1 MB, free: 40.16 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.4023, allocations: 0.75 kB / 426.1 MB, free: 40.16 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002906/0.4026, allocations: 346.2 kB / 426.5 MB, free: 39.96 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.4026, allocations: 2.562 kB / 426.5 MB, free: 39.96 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001096/0.4027, allocations: 25.92 kB / 426.5 MB, free: 39.96 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007447/0.4035, allocations: 196.3 kB / 426.7 MB, free: 39.96 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.934e-05/0.4035, allocations: 3.094 kB / 426.7 MB, free: 39.96 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004991/0.404, allocations: 0.7241 MB / 427.4 MB, free: 39.44 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.404, allocations: 4.516 kB / 427.4 MB, free: 39.44 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005946/0.4046, allocations: 371.9 kB / 427.8 MB, free: 39.36 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.192e-05/0.4047, allocations: 107.3 kB / 427.9 MB, free: 39.26 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.864e-05/0.4047, allocations: 11.25 kB / 427.9 MB, free: 39.25 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001681/0.4049, allocations: 17 kB / 427.9 MB, free: 39.25 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.051e-05/0.405, allocations: 17.8 kB / 427.9 MB, free: 39.25 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.93e-05/0.405, allocations: 6.281 kB / 427.9 MB, free: 39.25 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000108/0.4051, allocations: 132.3 kB / 428.1 MB, free: 39.18 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.713e-06/0.4051, allocations: 3.781 kB / 428.1 MB, free: 39.18 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003064/0.4054, allocations: 69.3 kB / 428.1 MB, free: 39.17 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.0002054/0.4057, allocations: 110.7 kB / 428.2 MB, free: 39.09 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007517/0.4064, allocations: 311.1 kB / 428.5 MB, free: 39.07 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.095e-06/0.4064, allocations: 0 / 428.5 MB, free: 39.07 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000403/0.4068, allocations: 156.6 kB / 428.7 MB, free: 39.07 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002045/0.407, allocations: 19.16 kB / 428.7 MB, free: 39.07 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007729/0.4078, allocations: 464.1 kB / 429.2 MB, free: 38.84 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001461/0.408, allocations: 0.7297 MB / 429.9 MB, free: 38.14 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001041/0.4081, allocations: 32.59 kB / 429.9 MB, free: 38.13 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.249e-05/0.4081, allocations: 20.36 kB / 429.9 MB, free: 38.12 MB / 350.1 MB Notification: Performance of SimCode: time 6.31e-07/0.4082, allocations: 0 / 429.9 MB, free: 38.12 MB / 350.1 MB Notification: Performance of Templates: time 0.006035/0.4142, allocations: 3.334 MB / 433.3 MB, free: 37.93 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: