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.00116/0.001161, allocations: 177.6 kB / 8.045 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.353/1.353, allocations: 221.5 MB / 230 MB, free: 7.492 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.0009263/0.0009263, allocations: 105.1 kB / 280.9 MB, free: 5.242 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.03809/0.03809, allocations: 8.095 MB / 339.8 MB, free: 6.973 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.247e-05/2.25e-05, allocations: 3.875 kB / 398.6 MB, free: 49.02 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1084/0.1085, allocations: 52.53 MB / 451.1 MB, free: 5.207 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1078/0.2163, allocations: 81.68 MB / 0.5203 GB, free: 3.414 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002136/0.2166, allocations: 79.95 kB / 0.5204 GB, free: 3.336 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2735/0.4901, allocations: 30.82 MB / 0.5505 GB, free: 66.45 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.4901, allocations: 0 / 0.5505 GB, free: 66.45 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.793e-05/0.4902, allocations: 16.66 kB / 0.5505 GB, free: 66.43 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: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.005497/0.4957, allocations: 1.751 MB / 0.5522 GB, free: 64.63 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.315e-05/0.4957, allocations: 11.98 kB / 0.5522 GB, free: 64.62 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003443/0.4961, allocations: 126.6 kB / 0.5523 GB, free: 64.5 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008504/0.497, allocations: 0.6349 MB / 0.5529 GB, free: 63.82 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.536e-05/0.497, allocations: 101.8 kB / 0.553 GB, free: 63.71 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001096/0.4972, allocations: 48.28 kB / 0.5531 GB, free: 63.66 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00152/0.4987, allocations: 1.16 MB / 0.5542 GB, free: 62.5 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001619/0.5003, allocations: 1.151 MB / 0.5553 GB, free: 61.33 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.804e-05/0.5003, allocations: 0 / 0.5553 GB, free: 61.33 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.494e-05/0.5005, allocations: 0 / 0.5553 GB, free: 61.33 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.783e-05/0.5005, allocations: 20 kB / 0.5554 GB, free: 61.31 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006086/0.5066, allocations: 5.251 MB / 0.5605 GB, free: 55.62 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001831/0.5084, allocations: 2.138 MB / 0.5626 GB, free: 53.37 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00091/0.5094, allocations: 0.8939 MB / 0.5634 GB, free: 52.48 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001573/0.5095, allocations: 37.25 kB / 0.5635 GB, free: 52.45 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.771e-05/0.5096, allocations: 51.88 kB / 0.5635 GB, free: 52.39 MB / 362.7 MB Notification: Performance of pre-optimization done (n=147): time 3.367e-06/0.5096, allocations: 0 / 0.5635 GB, free: 52.39 MB / 362.7 MB Notification: Performance of matching and sorting (n=147): time 0.008475/0.5181, allocations: 3.155 MB / 0.5666 GB, free: 49.21 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.385e-05/0.5181, allocations: 145.8 kB / 0.5668 GB, free: 49.04 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006167/0.5188, allocations: 487.5 kB / 0.5672 GB, free: 48.55 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002479/0.519, allocations: 25.7 kB / 0.5672 GB, free: 48.52 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001783/0.5192, allocations: 321.8 kB / 0.5675 GB, free: 48.2 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003644/0.5196, allocations: 476.7 kB / 0.568 GB, free: 47.73 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.548e-05/0.5197, allocations: 0 / 0.568 GB, free: 47.73 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001142/0.5198, allocations: 402.7 kB / 0.5684 GB, free: 47.33 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008147/0.5206, allocations: 0.6548 MB / 0.569 GB, free: 46.68 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008111/0.5214, allocations: 0.7452 MB / 0.5698 GB, free: 45.92 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001661/0.5231, allocations: 0.7754 MB / 0.5705 GB, free: 45.15 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.069e-06/0.5231, allocations: 0 / 0.5705 GB, free: 45.15 MB / 362.7 MB Notification: Performance of matching and sorting (n=151) (initialization): time 0.008834/0.532, allocations: 3.194 MB / 0.5736 GB, free: 41.94 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.029e-05/0.532, allocations: 10.03 kB / 0.5736 GB, free: 41.93 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.17e-05/0.532, allocations: 0 / 0.5736 GB, free: 41.93 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008192/0.5402, allocations: 2.073 MB / 0.5757 GB, free: 39.86 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006845/0.541, allocations: 151.8 kB / 0.5758 GB, free: 39.71 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01641/0.5574, allocations: 9.744 MB / 0.5853 GB, free: 29.84 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00135/0.5588, allocations: 71.11 kB / 0.5854 GB, free: 29.77 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001049/0.5589, allocations: 35.98 kB / 0.5854 GB, free: 29.73 MB / 362.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: load11.terminal.i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real load21.terminal.i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real 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 () * 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.0003756/0.5593, allocations: 124.8 kB / 0.5855 GB, free: 29.61 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.008491/0.5678, allocations: 3.147 MB / 0.5886 GB, free: 26.44 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004659/0.5683, allocations: 102.9 kB / 0.5887 GB, free: 26.34 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008944/0.5773, allocations: 3.472 MB / 0.5921 GB, free: 22.86 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.117e-05/0.5774, allocations: 19.95 kB / 0.5921 GB, free: 22.84 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.5774, allocations: 0 / 0.5921 GB, free: 22.84 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.87e-05/0.5774, allocations: 11.91 kB / 0.5921 GB, free: 22.83 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0109/0.5883, allocations: 5.111 MB / 0.5971 GB, free: 17.66 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.424e-05/0.5884, allocations: 4 kB / 0.5971 GB, free: 17.66 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006719/0.5891, allocations: 171.7 kB / 0.5973 GB, free: 17.49 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008125/0.5972, allocations: 2.093 MB / 0.5993 GB, free: 15.4 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001915/0.5974, allocations: 7.984 kB / 0.5993 GB, free: 15.39 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01573/0.6132, allocations: 9.738 MB / 0.6089 GB, free: 5.523 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.78e-06/0.6132, allocations: 0 / 0.6089 GB, free: 5.523 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008999/0.6222, allocations: 3.378 MB / 0.6122 GB, free: 2.125 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003473/0.6226, allocations: 199.5 kB / 0.6123 GB, free: 1.91 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002274/0.6229, allocations: 4 kB / 0.6124 GB, free: 1.906 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000995/0.6239, allocations: 51.95 kB / 0.6124 GB, free: 1.855 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003979/0.6243, allocations: 138.2 kB / 0.6125 GB, free: 1.719 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.513e-05/0.6244, allocations: 43.98 kB / 0.6126 GB, free: 1.676 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004147/0.6248, allocations: 379.2 kB / 0.6129 GB, free: 1.305 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.6248, allocations: 0 / 0.6129 GB, free: 1.305 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001353/0.6262, allocations: 451.7 kB / 0.6134 GB, free: 0.8633 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: 1 (brk1.BrkOpen) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (102): * Single equations (assignments): 101 * 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.009796/0.636, allocations: 3.946 MB / 0.6172 GB, free: 12.89 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.006045/0.642, allocations: 2.503 MB / 0.6197 GB, free: 10.38 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 8.406e-06/0.6421, allocations: 0 / 0.6197 GB, free: 10.38 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004691/0.6468, allocations: 1.753 MB / 0.6214 GB, free: 8.617 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009086/0.6477, allocations: 63.2 kB / 0.6214 GB, free: 8.559 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00304/0.6508, allocations: 1.461 MB / 0.6229 GB, free: 7.055 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006586/0.6515, allocations: 1.073 MB / 0.6239 GB, free: 5.949 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004714/0.652, allocations: 131.2 kB / 0.624 GB, free: 5.816 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004338/0.6524, allocations: 367.3 kB / 0.6244 GB, free: 5.457 MB / 378.7 MB Notification: Performance of SimCode: time 5.11e-07/0.6524, allocations: 0 / 0.6244 GB, free: 5.457 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07428/0.7267, allocations: 37.7 MB / 0.6612 GB, free: 15.81 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002255/0.727, allocations: 157.7 kB / 0.6614 GB, free: 15.61 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.741/3.468, allocations: 3.938 kB / 0.6614 GB, free: 15.61 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)