Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding2.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: "" <> buildModelFMU(PowerSysPro.Examples.BreakerTests.Islanding2,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_BreakerTests_Islanding2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.BreakerTests.Islanding2,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_BreakerTests_Islanding2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001777/0.001777, allocations: 180.8 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.428/1.428, allocations: 223.2 MB / 239.7 MB, free: 1.77 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.001078/0.001078, allocations: 104.8 kB / 290.9 MB, free: 13.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.0614/0.0614, allocations: 8.104 MB / 350.1 MB, free: 2.707 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003609/0.000361, allocations: 11.22 kB / 413.2 MB, free: 89.65 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.104/0.1044, allocations: 52.53 MB / 465.7 MB, free: 41.95 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3628/0.4673, allocations: 82.33 MB / 0.5352 GB, free: 16.68 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000215/0.4675, allocations: 75.22 kB / 0.5353 GB, free: 16.68 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04297/0.5105, allocations: 17.37 MB / 0.5522 GB, free: 30.83 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.665e-06/0.5106, allocations: 0 / 0.5522 GB, free: 30.83 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.195e-05/0.5106, allocations: 8.25 kB / 0.5522 GB, free: 30.83 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: 109 * Number of variables: 109 Notification: Performance of Generate backend data structure: time 0.003378/0.514, allocations: 1.125 MB / 0.5533 GB, free: 30.27 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.302e-05/0.514, allocations: 8.344 kB / 0.5533 GB, free: 30.27 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001259/0.5142, allocations: 86.56 kB / 0.5534 GB, free: 30.23 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001466/0.5143, allocations: 65.53 kB / 0.5535 GB, free: 30.2 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005864/0.5149, allocations: 419.6 kB / 0.5539 GB, free: 29.95 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.583e-05/0.515, allocations: 62.44 kB / 0.5539 GB, free: 29.92 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.901e-05/0.5151, allocations: 43 kB / 0.554 GB, free: 29.92 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001121/0.5162, allocations: 0.6788 MB / 0.5546 GB, free: 29.86 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.581e-05/0.5162, allocations: 3.953 kB / 0.5546 GB, free: 29.85 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.953e-05/0.5163, allocations: 23.88 kB / 0.5547 GB, free: 29.85 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.535e-05/0.5163, allocations: 10.72 kB / 0.5547 GB, free: 29.85 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001083/0.5174, allocations: 0.6455 MB / 0.5553 GB, free: 29.84 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004672/0.5221, allocations: 2.915 MB / 0.5582 GB, free: 28.41 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001645/0.5238, allocations: 1.059 MB / 0.5592 GB, free: 28.08 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001758/0.5239, allocations: 95.94 kB / 0.5593 GB, free: 27.99 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008108/0.5248, allocations: 0.4934 MB / 0.5598 GB, free: 27.93 MB / 378.7 MB Notification: Performance of pre-optimization done (n=75): time 2.464e-06/0.5248, allocations: 1.562 kB / 0.5598 GB, free: 27.93 MB / 378.7 MB Notification: Performance of matching and sorting (n=75): time 0.009562/0.5343, allocations: 2.696 MB / 0.5624 GB, free: 27.67 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.922e-05/0.5344, allocations: 85.45 kB / 0.5625 GB, free: 27.57 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004048/0.5348, allocations: 311.5 kB / 0.5628 GB, free: 27.47 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.989e-05/0.5349, allocations: 39.61 kB / 0.5628 GB, free: 27.44 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001108/0.535, allocations: 203 kB / 0.563 GB, free: 27.33 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001634/0.5352, allocations: 248.7 kB / 0.5632 GB, free: 27.16 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.142e-05/0.5352, allocations: 14.56 kB / 0.5633 GB, free: 27.16 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001577/0.5354, allocations: 362.1 kB / 0.5636 GB, free: 26.85 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000535/0.5359, allocations: 358.8 kB / 0.5639 GB, free: 26.84 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005875/0.5365, allocations: 410.1 kB / 0.5643 GB, free: 26.8 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005954/0.5371, allocations: 386.7 kB / 0.5647 GB, free: 26.79 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.671e-06/0.5372, allocations: 5.281 kB / 0.5647 GB, free: 26.79 MB / 378.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.004091/0.5413, allocations: 1.544 MB / 0.5662 GB, free: 26.65 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.187e-05/0.5413, allocations: 4.562 kB / 0.5662 GB, free: 26.65 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/0.5413, allocations: 1.688 kB / 0.5662 GB, free: 26.65 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004124/0.5454, allocations: 0.9624 MB / 0.5672 GB, free: 26.62 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004203/0.5459, allocations: 88.19 kB / 0.5673 GB, free: 26.61 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01119/0.5571, allocations: 5.132 MB / 0.5723 GB, free: 25.13 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009338/0.5581, allocations: 52.41 kB / 0.5723 GB, free: 25.1 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001929/0.5583, allocations: 26.66 kB / 0.5723 GB, free: 25.09 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,brk.BrkOpen) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 51 * 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 {15 13} Notification: Performance of prepare postOptimizeDAE: time 0.0007017/0.559, allocations: 178.8 kB / 0.5725 GB, free: 24.98 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002778/0.5593, allocations: 50.16 kB / 0.5726 GB, free: 24.95 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005/0.5643, allocations: 1.71 MB / 0.5742 GB, free: 24.48 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-05/0.5643, allocations: 8.656 kB / 0.5742 GB, free: 24.48 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.927e-06/0.5643, allocations: 9 kB / 0.5742 GB, free: 24.47 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.236e-05/0.5644, allocations: 3.984 kB / 0.5742 GB, free: 24.46 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00598/0.5704, allocations: 2.636 MB / 0.5768 GB, free: 23.55 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.372e-06/0.5704, allocations: 1.062 kB / 0.5768 GB, free: 23.55 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000394/0.5708, allocations: 93.14 kB / 0.5769 GB, free: 23.53 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004008/0.5748, allocations: 0.9137 MB / 0.5778 GB, free: 23.23 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.072e-05/0.5749, allocations: 17.89 kB / 0.5778 GB, free: 23.23 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008796/0.5837, allocations: 5.058 MB / 0.5828 GB, free: 21.39 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.5837, allocations: 4 kB / 0.5828 GB, free: 21.38 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004026/0.5878, allocations: 1.674 MB / 0.5844 GB, free: 20.38 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002077/0.588, allocations: 140 kB / 0.5845 GB, free: 20.24 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001079/0.5881, allocations: 15.98 kB / 0.5845 GB, free: 20.23 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005754/0.5887, allocations: 35.23 kB / 0.5846 GB, free: 20.21 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001683/0.5889, allocations: 68.08 kB / 0.5846 GB, free: 20.18 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.979e-05/0.5889, allocations: 35.34 kB / 0.5847 GB, free: 20.16 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003101/0.5893, allocations: 260.7 kB / 0.5849 GB, free: 19.99 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5893, allocations: 0 / 0.5849 GB, free: 19.99 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009013/0.5902, allocations: 258 kB / 0.5852 GB, free: 19.95 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,brk.BrkOpen) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (59): * Single equations (assignments): 58 * 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 {15 13} Notification: Performance of Backend phase and start with SimCode phase: time 0.004264/0.5945, allocations: 2.246 MB / 0.5874 GB, free: 18.39 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003164/0.5976, allocations: 1.397 MB / 0.5887 GB, free: 17.63 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.5976, allocations: 0 / 0.5887 GB, free: 17.63 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00232/0.6, allocations: 0.9936 MB / 0.5897 GB, free: 17.07 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004056/0.6004, allocations: 50.28 kB / 0.5897 GB, free: 17.04 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007565/0.608, allocations: 4.543 MB / 0.5942 GB, free: 14.08 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004626/0.6085, allocations: 0.882 MB / 0.595 GB, free: 13.3 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003109/0.6088, allocations: 75.17 kB / 0.5951 GB, free: 13.26 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002478/0.609, allocations: 186.6 kB / 0.5953 GB, free: 13.11 MB / 378.7 MB Notification: Performance of SimCode: time 1.012e-06/0.609, allocations: 4 kB / 0.5953 GB, free: 13.1 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04279/0.6518, allocations: 18.7 MB / 0.6136 GB, free: 1.785 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002209/0.6521, allocations: 197.9 kB / 0.6138 GB, free: 1.543 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.273/2.925, allocations: 0 / 0.6138 GB, free: 1.543 MB / 378.7 MB (rm -f PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding2.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding2.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding2.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_BreakerTests_Islanding2_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_BreakerTests_Islanding2.fmu > PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding2.pipe 2>&1)