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.001348/0.001348, allocations: 177.1 kB / 8.048 MB, free: 1.027 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.686/1.686, allocations: 221.5 MB / 230 MB, free: 7.539 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.0009212/0.0009212, allocations: 103.8 kB / 280.9 MB, free: 5.297 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.04751/0.04751, allocations: 8.099 MB / 339.8 MB, free: 6.992 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.914e-05/1.909e-05, allocations: 3.656 kB / 398.6 MB, free: 49.12 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09257/0.09261, allocations: 52.52 MB / 451.1 MB, free: 5.27 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.108/0.2007, allocations: 81.61 MB / 0.5202 GB, free: 3.555 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001882/0.2009, allocations: 71.91 kB / 0.5203 GB, free: 3.484 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2671/0.468, allocations: 17.08 MB / 0.537 GB, free: 78.2 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.468, allocations: 0 / 0.537 GB, free: 78.2 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.15e-05/0.4681, allocations: 9.844 kB / 0.537 GB, free: 78.2 MB / 362.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.003031/0.4711, allocations: 1.051 MB / 0.538 GB, free: 77.52 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.786e-05/0.4712, allocations: 11.48 kB / 0.538 GB, free: 77.52 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000223/0.4714, allocations: 63.44 kB / 0.5381 GB, free: 77.49 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000609/0.472, allocations: 414.4 kB / 0.5385 GB, free: 77.15 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.419e-05/0.4721, allocations: 50.62 kB / 0.5385 GB, free: 77.12 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.684e-05/0.4722, allocations: 24 kB / 0.5385 GB, free: 77.12 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008833/0.4731, allocations: 0.6072 MB / 0.5391 GB, free: 76.81 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009256/0.474, allocations: 0.6174 MB / 0.5397 GB, free: 76.44 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.607e-05/0.474, allocations: 7.953 kB / 0.5397 GB, free: 76.43 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.972e-05/0.4741, allocations: 0 / 0.5397 GB, free: 76.43 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.093e-05/0.4741, allocations: 11.81 kB / 0.5397 GB, free: 76.43 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00349/0.4776, allocations: 2.823 MB / 0.5425 GB, free: 73.96 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001128/0.4788, allocations: 1.016 MB / 0.5435 GB, free: 73.07 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004272/0.4792, allocations: 416.3 kB / 0.5439 GB, free: 72.66 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001693/0.4794, allocations: 97.78 kB / 0.544 GB, free: 72.55 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005853/0.48, allocations: 484.5 kB / 0.5444 GB, free: 72.07 MB / 362.7 MB Notification: Performance of pre-optimization done (n=74): time 2.785e-06/0.48, allocations: 0 / 0.5444 GB, free: 72.07 MB / 362.7 MB Notification: Performance of matching and sorting (n=74): time 0.003873/0.4839, allocations: 1.449 MB / 0.5459 GB, free: 70.61 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.758e-05/0.484, allocations: 85.89 kB / 0.5459 GB, free: 70.5 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003563/0.4843, allocations: 298.3 kB / 0.5462 GB, free: 70.21 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 7.596e-05/0.4844, allocations: 25.7 kB / 0.5462 GB, free: 70.18 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001169/0.4845, allocations: 209.4 kB / 0.5464 GB, free: 69.96 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001913/0.4847, allocations: 244.3 kB / 0.5467 GB, free: 69.72 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.015e-05/0.4848, allocations: 0 / 0.5467 GB, free: 69.72 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.49e-05/0.4849, allocations: 358.8 kB / 0.547 GB, free: 69.36 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003807/0.4853, allocations: 329.5 kB / 0.5473 GB, free: 69.04 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004326/0.4857, allocations: 387.2 kB / 0.5477 GB, free: 68.66 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008757/0.4866, allocations: 400.5 kB / 0.5481 GB, free: 68.27 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.4866, allocations: 0 / 0.5481 GB, free: 68.27 MB / 362.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.003815/0.4904, allocations: 1.512 MB / 0.5496 GB, free: 66.74 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.332e-05/0.4905, allocations: 4 kB / 0.5496 GB, free: 66.74 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/0.4905, allocations: 7.984 kB / 0.5496 GB, free: 66.73 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003544/0.494, allocations: 0.8864 MB / 0.5504 GB, free: 65.84 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003875/0.4945, allocations: 91.81 kB / 0.5505 GB, free: 65.75 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007508/0.502, allocations: 4.736 MB / 0.5552 GB, free: 60.9 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007154/0.5027, allocations: 35.67 kB / 0.5552 GB, free: 60.87 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.548e-05/0.5028, allocations: 23.98 kB / 0.5552 GB, free: 60.84 MB / 362.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 () * 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.0001888/0.503, allocations: 112.9 kB / 0.5553 GB, free: 60.73 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003891/0.5069, allocations: 1.468 MB / 0.5568 GB, free: 59.25 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001438/0.5071, allocations: 47.44 kB / 0.5568 GB, free: 59.2 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004141/0.5112, allocations: 1.643 MB / 0.5584 GB, free: 57.54 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.598e-06/0.5113, allocations: 8 kB / 0.5584 GB, free: 57.54 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.5113, allocations: 0 / 0.5584 GB, free: 57.54 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.102e-05/0.5113, allocations: 11.92 kB / 0.5584 GB, free: 57.52 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00496/0.5163, allocations: 2.491 MB / 0.5609 GB, free: 55 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.022e-06/0.5163, allocations: 0 / 0.5609 GB, free: 55 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003516/0.5167, allocations: 95.88 kB / 0.5609 GB, free: 54.91 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003469/0.5201, allocations: 0.8909 MB / 0.5618 GB, free: 54.01 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001077/0.5203, allocations: 11.98 kB / 0.5618 GB, free: 54 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007526/0.5278, allocations: 4.717 MB / 0.5664 GB, free: 49.16 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.62e-06/0.5279, allocations: 4 kB / 0.5664 GB, free: 49.16 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004079/0.532, allocations: 1.622 MB / 0.568 GB, free: 47.52 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001817/0.5322, allocations: 140.4 kB / 0.5682 GB, free: 47.36 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001058/0.5323, allocations: 0 / 0.5682 GB, free: 47.36 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005091/0.5328, allocations: 27.97 kB / 0.5682 GB, free: 47.33 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001974/0.533, allocations: 64.69 kB / 0.5682 GB, free: 47.27 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.543e-05/0.5331, allocations: 31.94 kB / 0.5683 GB, free: 47.24 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002619/0.5333, allocations: 228.6 kB / 0.5685 GB, free: 47.02 MB / 362.7 MB Notification: Performance of sort global known variables: time 9.91e-07/0.5334, allocations: 0 / 0.5685 GB, free: 47.02 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007946/0.5342, allocations: 219.8 kB / 0.5687 GB, free: 46.8 MB / 362.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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 57 * 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.004164/0.5383, allocations: 2.174 MB / 0.5708 GB, free: 44.6 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002873/0.5412, allocations: 1.299 MB / 0.5721 GB, free: 43.29 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.761e-06/0.5412, allocations: 0 / 0.5721 GB, free: 43.29 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002167/0.5434, allocations: 0.9339 MB / 0.573 GB, free: 42.34 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004289/0.5439, allocations: 41.16 kB / 0.573 GB, free: 42.3 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001373/0.5452, allocations: 0.7619 MB / 0.5738 GB, free: 41.5 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002711/0.5455, allocations: 0.8896 MB / 0.5747 GB, free: 40.59 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002631/0.5458, allocations: 68.31 kB / 0.5747 GB, free: 40.52 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002109/0.546, allocations: 183.4 kB / 0.5749 GB, free: 40.34 MB / 362.7 MB Notification: Performance of SimCode: time 7.31e-07/0.546, allocations: 0 / 0.5749 GB, free: 40.34 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03769/0.5837, allocations: 17.46 MB / 0.5919 GB, free: 22.92 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001574/0.584, allocations: 126 kB / 0.5921 GB, free: 22.73 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.371/2.955, allocations: 4.031 kB / 0.5921 GB, free: 22.73 MB / 362.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)