Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo", uses=false) Using package PowerSystems with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Elementary.Breaker,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_Breaker",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Elementary.Breaker,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_Breaker",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001346/0.001346, allocations: 182 kB / 13.64 MB, free: 1.676 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.672/1.672, allocations: 194.2 MB / 208.4 MB, free: 6.707 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001662/0.001662, allocations: 116.7 kB / 253.5 MB, free: 9.578 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1895/0.1895, allocations: 37.91 MB / 336.4 MB, free: 14.26 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 4.572e-05/4.607e-05, allocations: 0 / 397.6 MB, free: 0.9453 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2828/0.2829, allocations: 53.22 MB / 450.9 MB, free: 13.46 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4181/0.701, allocations: 93.54 MB / 0.5316 GB, free: 87.54 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003525/0.7014, allocations: 92.19 kB / 0.5317 GB, free: 87.54 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03261/0.734, allocations: 10.09 MB / 0.5416 GB, free: 85.14 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.444e-06/0.7341, allocations: 0 / 0.5416 GB, free: 85.14 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.444e-05/0.7341, allocations: 9.531 kB / 0.5416 GB, free: 85.14 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: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.0012/0.7353, allocations: 0.7188 MB / 0.5423 GB, free: 84.52 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.377e-05/0.7354, allocations: 11.81 kB / 0.5423 GB, free: 84.52 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.635e-05/0.7355, allocations: 74.27 kB / 0.5424 GB, free: 84.45 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000101/0.7356, allocations: 54.94 kB / 0.5424 GB, free: 84.43 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001974/0.7376, allocations: 0.8802 MB / 0.5433 GB, free: 83.82 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.323e-05/0.7376, allocations: 28.34 kB / 0.5433 GB, free: 83.81 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.497e-05/0.7377, allocations: 39.88 kB / 0.5433 GB, free: 83.8 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006512/0.7384, allocations: 470.8 kB / 0.5438 GB, free: 83.49 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.463e-05/0.7384, allocations: 4 kB / 0.5438 GB, free: 83.49 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.969e-05/0.7384, allocations: 19.16 kB / 0.5438 GB, free: 83.48 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.886e-06/0.7385, allocations: 7.375 kB / 0.5438 GB, free: 83.48 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005094/0.739, allocations: 350.9 kB / 0.5442 GB, free: 83.33 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001994/0.741, allocations: 1.71 MB / 0.5458 GB, free: 81.92 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005283/0.7415, allocations: 310.5 kB / 0.5461 GB, free: 81.75 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004165/0.742, allocations: 221.2 kB / 0.5463 GB, free: 81.65 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.153e-05/0.742, allocations: 7.891 kB / 0.5463 GB, free: 81.65 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003756/0.7424, allocations: 281.3 kB / 0.5466 GB, free: 81.44 MB / 378.7 MB Notification: Performance of pre-optimization done (n=35): time 1.994e-06/0.7424, allocations: 0 / 0.5466 GB, free: 81.44 MB / 378.7 MB Notification: Performance of matching and sorting (n=36): time 0.001608/0.744, allocations: 1.051 MB / 0.5476 GB, free: 80.66 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.915e-05/0.7441, allocations: 144.4 kB / 0.5478 GB, free: 80.49 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002892/0.7444, allocations: 319.5 kB / 0.5481 GB, free: 80.17 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.575e-05/0.7444, allocations: 33.7 kB / 0.5481 GB, free: 80.13 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000147/0.7446, allocations: 256 kB / 0.5484 GB, free: 79.88 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.901e-05/0.7446, allocations: 114.4 kB / 0.5485 GB, free: 79.77 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.937e-05/0.7447, allocations: 11.94 kB / 0.5485 GB, free: 79.75 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.369e-05/0.7448, allocations: 354.8 kB / 0.5488 GB, free: 79.4 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001895/0.745, allocations: 129.1 kB / 0.5489 GB, free: 79.27 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000223/0.7452, allocations: 252.1 kB / 0.5492 GB, free: 78.97 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002251/0.7454, allocations: 185.1 kB / 0.5494 GB, free: 78.79 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.7454, allocations: 0 / 0.5494 GB, free: 78.79 MB / 378.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0006668/0.7461, allocations: 0.5307 MB / 0.5499 GB, free: 78.23 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.754e-05/0.7461, allocations: 29.7 kB / 0.5499 GB, free: 78.2 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.7462, allocations: 4 kB / 0.5499 GB, free: 78.2 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002398/0.7464, allocations: 74.11 kB / 0.55 GB, free: 78.12 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002455/0.7467, allocations: 79.84 kB / 0.5501 GB, free: 78.04 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001585/0.7482, allocations: 2.748 MB / 0.5527 GB, free: 75.02 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002933/0.7486, allocations: 32.14 kB / 0.5528 GB, free: 74.99 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.087e-05/0.7486, allocations: 19.95 kB / 0.5528 GB, free: 74.97 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 18 (system.initime,$whenCondition1,$PRE.relay.cnt,relay.cnt,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$PRE.relay.y[1],relay.y[1],$PRE.breaker.breaker_1.arc,breaker.breaker_1.arc,$PRE.breaker.breaker_1.open,breaker.breaker_1.open,breaker.breaker_1.closed,$PRE.breaker.breaker_1.t0,breaker.breaker_1.t0,breaker.breaker_1.opening) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001417/0.7487, allocations: 166.4 kB / 0.5529 GB, free: 74.79 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.268e-05/0.7488, allocations: 39.53 kB / 0.553 GB, free: 74.75 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007303/0.7495, allocations: 476.9 kB / 0.5534 GB, free: 74.27 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.7496, allocations: 7.953 kB / 0.5534 GB, free: 74.27 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.7496, allocations: 4 kB / 0.5535 GB, free: 74.26 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/0.7496, allocations: 3.938 kB / 0.5535 GB, free: 74.26 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001236/0.7508, allocations: 1.017 MB / 0.5544 GB, free: 73.18 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.7508, allocations: 4.031 kB / 0.5545 GB, free: 73.17 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001729/0.751, allocations: 47.92 kB / 0.5545 GB, free: 73.12 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001869/0.7512, allocations: 85.53 kB / 0.5546 GB, free: 73.04 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.957e-05/0.7513, allocations: 8 kB / 0.5546 GB, free: 73.03 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001487/0.7528, allocations: 2.759 MB / 0.5573 GB, free: 70 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.7528, allocations: 0 / 0.5573 GB, free: 70 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008912/0.7537, allocations: 0.7646 MB / 0.558 GB, free: 69.19 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.279e-05/0.7538, allocations: 112.6 kB / 0.5581 GB, free: 69.06 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.668e-05/0.7538, allocations: 19.98 kB / 0.5582 GB, free: 69.04 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002242/0.7541, allocations: 19.98 kB / 0.5582 GB, free: 69.02 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001064/0.7542, allocations: 32.02 kB / 0.5582 GB, free: 68.99 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.256e-05/0.7542, allocations: 16 kB / 0.5582 GB, free: 68.98 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000246/0.7545, allocations: 254.1 kB / 0.5585 GB, free: 68.73 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.7545, allocations: 0 / 0.5585 GB, free: 68.73 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004837/0.755, allocations: 120 kB / 0.5586 GB, free: 68.61 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (ind.i[1],ind.i[2]) * Number of discrete variables: 13 (breaker.breaker_1.closed,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,relay.y[1],relay.cnt,breaker.breaker_1.arc,breaker.breaker_1.open,breaker.breaker_1.t0,breaker.breaker_1.opening,system.initime) * Number of discrete states: 5 (breaker.breaker_1.arc,relay.y[1],relay.cnt,$whenCondition1,breaker.breaker_1.open) * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001223/0.7562, allocations: 1.458 MB / 0.56 GB, free: 67.1 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008594/0.7571, allocations: 0.6292 MB / 0.5606 GB, free: 66.43 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.7571, allocations: 0 / 0.5606 GB, free: 66.43 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005219/0.7576, allocations: 493.4 kB / 0.5611 GB, free: 65.91 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004692/0.7581, allocations: 78.8 kB / 0.5612 GB, free: 65.84 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001524/0.7596, allocations: 0.8409 MB / 0.562 GB, free: 64.95 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003524/0.76, allocations: 0.8742 MB / 0.5628 GB, free: 64.05 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002321/0.7602, allocations: 79.28 kB / 0.5629 GB, free: 63.98 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000194/0.7604, allocations: 155.3 kB / 0.5631 GB, free: 63.82 MB / 378.7 MB Notification: Performance of SimCode: time 2.51e-07/0.7604, allocations: 0 / 0.5631 GB, free: 63.82 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02283/0.7833, allocations: 8.924 MB / 0.5718 GB, free: 54.91 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000164/0.7835, allocations: 168.5 kB / 0.5719 GB, free: 54.69 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.407/3.19, allocations: 0 / 0.5719 GB, free: 54.69 MB / 378.7 MB (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_Breaker_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_Breaker.fmu > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker.pipe 2>&1)