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.001472/0.001472, allocations: 183.2 kB / 16.39 MB, free: 5.762 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.337/1.337, allocations: 194.5 MB / 211.6 MB, free: 3.043 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.001608/0.001608, allocations: 121.4 kB / 256.9 MB, free: 4.352 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.186/0.186, allocations: 38 MB / 340.1 MB, free: 1.352 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004154/0.0004153, allocations: 8 kB / 403.9 MB, free: 68.7 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1087/0.1092, allocations: 53.23 MB / 457.1 MB, free: 15.46 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3764/0.4856, allocations: 93.63 MB / 0.5378 GB, free: 1.617 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002571/0.4859, allocations: 93.39 kB / 0.5379 GB, free: 1.566 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02772/0.5136, allocations: 10.09 MB / 0.5478 GB, free: 8.891 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.086e-06/0.5137, allocations: 0 / 0.5478 GB, free: 8.891 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.176e-05/0.5138, allocations: 12 kB / 0.5478 GB, free: 8.879 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: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.001648/0.5154, allocations: 0.7981 MB / 0.5486 GB, free: 8.062 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.821e-05/0.5155, allocations: 12.02 kB / 0.5486 GB, free: 8.051 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001043/0.5156, allocations: 77.53 kB / 0.5487 GB, free: 7.988 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001008/0.5157, allocations: 55.34 kB / 0.5487 GB, free: 7.934 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00228/0.518, allocations: 0.8936 MB / 0.5496 GB, free: 7.141 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.266e-05/0.5181, allocations: 27.75 kB / 0.5496 GB, free: 7.121 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.21e-05/0.5181, allocations: 35.5 kB / 0.5496 GB, free: 7.098 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007712/0.5189, allocations: 483.6 kB / 0.5501 GB, free: 6.719 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.299e-05/0.5189, allocations: 0 / 0.5501 GB, free: 6.719 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.028e-05/0.519, allocations: 14.94 kB / 0.5501 GB, free: 6.715 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.883e-05/0.519, allocations: 12 kB / 0.5501 GB, free: 6.703 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005709/0.5196, allocations: 358.4 kB / 0.5505 GB, free: 6.457 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0025/0.5221, allocations: 1.712 MB / 0.5521 GB, free: 4.941 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005659/0.5227, allocations: 314.5 kB / 0.5524 GB, free: 4.707 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.427e-05/0.5227, allocations: 4.297 kB / 0.5524 GB, free: 4.703 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004303/0.5232, allocations: 280 kB / 0.5527 GB, free: 4.457 MB / 362.7 MB Notification: Performance of pre-optimization done (n=35): time 1.933e-06/0.5232, allocations: 0 / 0.5527 GB, free: 4.457 MB / 362.7 MB Notification: Performance of matching and sorting (n=36): time 0.002347/0.5255, allocations: 1.424 MB / 0.5541 GB, free: 3.133 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.941e-05/0.5256, allocations: 144.4 kB / 0.5542 GB, free: 2.961 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003575/0.526, allocations: 333.2 kB / 0.5546 GB, free: 2.688 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.459e-05/0.526, allocations: 33.08 kB / 0.5546 GB, free: 2.652 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001847/0.5262, allocations: 262.6 kB / 0.5548 GB, free: 2.453 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.465e-05/0.5263, allocations: 115.5 kB / 0.555 GB, free: 2.355 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.841e-05/0.5264, allocations: 7.188 kB / 0.555 GB, free: 2.355 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001673/0.5265, allocations: 356.7 kB / 0.5553 GB, free: 2.016 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002057/0.5268, allocations: 126.6 kB / 0.5554 GB, free: 1.93 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002796/0.527, allocations: 253.8 kB / 0.5557 GB, free: 1.684 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002669/0.5273, allocations: 188.9 kB / 0.5558 GB, free: 1.547 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.5273, allocations: 0 / 0.5558 GB, free: 1.547 MB / 362.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0008257/0.5282, allocations: 0.5285 MB / 0.5564 GB, free: 1.117 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.418e-05/0.5282, allocations: 33.69 kB / 0.5564 GB, free: 1.078 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.5282, allocations: 4 kB / 0.5564 GB, free: 1.074 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002674/0.5285, allocations: 78.77 kB / 0.5565 GB, free: 1.004 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002652/0.5288, allocations: 71.59 kB / 0.5565 GB, free: 0.9375 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002451/0.5312, allocations: 2.777 MB / 0.5592 GB, free: 14.04 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002859/0.5315, allocations: 30.98 kB / 0.5593 GB, free: 14.02 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.25e-05/0.5316, allocations: 19.31 kB / 0.5593 GB, free: 14 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 () * Number of clocked 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.0004238/0.532, allocations: 244.1 kB / 0.5595 GB, free: 13.78 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.92e-05/0.5321, allocations: 43.44 kB / 0.5596 GB, free: 13.74 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001002/0.5331, allocations: 476.4 kB / 0.56 GB, free: 13.38 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.498e-06/0.5331, allocations: 7.953 kB / 0.56 GB, free: 13.38 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.5332, allocations: 4 kB / 0.56 GB, free: 13.37 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.008e-05/0.5332, allocations: 3.984 kB / 0.56 GB, free: 13.37 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001568/0.5347, allocations: 1.018 MB / 0.561 GB, free: 12.5 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.836e-06/0.5348, allocations: 0 / 0.561 GB, free: 12.5 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000194/0.535, allocations: 47.34 kB / 0.5611 GB, free: 12.46 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002194/0.5352, allocations: 81.7 kB / 0.5612 GB, free: 12.38 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.324e-05/0.5352, allocations: 11.48 kB / 0.5612 GB, free: 12.38 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002301/0.5375, allocations: 2.782 MB / 0.5639 GB, free: 9.484 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.5376, allocations: 0 / 0.5639 GB, free: 9.484 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001058/0.5386, allocations: 0.7652 MB / 0.5646 GB, free: 8.844 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001102/0.5387, allocations: 116.2 kB / 0.5647 GB, free: 8.715 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.111e-05/0.5388, allocations: 13.62 kB / 0.5648 GB, free: 8.707 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002334/0.5391, allocations: 18.73 kB / 0.5648 GB, free: 8.691 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001015/0.5392, allocations: 45.56 kB / 0.5648 GB, free: 8.652 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.597e-05/0.5392, allocations: 10.94 kB / 0.5648 GB, free: 8.645 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002758/0.5395, allocations: 258.3 kB / 0.5651 GB, free: 8.441 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5395, allocations: 0 / 0.5651 GB, free: 8.441 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005042/0.54, allocations: 120.1 kB / 0.5652 GB, free: 8.336 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) * Number of clocked states: 0 () * 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.001505/0.5415, allocations: 1.476 MB / 0.5666 GB, free: 6.988 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009478/0.5425, allocations: 0.6261 MB / 0.5672 GB, free: 6.422 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.5425, allocations: 4.875 kB / 0.5672 GB, free: 6.418 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006457/0.5432, allocations: 495.7 kB / 0.5677 GB, free: 5.957 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004583/0.5436, allocations: 78.73 kB / 0.5678 GB, free: 5.898 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005175/0.5488, allocations: 5.228 MB / 0.5729 GB, free: 0.9453 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005492/0.5494, allocations: 0.8756 MB / 0.5738 GB, free: 60 kB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000275/0.5497, allocations: 75.34 kB / 0.5738 GB, free: 15.98 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002127/0.5499, allocations: 154 kB / 0.574 GB, free: 15.94 MB / 394.7 MB Notification: Performance of SimCode: time 5.01e-07/0.5499, allocations: 0 / 0.574 GB, free: 15.94 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02606/0.576, allocations: 8.959 MB / 0.5827 GB, free: 7 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002725/0.5763, allocations: 193.6 kB / 0.5829 GB, free: 6.762 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.146/2.723, allocations: 0 / 0.5829 GB, free: 6.762 MB / 394.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)