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.001156/0.001156, allocations: 182.4 kB / 13.23 MB, free: 2.086 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.498/1.498, allocations: 221.3 MB / 235.1 MB, free: 14.39 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009422/0.0009422, allocations: 98.17 kB / 286.1 MB, free: 12.98 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.05389/0.05389, allocations: 8.102 MB / 345.1 MB, free: 1.918 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.118e-05/3.13e-05, allocations: 4 kB / 405.6 MB, free: 61.87 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08373/0.08378, allocations: 52.52 MB / 458.1 MB, free: 9.352 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3588/0.4426, allocations: 82.61 MB / 0.528 GB, free: 3.445 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002326/0.4429, allocations: 66.47 kB / 0.5281 GB, free: 3.414 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08326/0.5262, allocations: 31.27 MB / 0.5586 GB, free: 10.53 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.5263, allocations: 0 / 0.5586 GB, free: 10.53 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.054e-05/0.5263, allocations: 20 kB / 0.5586 GB, free: 10.51 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.006609/0.533, allocations: 1.746 MB / 0.5603 GB, free: 8.848 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.536e-05/0.533, allocations: 12.03 kB / 0.5604 GB, free: 8.836 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003152/0.5333, allocations: 130.9 kB / 0.5605 GB, free: 8.699 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003798/0.5337, allocations: 126.6 kB / 0.5606 GB, free: 8.574 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001194/0.5349, allocations: 0.6353 MB / 0.5612 GB, free: 7.898 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001119/0.5351, allocations: 121.4 kB / 0.5613 GB, free: 7.77 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001709/0.5352, allocations: 79.98 kB / 0.5614 GB, free: 7.691 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002215/0.5375, allocations: 1.264 MB / 0.5626 GB, free: 6.406 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.835e-05/0.5375, allocations: 0 / 0.5626 GB, free: 6.406 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001124/0.5376, allocations: 36 kB / 0.5627 GB, free: 6.371 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.611e-05/0.5376, allocations: 20 kB / 0.5627 GB, free: 6.352 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001927/0.5396, allocations: 1.195 MB / 0.5639 GB, free: 5.156 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007471/0.5471, allocations: 5.387 MB / 0.5691 GB, free: 15.32 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002712/0.5498, allocations: 2.2 MB / 0.5713 GB, free: 13 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00133/0.5512, allocations: 0.9384 MB / 0.5722 GB, free: 12.07 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001685/0.5513, allocations: 33.19 kB / 0.5722 GB, free: 12.04 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.551e-05/0.5514, allocations: 51.88 kB / 0.5723 GB, free: 11.98 MB / 394.7 MB Notification: Performance of pre-optimization done (n=148): time 3.376e-06/0.5514, allocations: 0 / 0.5723 GB, free: 11.98 MB / 394.7 MB Notification: Performance of matching and sorting (n=148): time 0.009033/0.5604, allocations: 3.175 MB / 0.5754 GB, free: 8.789 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.921e-05/0.5606, allocations: 157.8 kB / 0.5755 GB, free: 8.602 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007406/0.5613, allocations: 0.4956 MB / 0.576 GB, free: 8.105 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00014/0.5615, allocations: 49.7 kB / 0.5761 GB, free: 8.051 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002523/0.5617, allocations: 321.8 kB / 0.5764 GB, free: 7.73 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000522/0.5623, allocations: 0.4927 MB / 0.5768 GB, free: 7.23 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.26e-05/0.5624, allocations: 24 kB / 0.5769 GB, free: 7.207 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.00021/0.5626, allocations: 402.7 kB / 0.5772 GB, free: 6.805 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001089/0.5637, allocations: 0.6822 MB / 0.5779 GB, free: 6.125 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001154/0.5648, allocations: 0.7673 MB / 0.5787 GB, free: 5.344 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001318/0.5662, allocations: 0.7469 MB / 0.5794 GB, free: 4.598 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.741e-06/0.5662, allocations: 0 / 0.5794 GB, free: 4.598 MB / 394.7 MB Notification: Performance of matching and sorting (n=151) (initialization): time 0.009056/0.5753, allocations: 3.253 MB / 0.5826 GB, free: 1.332 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.895e-05/0.5753, allocations: 11.89 kB / 0.5826 GB, free: 1.32 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.028e-05/0.5753, allocations: 0 / 0.5826 GB, free: 1.32 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01007/0.5854, allocations: 2.249 MB / 0.5848 GB, free: 15.06 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007878/0.5862, allocations: 147.8 kB / 0.5849 GB, free: 14.92 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01981/0.6061, allocations: 10.04 MB / 0.5947 GB, free: 4.758 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001232/0.6073, allocations: 95.11 kB / 0.5948 GB, free: 4.664 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001226/0.6075, allocations: 43.97 kB / 0.5949 GB, free: 4.621 MB / 410.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 () * 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.0002854/0.6078, allocations: 164.9 kB / 0.595 GB, free: 4.453 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002171/0.608, allocations: 106.7 kB / 0.5951 GB, free: 4.348 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009512/0.6175, allocations: 3.582 MB / 0.5986 GB, free: 0.7539 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.991e-05/0.6176, allocations: 16 kB / 0.5986 GB, free: 0.7383 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.6176, allocations: 7.938 kB / 0.5986 GB, free: 0.7305 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.977e-05/0.6176, allocations: 7.969 kB / 0.5986 GB, free: 0.7227 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01163/0.6293, allocations: 5.318 MB / 0.6038 GB, free: 11.34 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.411e-05/0.6293, allocations: 0 / 0.6038 GB, free: 11.34 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007265/0.63, allocations: 175.8 kB / 0.604 GB, free: 11.17 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008664/0.6387, allocations: 2.089 MB / 0.606 GB, free: 9.078 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003786/0.6391, allocations: 47.94 kB / 0.6061 GB, free: 9.031 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01899/0.6581, allocations: 9.929 MB / 0.6158 GB, free: 14.96 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.544e-06/0.6582, allocations: 0 / 0.6158 GB, free: 14.96 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009049/0.6672, allocations: 3.448 MB / 0.6192 GB, free: 11.48 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005653/0.6679, allocations: 203.4 kB / 0.6193 GB, free: 11.26 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003122/0.6682, allocations: 31.95 kB / 0.6194 GB, free: 11.23 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001036/0.6692, allocations: 83.94 kB / 0.6195 GB, free: 11.15 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005004/0.6698, allocations: 126.4 kB / 0.6196 GB, free: 11.03 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001221/0.6699, allocations: 55.91 kB / 0.6196 GB, free: 10.97 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0005502/0.6704, allocations: 411.2 kB / 0.62 GB, free: 10.57 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6704, allocations: 0 / 0.62 GB, free: 10.57 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001648/0.6721, allocations: 0.5036 MB / 0.6205 GB, free: 10.07 MB / 442.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 (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.009182/0.6813, allocations: 4.044 MB / 0.6245 GB, free: 5.996 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.006159/0.6875, allocations: 2.611 MB / 0.627 GB, free: 3.371 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.46e-06/0.6875, allocations: 0 / 0.627 GB, free: 3.371 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004723/0.6923, allocations: 1.824 MB / 0.6288 GB, free: 1.523 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000861/0.6932, allocations: 90.92 kB / 0.6289 GB, free: 1.438 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003502/0.6967, allocations: 1.599 MB / 0.6304 GB, free: 15.8 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006478/0.6973, allocations: 1.081 MB / 0.6315 GB, free: 14.68 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0004876/0.6978, allocations: 131.2 kB / 0.6316 GB, free: 14.55 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004791/0.6983, allocations: 367.2 kB / 0.632 GB, free: 14.2 MB / 458.7 MB Notification: Performance of SimCode: time 5.61e-07/0.6983, allocations: 0 / 0.632 GB, free: 14.2 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4548/1.153, allocations: 40.2 MB / 0.6712 GB, free: 134.9 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002164/1.153, allocations: 195.1 kB / 0.6714 GB, free: 134.7 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.831/3.984, allocations: 1.828 kB / 0.6714 GB, free: 134.7 MB / 458.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)