Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Events.TestBreaker.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/Modelica 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/OpenIPSL 3.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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 Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 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(OpenIPSL.Tests.Events.TestBreaker,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Events_TestBreaker",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Events.TestBreaker,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Events_TestBreaker",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.001233/0.001233, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.341/1.341, allocations: 222.9 MB / 238.8 MB, free: 4.75 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001368/0.001368, allocations: 192.5 kB / 289.1 MB, free: 2.5 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4892/0.4892, allocations: 78.52 MB / 417.8 MB, free: 3.348 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001422/0.001422, allocations: 79.88 kB / 496.8 MB, free: 6.773 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1425/0.1439, allocations: 68.17 MB / 0.5518 GB, free: 2.551 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Events.TestBreaker): time 0.2717/0.4157, allocations: 3.855 MB / 0.5555 GB, free: 37.61 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001782/0.4175, allocations: 1.12 MB / 0.5566 GB, free: 37.39 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000219/0.4177, allocations: 6.844 kB / 0.5566 GB, free: 37.39 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003376/0.4181, allocations: 104 kB / 0.5567 GB, free: 37.38 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003144/0.4184, allocations: 145 kB / 0.5569 GB, free: 37.36 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009726/0.4194, allocations: 494.4 kB / 0.5573 GB, free: 37.24 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005387/0.42, allocations: 0.6118 MB / 0.5579 GB, free: 37.21 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002219/0.4202, allocations: 136.7 kB / 0.5581 GB, free: 37.19 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002103/0.4204, allocations: 253.9 kB / 0.5583 GB, free: 37.13 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002974/0.4207, allocations: 301.8 kB / 0.5586 GB, free: 37.05 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.936e-05/0.4208, allocations: 34.66 kB / 0.5586 GB, free: 37.04 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001945/0.421, allocations: 92.56 kB / 0.5587 GB, free: 37.04 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 8.153e-05/0.4211, allocations: 105.6 kB / 0.5588 GB, free: 37.01 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001967/0.4213, allocations: 270.4 kB / 0.5591 GB, free: 36.91 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005565/0.4218, allocations: 0.6832 MB / 0.5598 GB, free: 36.75 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.4218, allocations: 0 / 0.5598 GB, free: 36.75 MB / 430.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.4219, allocations: 0.6562 kB / 0.5598 GB, free: 36.75 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.835e-06/0.4219, allocations: 1.031 kB / 0.5598 GB, free: 36.75 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 105 * Number of variables: 105 Notification: Performance of Generate backend data structure: time 0.002936/0.4248, allocations: 1.235 MB / 0.561 GB, free: 36.16 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.454e-05/0.4249, allocations: 10.03 kB / 0.561 GB, free: 36.16 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.712e-05/0.425, allocations: 85.38 kB / 0.561 GB, free: 36.12 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001546/0.4265, allocations: 292.7 kB / 0.5613 GB, free: 36.09 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004591/0.427, allocations: 434.5 kB / 0.5617 GB, free: 35.82 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001603/0.4271, allocations: 193.9 kB / 0.5619 GB, free: 35.66 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.911e-05/0.4272, allocations: 41.66 kB / 0.562 GB, free: 35.66 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009517/0.4282, allocations: 0.556 MB / 0.5625 GB, free: 35.59 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.313e-05/0.4282, allocations: 0 / 0.5625 GB, free: 35.59 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.717e-05/0.4282, allocations: 16.12 kB / 0.5625 GB, free: 35.59 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.578e-06/0.4283, allocations: 11.83 kB / 0.5625 GB, free: 35.59 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008647/0.4291, allocations: 488.1 kB / 0.563 GB, free: 35.59 MB / 430.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002338/0.4315, allocations: 2.095 MB / 0.565 GB, free: 34.4 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009926/0.4414, allocations: 2.057 MB / 0.5671 GB, free: 34.34 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005368/0.442, allocations: 273 kB / 0.5673 GB, free: 34.33 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.915e-05/0.442, allocations: 5.375 kB / 0.5673 GB, free: 34.33 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007093/0.4428, allocations: 371.6 kB / 0.5677 GB, free: 34.26 MB / 430.1 MB Notification: Performance of pre-optimization done (n=40): time 2.595e-06/0.4428, allocations: 0.6562 kB / 0.5677 GB, free: 34.26 MB / 430.1 MB Notification: Performance of matching and sorting (n=40): time 0.005982/0.4488, allocations: 2.198 MB / 0.5698 GB, free: 33.73 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.412e-05/0.4488, allocations: 85.27 kB / 0.5699 GB, free: 33.64 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004466/0.4493, allocations: 419.6 kB / 0.5703 GB, free: 33.53 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.789e-05/0.4493, allocations: 32.45 kB / 0.5703 GB, free: 33.5 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001637/0.4495, allocations: 274.7 kB / 0.5706 GB, free: 33.35 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001032/0.4496, allocations: 141.4 kB / 0.5707 GB, free: 33.26 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000147/0.4498, allocations: 78.72 kB / 0.5708 GB, free: 33.24 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.223e-05/0.4498, allocations: 352.4 kB / 0.5711 GB, free: 32.93 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005003/0.4503, allocations: 262.9 kB / 0.5714 GB, free: 32.92 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004928/0.4509, allocations: 310.3 kB / 0.5717 GB, free: 32.89 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009413/0.4518, allocations: 0.5382 MB / 0.5722 GB, free: 32.86 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.4518, allocations: 0 / 0.5722 GB, free: 32.86 MB / 430.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.003508/0.4553, allocations: 1.339 MB / 0.5735 GB, free: 32.74 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/0.4554, allocations: 5.25 kB / 0.5735 GB, free: 32.74 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.014e-06/0.4554, allocations: 4 kB / 0.5735 GB, free: 32.73 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002244/0.4576, allocations: 0.7127 MB / 0.5742 GB, free: 32.68 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002037/0.4578, allocations: 38.7 kB / 0.5743 GB, free: 32.68 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005438/0.4633, allocations: 4.302 MB / 0.5785 GB, free: 30.08 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005304/0.4638, allocations: 67.31 kB / 0.5785 GB, free: 30.06 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.852e-05/0.4639, allocations: 10.44 kB / 0.5785 GB, free: 30.06 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y,breakerPara.Open) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(6,2), (6,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0002382/0.4641, allocations: 171.6 kB / 0.5787 GB, free: 29.95 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.935e-05/0.4642, allocations: 48.12 kB / 0.5788 GB, free: 29.92 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003856/0.4681, allocations: 1.32 MB / 0.58 GB, free: 29.76 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.133e-06/0.4681, allocations: 4.906 kB / 0.58 GB, free: 29.76 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.4681, allocations: 5.219 kB / 0.58 GB, free: 29.76 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.101e-06/0.4681, allocations: 3.375 kB / 0.5801 GB, free: 29.76 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006431/0.4688, allocations: 0.6313 MB / 0.5807 GB, free: 29.38 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.941e-06/0.4688, allocations: 5.594 kB / 0.5807 GB, free: 29.37 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001558/0.4689, allocations: 29.02 kB / 0.5807 GB, free: 29.37 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002318/0.4713, allocations: 0.7061 MB / 0.5814 GB, free: 29.21 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.927e-05/0.4713, allocations: 7.047 kB / 0.5814 GB, free: 29.2 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005608/0.4769, allocations: 4.261 MB / 0.5856 GB, free: 25.92 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.477, allocations: 3.938 kB / 0.5856 GB, free: 25.91 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003763/0.4807, allocations: 1.323 MB / 0.5869 GB, free: 25.49 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001158/0.4809, allocations: 135.2 kB / 0.587 GB, free: 25.36 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.468e-05/0.4809, allocations: 6.125 kB / 0.587 GB, free: 25.36 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003932/0.4813, allocations: 41.44 kB / 0.587 GB, free: 25.36 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000267/0.4816, allocations: 100.8 kB / 0.5871 GB, free: 25.34 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.469e-05/0.4816, allocations: 12.41 kB / 0.5871 GB, free: 25.34 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003147/0.482, allocations: 293.6 kB / 0.5874 GB, free: 25.2 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.482, allocations: 5.031 kB / 0.5874 GB, free: 25.19 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0006461/0.4826, allocations: 187.1 kB / 0.5876 GB, free: 25.16 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,booleanPulse.y,booleanPulse.pulseStart,breakerPara.Open) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(6,2), (6,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003886/0.4865, allocations: 1.862 MB / 0.5894 GB, free: 24.2 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002926/0.4895, allocations: 1.259 MB / 0.5906 GB, free: 23.5 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.4895, allocations: 0 / 0.5906 GB, free: 23.5 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002149/0.4916, allocations: 0.9863 MB / 0.5916 GB, free: 22.89 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004235/0.4921, allocations: 46.52 kB / 0.5917 GB, free: 22.87 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01232/0.5044, allocations: 6.179 MB / 0.5977 GB, free: 19.81 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003568/0.5048, allocations: 0.8594 MB / 0.5985 GB, free: 19.11 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001483/0.5049, allocations: 34.56 kB / 0.5986 GB, free: 19.11 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002013/0.5051, allocations: 183 kB / 0.5987 GB, free: 18.96 MB / 430.1 MB Notification: Performance of SimCode: time 5.71e-07/0.5051, allocations: 1.656 kB / 0.5987 GB, free: 18.96 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03286/0.538, allocations: 12.9 MB / 0.6113 GB, free: 16.23 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001421/0.5382, allocations: 203 kB / 0.6115 GB, free: 15.98 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.06/2.598, allocations: 3.938 kB / 0.6115 GB, free: 15.98 MB / 430.1 MB (rm -f OpenIPSL_OpenIPSL.Tests.Events.TestBreaker.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Events.TestBreaker.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Events.TestBreaker.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Events.TestBreaker.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Events_TestBreaker_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Events_TestBreaker.fmu > OpenIPSL_OpenIPSL.Tests.Events.TestBreaker.pipe 2>&1)