Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker.conf.json 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/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/PowerSystems 2.0.0-master/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Elementary.Breaker,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Elementary_Breaker",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Elementary.Breaker,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Elementary_Breaker",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009741/0.0009743, allocations: 88.53 kB / 16.31 MB, free: 6.449 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001251/0.001251, allocations: 183 kB / 17.21 MB, free: 6.316 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.452/1.452, allocations: 223.2 MB / 241.2 MB, free: 5.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.3518/0.3518, allocations: 38.07 MB / 330.4 MB, free: 14.16 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003399/0.0003399, allocations: 12 kB / 400.2 MB, free: 9.164 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.345/0.3454, allocations: 59.16 MB / 459.3 MB, free: 30.09 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Breaker): time 0.00582/0.3512, allocations: 5.263 MB / 464.6 MB, free: 26.35 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002465/0.3537, allocations: 1.286 MB / 465.9 MB, free: 25.43 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002986/0.3541, allocations: 26.94 kB / 465.9 MB, free: 25.42 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003557/0.3544, allocations: 91.09 kB / 466 MB, free: 25.38 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007801/0.3552, allocations: 330.8 kB / 466.3 MB, free: 25.2 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004429/0.3557, allocations: 147.4 kB / 466.5 MB, free: 25.13 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009932/0.3567, allocations: 0.8591 MB / 467.3 MB, free: 24.82 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002733/0.357, allocations: 144.7 kB / 467.5 MB, free: 24.76 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004105/0.3574, allocations: 259.1 kB / 467.7 MB, free: 24.66 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006156/0.358, allocations: 358.5 kB / 468.1 MB, free: 24.54 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.71e-05/0.3581, allocations: 19.75 kB / 468.1 MB, free: 24.54 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.039e-05/0.3582, allocations: 20.22 kB / 468.1 MB, free: 24.54 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002613/0.3584, allocations: 174.7 kB / 468.3 MB, free: 24.5 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001253/0.3586, allocations: 117.1 kB / 468.4 MB, free: 24.42 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005222/0.3591, allocations: 420.9 kB / 468.8 MB, free: 24.32 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.3591, allocations: 0 / 468.8 MB, free: 24.32 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.3591, allocations: 0 / 468.8 MB, free: 24.32 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.296e-06/0.3591, allocations: 0 / 468.8 MB, free: 24.32 MB / 350.1 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.001311/0.3604, allocations: 0.7528 MB / 469.6 MB, free: 23.74 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.281e-05/0.3605, allocations: 9.031 kB / 469.6 MB, free: 23.74 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.423e-05/0.3606, allocations: 73.02 kB / 469.6 MB, free: 23.68 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001041/0.3607, allocations: 54.83 kB / 469.7 MB, free: 23.66 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005972/0.3613, allocations: 425.2 kB / 470.1 MB, free: 23.34 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.073e-05/0.3614, allocations: 32.41 kB / 470.1 MB, free: 23.33 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.219e-05/0.3614, allocations: 36.8 kB / 470.2 MB, free: 23.32 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008541/0.3623, allocations: 487.1 kB / 470.6 MB, free: 23.07 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.3623, allocations: 0 / 470.6 MB, free: 23.07 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.027e-05/0.3624, allocations: 13.39 kB / 470.7 MB, free: 23.07 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001112/0.3625, allocations: 33.7 kB / 470.7 MB, free: 23.06 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006177/0.3631, allocations: 369 kB / 471.1 MB, free: 22.94 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002203/0.3653, allocations: 1.713 MB / 472.8 MB, free: 21.76 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006661/0.366, allocations: 405.3 kB / 473.2 MB, free: 21.52 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004626/0.3665, allocations: 224.9 kB / 473.4 MB, free: 21.44 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.161e-05/0.3665, allocations: 11.25 kB / 473.4 MB, free: 21.43 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000478/0.367, allocations: 293.6 kB / 473.7 MB, free: 21.26 MB / 350.1 MB Notification: Performance of pre-optimization done (n=35): time 2.425e-06/0.367, allocations: 0 / 473.7 MB, free: 21.26 MB / 350.1 MB Notification: Performance of matching and sorting (n=36): time 0.00226/0.3693, allocations: 1.403 MB / 475.1 MB, free: 20.33 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.563e-05/0.3694, allocations: 141.3 kB / 475.2 MB, free: 20.17 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004416/0.3698, allocations: 371.1 kB / 475.6 MB, free: 19.98 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.015e-05/0.3699, allocations: 33.3 kB / 475.6 MB, free: 19.95 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001539/0.37, allocations: 255.4 kB / 475.9 MB, free: 19.73 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.423e-05/0.3701, allocations: 120 kB / 476 MB, free: 19.64 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.06e-05/0.3701, allocations: 11.31 kB / 476 MB, free: 19.63 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.615e-05/0.3702, allocations: 354.6 kB / 476.3 MB, free: 19.3 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002264/0.3705, allocations: 132.5 kB / 476.5 MB, free: 19.25 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002722/0.3707, allocations: 259.5 kB / 476.7 MB, free: 19.06 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002897/0.371, allocations: 188 kB / 476.9 MB, free: 18.96 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.371, allocations: 1.281 kB / 476.9 MB, free: 18.96 MB / 350.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0009921/0.372, allocations: 0.5337 MB / 477.4 MB, free: 18.7 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.507e-05/0.3721, allocations: 37.06 kB / 477.5 MB, free: 18.67 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.284e-05/0.3721, allocations: 4.422 kB / 477.5 MB, free: 18.67 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003059/0.3724, allocations: 80.38 kB / 477.6 MB, free: 18.64 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003073/0.3728, allocations: 80.19 kB / 477.6 MB, free: 18.62 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00191/0.3747, allocations: 2.791 MB / 480.4 MB, free: 15.93 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003533/0.375, allocations: 26.48 kB / 480.5 MB, free: 15.91 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.452e-05/0.3751, allocations: 22.7 kB / 480.5 MB, free: 15.91 MB / 350.1 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,$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,$whenCondition1,$PRE.relay.cnt,relay.cnt) * 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.0003377/0.3754, allocations: 240 kB / 480.7 MB, free: 15.7 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.495e-05/0.3755, allocations: 40.28 kB / 480.8 MB, free: 15.68 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008169/0.3763, allocations: 0.5112 MB / 481.3 MB, free: 15.36 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.933e-06/0.3763, allocations: 4.219 kB / 481.3 MB, free: 15.36 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.399e-06/0.3764, allocations: 1.312 kB / 481.3 MB, free: 15.36 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.3764, allocations: 5.031 kB / 481.3 MB, free: 15.36 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001353/0.3777, allocations: 1.057 MB / 482.3 MB, free: 14.59 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.097e-06/0.3777, allocations: 1.094 kB / 482.3 MB, free: 14.59 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001906/0.3779, allocations: 38.83 kB / 482.4 MB, free: 14.58 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002357/0.3782, allocations: 95.69 kB / 482.5 MB, free: 14.52 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.157e-05/0.3782, allocations: 16.42 kB / 482.5 MB, free: 14.51 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00159/0.3798, allocations: 2.784 MB / 485.3 MB, free: 11.73 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.3798, allocations: 1.219 kB / 485.3 MB, free: 11.73 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001052/0.3809, allocations: 0.7928 MB / 486.1 MB, free: 11.23 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.945e-05/0.381, allocations: 113.2 kB / 486.2 MB, free: 11.11 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.033e-05/0.3811, allocations: 14.34 kB / 486.2 MB, free: 11.11 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002344/0.3813, allocations: 28.97 kB / 486.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001023/0.3814, allocations: 38.86 kB / 486.2 MB, free: 11.07 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.981e-05/0.3815, allocations: 8.656 kB / 486.3 MB, free: 11.07 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002659/0.3817, allocations: 261.6 kB / 486.5 MB, free: 10.9 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3818, allocations: 0 / 486.5 MB, free: 10.9 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005744/0.3823, allocations: 113.2 kB / 486.6 MB, free: 10.89 MB / 350.1 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.001209/0.3836, allocations: 1.335 MB / 488 MB, free: 9.852 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008684/0.3844, allocations: 0.65 MB / 488.6 MB, free: 9.262 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.3844, allocations: 4 kB / 488.6 MB, free: 9.258 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005075/0.385, allocations: 0.5019 MB / 489.1 MB, free: 8.719 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005509/0.3855, allocations: 85.77 kB / 489.2 MB, free: 8.641 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00343/0.389, allocations: 2.849 MB / 492 MB, free: 5.68 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002508/0.3892, allocations: 0.8743 MB / 492.9 MB, free: 4.781 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002447/0.3895, allocations: 63.36 kB / 493 MB, free: 4.715 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001756/0.3897, allocations: 159.4 kB / 493.1 MB, free: 4.559 MB / 350.1 MB Notification: Performance of SimCode: time 3.81e-07/0.3897, allocations: 4 kB / 493.1 MB, free: 4.555 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02235/0.412, allocations: 8.9 MB / 0.4903 GB, free: 11.87 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003058/0.4124, allocations: 213.7 kB / 0.4905 GB, free: 11.62 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.97/2.383, allocations: 0 / 0.4905 GB, free: 11.62 MB / 366.1 MB (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Elementary_Breaker_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Elementary_Breaker.fmu > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker_res.mat does not exist to compare? outputFormat=mat