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/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001192/0.001192, allocations: 88.33 kB / 20.95 MB, free: 3.469 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001498/0.001498, allocations: 165.3 kB / 24.27 MB, free: 160 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8692/0.8692, allocations: 177.1 MB / 204.6 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.2145/0.2145, allocations: 29.41 MB / 290.5 MB, free: 2.453 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.352e-06/1.352e-06, allocations: 0 / 368.4 MB, free: 11.82 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.243e-05/1.379e-05, allocations: 2.312 kB / 368.4 MB, free: 11.82 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Breaker): time 0.004389/0.004403, allocations: 5.126 MB / 373.5 MB, free: 6.656 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001623/0.006026, allocations: 1.118 MB / 374.6 MB, free: 5.535 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001982/0.006224, allocations: 19.88 kB / 374.7 MB, free: 5.516 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002873/0.006512, allocations: 91.19 kB / 374.7 MB, free: 5.426 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005079/0.007019, allocations: 326 kB / 375.1 MB, free: 5.105 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002522/0.007272, allocations: 159.6 kB / 375.2 MB, free: 4.949 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005327/0.007804, allocations: 0.7395 MB / 376 MB, free: 4.207 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001898/0.007994, allocations: 125.3 kB / 376.1 MB, free: 4.082 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004782/0.008472, allocations: 430.7 kB / 376.5 MB, free: 3.66 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003885/0.008861, allocations: 339.1 kB / 376.8 MB, free: 3.328 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001866/0.009047, allocations: 40 kB / 376.9 MB, free: 3.289 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.905e-05/0.009106, allocations: 48 kB / 376.9 MB, free: 3.242 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001619/0.009268, allocations: 223.3 kB / 377.1 MB, free: 3.023 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001299/0.009398, allocations: 171.6 kB / 377.3 MB, free: 2.855 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004084/0.009807, allocations: 0.5568 MB / 377.9 MB, free: 2.297 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.734e-06/0.009808, allocations: 0 / 377.9 MB, free: 2.297 MB / 346.7 MB Notification: Performance of FrontEnd: time 7.72e-07/0.009809, allocations: 0 / 377.9 MB, free: 2.297 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.972e-06/0.009815, allocations: 0 / 377.9 MB, free: 2.297 MB / 346.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.0009265/0.01074, allocations: 0.7705 MB / 378.6 MB, free: 1.488 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.771e-05/0.01078, allocations: 12.03 kB / 378.6 MB, free: 1.477 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.514e-05/0.01083, allocations: 70.72 kB / 378.7 MB, free: 1.398 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.648e-05/0.01093, allocations: 88.59 kB / 378.8 MB, free: 1.312 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004206/0.01135, allocations: 404.9 kB / 379.2 MB, free: 0.8906 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.395e-05/0.01138, allocations: 29.38 kB / 379.2 MB, free: 0.8633 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.261e-05/0.01142, allocations: 36.38 kB / 379.3 MB, free: 0.8281 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004858/0.0119, allocations: 0.5118 MB / 379.8 MB, free: 284 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.01191, allocations: 4 kB / 379.8 MB, free: 280 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.584e-05/0.01194, allocations: 12 kB / 379.8 MB, free: 268 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.343e-05/0.012, allocations: 36.56 kB / 379.8 MB, free: 232 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004182/0.01242, allocations: 392.5 kB / 380.2 MB, free: 15.83 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001371/0.01379, allocations: 1.583 MB / 381.8 MB, free: 14.17 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004101/0.0142, allocations: 342.8 kB / 382.1 MB, free: 13.81 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003002/0.0145, allocations: 262.7 kB / 382.4 MB, free: 13.55 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.177e-05/0.01452, allocations: 8 kB / 382.4 MB, free: 13.54 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002841/0.01481, allocations: 313.3 kB / 382.7 MB, free: 13.2 MB / 362.7 MB Notification: Performance of pre-optimization done (n=35): time 1.263e-06/0.01481, allocations: 0 / 382.7 MB, free: 13.2 MB / 362.7 MB Notification: Performance of matching and sorting (n=36): time 0.001719/0.01653, allocations: 1.289 MB / 384 MB, free: 11.84 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.74e-05/0.01659, allocations: 148.4 kB / 384.1 MB, free: 11.66 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002432/0.01683, allocations: 373.6 kB / 384.5 MB, free: 11.29 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.284e-05/0.01685, allocations: 37.7 kB / 384.5 MB, free: 11.25 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001163/0.01697, allocations: 256.5 kB / 384.8 MB, free: 11 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.675e-05/0.01703, allocations: 115.1 kB / 384.9 MB, free: 10.88 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.322e-05/0.01712, allocations: 86.14 kB / 385 MB, free: 10.79 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.026e-05/0.01721, allocations: 354.9 kB / 385.3 MB, free: 10.44 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001514/0.01736, allocations: 158.6 kB / 385.5 MB, free: 10.28 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002005/0.01756, allocations: 293.1 kB / 385.8 MB, free: 9.934 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003475/0.01791, allocations: 453.2 kB / 386.2 MB, free: 9.426 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.01791, allocations: 0 / 386.2 MB, free: 9.426 MB / 362.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0005447/0.01845, allocations: 0.5876 MB / 386.8 MB, free: 8.812 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.469e-05/0.01848, allocations: 37.69 kB / 386.8 MB, free: 8.77 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.511e-06/0.01848, allocations: 4 kB / 386.8 MB, free: 8.766 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001986/0.01868, allocations: 82.05 kB / 386.9 MB, free: 8.68 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001529/0.01884, allocations: 79.83 kB / 387 MB, free: 8.602 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001752/0.02059, allocations: 2.781 MB / 389.8 MB, free: 5.594 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002268/0.02081, allocations: 24.3 kB / 389.8 MB, free: 5.57 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.507e-05/0.02085, allocations: 23.98 kB / 389.8 MB, free: 5.547 MB / 362.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,breaker.breaker_1.opening,breaker.breaker_1.t0,$PRE.breaker.breaker_1.t0,breaker.breaker_1.closed,breaker.breaker_1.open,$PRE.breaker.breaker_1.open,breaker.breaker_1.arc,$PRE.breaker.breaker_1.arc,relay.y[1],$PRE.relay.y[1],$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,relay.cnt,$PRE.relay.cnt,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002691/0.02112, allocations: 235.3 kB / 390.1 MB, free: 5.301 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.943e-05/0.0212, allocations: 63.66 kB / 390.1 MB, free: 5.238 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000768/0.02197, allocations: 0.5299 MB / 390.6 MB, free: 4.684 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.02197, allocations: 4 kB / 390.7 MB, free: 4.68 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.706e-06/0.02197, allocations: 0 / 390.7 MB, free: 4.68 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.02198, allocations: 11.92 kB / 390.7 MB, free: 4.668 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001268/0.02325, allocations: 1.027 MB / 391.7 MB, free: 3.566 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.02325, allocations: 0 / 391.7 MB, free: 3.566 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001189/0.02337, allocations: 47.91 kB / 391.7 MB, free: 3.52 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002266/0.02359, allocations: 93.62 kB / 391.8 MB, free: 3.422 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.25e-05/0.02362, allocations: 16.03 kB / 391.8 MB, free: 3.406 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001547/0.02516, allocations: 2.797 MB / 394.6 MB, free: 388 kB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.02517, allocations: 0 / 394.6 MB, free: 388 kB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007536/0.02592, allocations: 0.8665 MB / 395.5 MB, free: 15.46 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.638e-05/0.02597, allocations: 39.73 kB / 395.5 MB, free: 15.43 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.683e-05/0.026, allocations: 16 kB / 395.6 MB, free: 15.41 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001229/0.02613, allocations: 15.98 kB / 395.6 MB, free: 15.39 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.98e-05/0.02622, allocations: 35.88 kB / 395.6 MB, free: 15.36 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.064e-05/0.02624, allocations: 19.98 kB / 395.6 MB, free: 15.34 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001775/0.02641, allocations: 259.2 kB / 395.9 MB, free: 15.09 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02641, allocations: 0 / 395.9 MB, free: 15.09 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002961/0.02671, allocations: 116.1 kB / 396 MB, free: 14.98 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009633/0.02767, allocations: 1.407 MB / 397.4 MB, free: 13.51 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001032/0.02871, allocations: 0.6765 MB / 398.1 MB, free: 12.79 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.02871, allocations: 4.062 kB / 398.1 MB, free: 12.78 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004641/0.02917, allocations: 0.4982 MB / 398.6 MB, free: 12.24 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003698/0.02954, allocations: 99.14 kB / 398.7 MB, free: 12.14 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004744/0.03428, allocations: 4.252 MB / 402.9 MB, free: 7.648 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001737/0.03446, allocations: 262.3 kB / 403.2 MB, free: 7.367 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000147/0.03461, allocations: 71.34 kB / 403.3 MB, free: 7.297 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001577/0.03476, allocations: 160.5 kB / 403.4 MB, free: 7.141 MB / 378.7 MB Notification: Performance of SimCode: time 1.042e-06/0.03476, allocations: 0 / 403.4 MB, free: 7.141 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02609/0.06085, allocations: 10.95 MB / 414.4 MB, free: 12.4 MB / 394.7 MB Notification: Building FMU for platform 'static' (1/1). Notification: Finished FMU for platform 'static' (1/1). Notification: Performance of buildModelFMU: Generate platform static: time 7.237/7.298, allocations: 12 kB / 414.4 MB, free: 12.39 MB / 394.7 MB " [Timeout remaining time 653] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker_OMSimulator.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker_OMSimulator.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker_OMSimulator.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_Breaker_OMSimulator_fmu --startTime=0 --stopTime=0.2 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_Breaker.fmu > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker_OMSimulator.pipe 2>&1) [Timeout 52.5] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker_fmpy.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker_fmpy.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker_fmpy.sim & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker_fmpy_res.csv --start-time 0 --stop-time 0.2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_Breaker.fmu > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker_fmpy.pipe 2>&1) [Timeout 52.5] fmpy timed out simulating the FMU [Calling sys.exit(0), Time elapsed: 9.170360921998508]