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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001294/0.001294, allocations: 180.7 kB / 15.8 MB, free: 6.34 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.4/1.4, allocations: 223.2 MB / 239.7 MB, free: 1.785 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009042/0.0009041, allocations: 100.5 kB / 290.9 MB, free: 13.91 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.04268/0.04268, allocations: 8.107 MB / 350.1 MB, free: 2.695 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002926/0.0002926, allocations: 12.72 kB / 413.1 MB, free: 89.7 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08343/0.08374, allocations: 52.54 MB / 465.6 MB, free: 42.07 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3161/0.3999, allocations: 79.79 MB / 0.5326 GB, free: 16.68 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002785/0.4002, allocations: 61.06 kB / 0.5327 GB, free: 16.68 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0165/0.4168, allocations: 6.414 MB / 0.5389 GB, free: 31.87 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.4168, allocations: 0 / 0.5389 GB, free: 31.87 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.644e-05/0.4168, allocations: 3.906 kB / 0.539 GB, free: 31.87 MB / 378.7 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.001277/0.4181, allocations: 0.5724 MB / 0.5395 GB, free: 31.45 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.703e-05/0.4181, allocations: 9.375 kB / 0.5395 GB, free: 31.45 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.9e-05/0.4182, allocations: 23.33 kB / 0.5395 GB, free: 31.43 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002559/0.4185, allocations: 233.7 kB / 0.5398 GB, free: 31.22 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.886e-05/0.4186, allocations: 63.09 kB / 0.5398 GB, free: 31.16 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.998e-05/0.4186, allocations: 15.59 kB / 0.5398 GB, free: 31.16 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003815/0.419, allocations: 218.5 kB / 0.54 GB, free: 31.12 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.419, allocations: 7.938 kB / 0.5401 GB, free: 31.12 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.053e-05/0.4191, allocations: 15.78 kB / 0.5401 GB, free: 31.11 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.4191, allocations: 3.875 kB / 0.5401 GB, free: 31.11 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003117/0.4194, allocations: 204.2 kB / 0.5403 GB, free: 31.11 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001536/0.4209, allocations: 0.9784 MB / 0.5412 GB, free: 30.67 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005667/0.4215, allocations: 233.9 kB / 0.5414 GB, free: 30.64 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.562e-05/0.4216, allocations: 4.031 kB / 0.5415 GB, free: 30.64 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003457/0.4219, allocations: 173 kB / 0.5416 GB, free: 30.59 MB / 378.7 MB Notification: Performance of pre-optimization done (n=22): time 1.754e-06/0.4219, allocations: 3.875 kB / 0.5416 GB, free: 30.59 MB / 378.7 MB Notification: Performance of matching and sorting (n=22): time 0.001703/0.4237, allocations: 0.6398 MB / 0.5422 GB, free: 30.43 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.993e-05/0.4237, allocations: 53.19 kB / 0.5423 GB, free: 30.36 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001539/0.4239, allocations: 165.3 kB / 0.5425 GB, free: 30.26 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.591e-05/0.4239, allocations: 33.08 kB / 0.5425 GB, free: 30.23 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.791e-05/0.424, allocations: 132.5 kB / 0.5426 GB, free: 30.12 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.503e-05/0.424, allocations: 70.22 kB / 0.5427 GB, free: 30.08 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.455e-05/0.424, allocations: 3.625 kB / 0.5427 GB, free: 30.08 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.333e-05/0.4241, allocations: 327 kB / 0.543 GB, free: 29.77 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001553/0.4243, allocations: 109.7 kB / 0.5431 GB, free: 29.76 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001693/0.4244, allocations: 141.6 kB / 0.5432 GB, free: 29.72 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001659/0.4246, allocations: 112.1 kB / 0.5433 GB, free: 29.72 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.4246, allocations: 0 / 0.5433 GB, free: 29.72 MB / 378.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008193/0.4254, allocations: 442.3 kB / 0.5438 GB, free: 29.65 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/0.4255, allocations: 6.406 kB / 0.5438 GB, free: 29.65 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.4255, allocations: 3.953 kB / 0.5438 GB, free: 29.65 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008628/0.4264, allocations: 196 kB / 0.544 GB, free: 29.63 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001593/0.4265, allocations: 41.28 kB / 0.544 GB, free: 29.62 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006174/0.4271, allocations: 0.7285 MB / 0.5447 GB, free: 29.1 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001991/0.4274, allocations: 27.22 kB / 0.5447 GB, free: 29.08 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.407e-05/0.4274, allocations: 5.453 kB / 0.5447 GB, free: 29.08 MB / 378.7 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 (23): * Single equations (assignments): 22 * 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.0001285/0.4275, allocations: 138.5 kB / 0.5449 GB, free: 28.96 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.326e-05/0.4276, allocations: 15.59 kB / 0.5449 GB, free: 28.96 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006288/0.4282, allocations: 382.6 kB / 0.5453 GB, free: 28.89 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.04e-06/0.4282, allocations: 3.844 kB / 0.5453 GB, free: 28.89 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.4282, allocations: 4 kB / 0.5453 GB, free: 28.89 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.4282, allocations: 0 / 0.5453 GB, free: 28.89 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003058/0.4285, allocations: 361.9 kB / 0.5456 GB, free: 28.69 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.4286, allocations: 0 / 0.5456 GB, free: 28.69 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001054/0.4287, allocations: 23.62 kB / 0.5456 GB, free: 28.68 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007593/0.4294, allocations: 201.9 kB / 0.5458 GB, free: 28.66 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.132e-05/0.4295, allocations: 5.453 kB / 0.5458 GB, free: 28.66 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005971/0.4301, allocations: 0.7288 MB / 0.5465 GB, free: 28.13 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.4301, allocations: 0 / 0.5465 GB, free: 28.13 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005206/0.4306, allocations: 367.5 kB / 0.5469 GB, free: 28.04 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.678e-05/0.4307, allocations: 94.45 kB / 0.547 GB, free: 27.94 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.671e-05/0.4307, allocations: 13.69 kB / 0.547 GB, free: 27.94 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001681/0.4309, allocations: 13.3 kB / 0.547 GB, free: 27.94 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.163e-05/0.431, allocations: 15.06 kB / 0.547 GB, free: 27.94 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.123e-05/0.431, allocations: 9.516 kB / 0.547 GB, free: 27.94 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001215/0.4311, allocations: 142.3 kB / 0.5472 GB, free: 27.86 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4311, allocations: 0 / 0.5472 GB, free: 27.86 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002815/0.4314, allocations: 61.47 kB / 0.5472 GB, free: 27.85 MB / 378.7 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.0001889/0.4316, allocations: 123.5 kB / 0.5473 GB, free: 27.76 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006594/0.4323, allocations: 288.6 kB / 0.5476 GB, free: 27.74 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/0.4323, allocations: 4.672 kB / 0.5476 GB, free: 27.74 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003719/0.4327, allocations: 156.5 kB / 0.5478 GB, free: 27.73 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001911/0.4329, allocations: 17 kB / 0.5478 GB, free: 27.73 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000785/0.4337, allocations: 468.9 kB / 0.5482 GB, free: 27.49 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002983/0.434, allocations: 0.7295 MB / 0.5489 GB, free: 26.79 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001202/0.4341, allocations: 24.55 kB / 0.549 GB, free: 26.78 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.882e-05/0.4342, allocations: 23.36 kB / 0.549 GB, free: 26.77 MB / 378.7 MB Notification: Performance of SimCode: time 4.11e-07/0.4342, allocations: 0 / 0.549 GB, free: 26.77 MB / 378.7 MB Notification: Performance of Templates: time 0.006383/0.4406, allocations: 3.345 MB / 0.5523 GB, free: 26.54 MB / 378.7 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)