Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.BreakerTests.DistrictWithOppositeBreakers.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.DistrictWithOppositeBreakers,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_BreakerTests_DistrictWithOppositeBreakers",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.BreakerTests.DistrictWithOppositeBreakers,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_BreakerTests_DistrictWithOppositeBreakers",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.002465/0.002465, allocations: 179.5 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.435/1.435, allocations: 223.2 MB / 239.7 MB, free: 72 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001178/0.001178, allocations: 98.67 kB / 290.9 MB, free: 4.562 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.04524/0.04524, allocations: 8.104 MB / 350.1 MB, free: 4.844 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003848/0.0003849, allocations: 8 kB / 413.2 MB, free: 5.699 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2907/0.2911, allocations: 52.52 MB / 465.7 MB, free: 69.62 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09383/0.385, allocations: 82.41 MB / 0.5353 GB, free: 3.094 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001927/0.3852, allocations: 83.95 kB / 0.5354 GB, free: 3.012 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3719/0.7571, allocations: 31.33 MB / 0.5659 GB, free: 82.29 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.767e-06/0.7572, allocations: 7.844 kB / 0.566 GB, free: 82.28 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.643e-05/0.7572, allocations: 15.59 kB / 0.566 GB, free: 82.28 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: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.005827/0.7631, allocations: 1.907 MB / 0.5678 GB, free: 81.54 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.164e-05/0.7631, allocations: 6.219 kB / 0.5678 GB, free: 81.54 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003031/0.7634, allocations: 133.2 kB / 0.568 GB, free: 81.5 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002426/0.7637, allocations: 124.1 kB / 0.5681 GB, free: 81.45 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001005/0.7647, allocations: 0.6482 MB / 0.5687 GB, free: 81.14 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.152e-05/0.7648, allocations: 127.9 kB / 0.5688 GB, free: 81.07 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001298/0.7649, allocations: 81 kB / 0.5689 GB, free: 81.05 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001898/0.7669, allocations: 1.281 MB / 0.5702 GB, free: 80.46 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.923e-05/0.7669, allocations: 0 / 0.5702 GB, free: 80.46 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001086/0.767, allocations: 37.5 kB / 0.5702 GB, free: 80.43 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.85e-05/0.767, allocations: 18.09 kB / 0.5702 GB, free: 80.43 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001795/0.7688, allocations: 1.228 MB / 0.5714 GB, free: 79.91 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006541/0.7754, allocations: 5.378 MB / 0.5767 GB, free: 76.09 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002032/0.7774, allocations: 2.225 MB / 0.5788 GB, free: 74.68 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001313/0.7776, allocations: 34.41 kB / 0.5789 GB, free: 74.68 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.874e-05/0.7776, allocations: 58.16 kB / 0.5789 GB, free: 74.62 MB / 378.7 MB Notification: Performance of pre-optimization done (n=148): time 3.266e-06/0.7776, allocations: 0 / 0.5789 GB, free: 74.62 MB / 378.7 MB Notification: Performance of matching and sorting (n=148): time 0.03175/0.8094, allocations: 7.938 MB / 0.5867 GB, free: 68.06 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.967e-05/0.8095, allocations: 145.8 kB / 0.5868 GB, free: 67.89 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007049/0.8102, allocations: 0.511 MB / 0.5873 GB, free: 67.38 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001855/0.8104, allocations: 57.7 kB / 0.5874 GB, free: 67.32 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001583/0.8106, allocations: 313.9 kB / 0.5877 GB, free: 67 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003321/0.8109, allocations: 0.4953 MB / 0.5882 GB, free: 66.52 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.443e-05/0.811, allocations: 24 kB / 0.5882 GB, free: 66.49 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000107/0.8111, allocations: 398.7 kB / 0.5886 GB, free: 66.09 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009308/0.8121, allocations: 0.6937 MB / 0.5892 GB, free: 65.4 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009477/0.813, allocations: 0.7984 MB / 0.59 GB, free: 64.59 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009868/0.814, allocations: 0.76 MB / 0.5908 GB, free: 63.84 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.814, allocations: 0 / 0.5908 GB, free: 63.84 MB / 378.7 MB Notification: Performance of matching and sorting (n=151) (initialization): time 0.008253/0.8223, allocations: 3.276 MB / 0.594 GB, free: 60.55 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.887e-05/0.8224, allocations: 12 kB / 0.594 GB, free: 60.54 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/0.8224, allocations: 0 / 0.594 GB, free: 60.54 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008627/0.831, allocations: 2.257 MB / 0.5962 GB, free: 58.27 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000655/0.8317, allocations: 147.7 kB / 0.5963 GB, free: 58.13 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01778/0.8495, allocations: 10.59 MB / 0.6067 GB, free: 47.44 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00126/0.8508, allocations: 91.11 kB / 0.6067 GB, free: 47.35 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001064/0.8509, allocations: 43.97 kB / 0.6068 GB, free: 47.3 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (brk1.BrkOpen) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (84): * Single equations (assignments): 83 * 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 {21 47} Notification: Performance of prepare postOptimizeDAE: time 0.0004705/0.8514, allocations: 242.2 kB / 0.607 GB, free: 47.06 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000183/0.8516, allocations: 102.9 kB / 0.6071 GB, free: 46.96 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008846/0.8604, allocations: 3.617 MB / 0.6107 GB, free: 43.32 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.84e-05/0.8605, allocations: 16 kB / 0.6107 GB, free: 43.31 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.8605, allocations: 3 kB / 0.6107 GB, free: 43.31 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.957e-05/0.8605, allocations: 15.86 kB / 0.6107 GB, free: 43.29 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01081/0.8714, allocations: 5.353 MB / 0.6159 GB, free: 37.91 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-05/0.8714, allocations: 4 kB / 0.6159 GB, free: 37.91 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006343/0.8721, allocations: 171.7 kB / 0.6161 GB, free: 37.74 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008702/0.8808, allocations: 2.104 MB / 0.6181 GB, free: 35.63 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002695/0.8811, allocations: 35.98 kB / 0.6182 GB, free: 35.6 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01784/0.8989, allocations: 10.47 MB / 0.6284 GB, free: 25 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.899, allocations: 7.953 kB / 0.6284 GB, free: 24.99 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008515/0.9075, allocations: 3.476 MB / 0.6318 GB, free: 21.49 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003756/0.9079, allocations: 207.4 kB / 0.632 GB, free: 21.27 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001778/0.9081, allocations: 31.94 kB / 0.632 GB, free: 21.23 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008974/0.909, allocations: 79.95 kB / 0.6321 GB, free: 21.16 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004402/0.9095, allocations: 130.4 kB / 0.6322 GB, free: 21.03 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.943e-05/0.9096, allocations: 51.94 kB / 0.6323 GB, free: 20.98 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004813/0.9101, allocations: 423 kB / 0.6327 GB, free: 20.57 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.9101, allocations: 0 / 0.6327 GB, free: 20.57 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001398/0.9115, allocations: 0.5114 MB / 0.6332 GB, free: 20.05 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: 1 (brk1.BrkOpen) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (103): * Single equations (assignments): 102 * 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 {21 47} Notification: Performance of Backend phase and start with SimCode phase: time 0.008398/0.9199, allocations: 4.086 MB / 0.6372 GB, free: 15.95 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.005389/0.9253, allocations: 2.668 MB / 0.6398 GB, free: 13.26 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.324e-06/0.9254, allocations: 4 kB / 0.6398 GB, free: 13.26 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004252/0.9296, allocations: 1.865 MB / 0.6416 GB, free: 11.38 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007994/0.9304, allocations: 86.97 kB / 0.6417 GB, free: 11.29 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01524/0.9457, allocations: 8.445 MB / 0.6499 GB, free: 2.656 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004625/0.9462, allocations: 1.069 MB / 0.651 GB, free: 1.559 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0005297/0.9467, allocations: 135.1 kB / 0.6511 GB, free: 1.422 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003937/0.9471, allocations: 371.3 kB / 0.6515 GB, free: 1.059 MB / 378.7 MB Notification: Performance of SimCode: time 8.92e-07/0.9472, allocations: 0 / 0.6515 GB, free: 1.059 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06585/1.013, allocations: 39.97 MB / 0.6905 GB, free: 9.32 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002315/1.013, allocations: 217.6 kB / 0.6907 GB, free: 9.082 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.012/4.025, allocations: 3.938 kB / 0.6907 GB, free: 9.078 MB / 426.7 MB (rm -f PowerSysPro_PowerSysPro.Examples.BreakerTests.DistrictWithOppositeBreakers.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.BreakerTests.DistrictWithOppositeBreakers.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.BreakerTests.DistrictWithOppositeBreakers.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.BreakerTests.DistrictWithOppositeBreakers.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_BreakerTests_DistrictWithOppositeBreakers_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_BreakerTests_DistrictWithOppositeBreakers.fmu > PowerSysPro_PowerSysPro.Examples.BreakerTests.DistrictWithOppositeBreakers.pipe 2>&1)