Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Events.TestBreaker.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo", uses=false) 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 3.2.3+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 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Events.TestBreaker,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Events_TestBreaker",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Events.TestBreaker,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Events_TestBreaker",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.09038/0.09038, allocations: 12.2 MB / 27.43 MB, free: 1.391 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001098/0.001098, allocations: 124.4 kB / 30.95 MB, free: 4.66 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.448/1.448, allocations: 205.1 MB / 239.4 MB, free: 10.93 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001697/0.001697, allocations: 184.5 kB / 289.6 MB, free: 15.85 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4791/0.4791, allocations: 78.5 MB / 418.1 MB, free: 31.74 MB / 318.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002544/0.002544, allocations: 135.8 kB / 498.5 MB, free: 432 kB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4392/0.4418, allocations: 68.03 MB / 0.5533 GB, free: 37.59 MB / 414.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Events.TestBreaker): time 0.004576/0.4464, allocations: 3.869 MB / 0.557 GB, free: 34.79 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002063/0.4485, allocations: 1.166 MB / 0.5582 GB, free: 33.96 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002569/0.4488, allocations: 7.969 kB / 0.5582 GB, free: 33.96 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004117/0.4492, allocations: 93.91 kB / 0.5583 GB, free: 33.92 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003431/0.4496, allocations: 143.3 kB / 0.5584 GB, free: 33.82 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009898/0.4506, allocations: 484 kB / 0.5589 GB, free: 33.54 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005518/0.4511, allocations: 0.6458 MB / 0.5595 GB, free: 33.2 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002681/0.4514, allocations: 161.4 kB / 0.5596 GB, free: 33.14 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002257/0.4517, allocations: 274.7 kB / 0.5599 GB, free: 33 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003257/0.452, allocations: 316.4 kB / 0.5602 GB, free: 32.84 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.258e-05/0.4521, allocations: 49.19 kB / 0.5603 GB, free: 32.83 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001979/0.4523, allocations: 103.8 kB / 0.5604 GB, free: 32.81 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.795e-05/0.4523, allocations: 120.5 kB / 0.5605 GB, free: 32.73 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001969/0.4525, allocations: 287.5 kB / 0.5607 GB, free: 32.54 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006474/0.4532, allocations: 0.6965 MB / 0.5614 GB, free: 32.21 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.4532, allocations: 0 / 0.5614 GB, free: 32.21 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.626e-06/0.4532, allocations: 0 / 0.5614 GB, free: 32.21 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.161e-05/0.4532, allocations: 0 / 0.5614 GB, free: 32.21 MB / 414.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.003128/0.4564, allocations: 1.239 MB / 0.5626 GB, free: 31.49 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.355e-05/0.4564, allocations: 19.3 kB / 0.5627 GB, free: 31.48 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.197e-05/0.4565, allocations: 83.09 kB / 0.5627 GB, free: 31.41 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001561/0.4581, allocations: 298.6 kB / 0.563 GB, free: 31.34 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000477/0.4586, allocations: 432.7 kB / 0.5634 GB, free: 31 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001617/0.4588, allocations: 189.5 kB / 0.5636 GB, free: 30.83 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.58e-05/0.4588, allocations: 37.91 kB / 0.5636 GB, free: 30.82 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009818/0.4598, allocations: 0.5671 MB / 0.5642 GB, free: 30.57 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.789e-05/0.4599, allocations: 0 / 0.5642 GB, free: 30.57 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.854e-05/0.4599, allocations: 21.22 kB / 0.5642 GB, free: 30.55 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.18e-05/0.4599, allocations: 10.69 kB / 0.5642 GB, free: 30.55 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008486/0.4608, allocations: 484.1 kB / 0.5647 GB, free: 30.39 MB / 414.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.002512/0.4633, allocations: 2.09 MB / 0.5667 GB, free: 28.8 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00986/0.4732, allocations: 2.048 MB / 0.5687 GB, free: 28.55 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005656/0.4738, allocations: 273.7 kB / 0.569 GB, free: 28.43 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.803e-05/0.4739, allocations: 16.94 kB / 0.569 GB, free: 28.42 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007697/0.4746, allocations: 361.7 kB / 0.5694 GB, free: 28.26 MB / 414.1 MB Notification: Performance of pre-optimization done (n=40): time 2.324e-06/0.4747, allocations: 0 / 0.5694 GB, free: 28.26 MB / 414.1 MB Notification: Performance of matching and sorting (n=40): time 0.006148/0.4808, allocations: 2.205 MB / 0.5715 GB, free: 27.4 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.417e-05/0.4809, allocations: 82.67 kB / 0.5716 GB, free: 27.3 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004955/0.4814, allocations: 415.4 kB / 0.572 GB, free: 27.1 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.116e-05/0.4814, allocations: 31.58 kB / 0.572 GB, free: 27.07 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001906/0.4816, allocations: 282.1 kB / 0.5723 GB, free: 26.84 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000119/0.4818, allocations: 136.7 kB / 0.5724 GB, free: 26.73 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001472/0.4819, allocations: 77.44 kB / 0.5725 GB, free: 26.68 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 8.803e-05/0.482, allocations: 357.6 kB / 0.5728 GB, free: 26.35 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005228/0.4825, allocations: 260.2 kB / 0.5731 GB, free: 26.26 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005432/0.4831, allocations: 302.9 kB / 0.5734 GB, free: 26.13 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009939/0.4841, allocations: 0.5444 MB / 0.5739 GB, free: 25.89 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.4841, allocations: 3 kB / 0.5739 GB, free: 25.89 MB / 414.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.00401/0.4881, allocations: 1.344 MB / 0.5752 GB, free: 25.47 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.482e-05/0.4882, allocations: 8.438 kB / 0.5752 GB, free: 25.47 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.118e-05/0.4882, allocations: 1.156 kB / 0.5752 GB, free: 25.47 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002719/0.4909, allocations: 0.7118 MB / 0.5759 GB, free: 25.29 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002757/0.4912, allocations: 38.2 kB / 0.576 GB, free: 25.29 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006885/0.4981, allocations: 4.671 MB / 0.5805 GB, free: 21.7 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006399/0.4988, allocations: 69.92 kB / 0.5806 GB, free: 21.67 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.261e-05/0.4989, allocations: 13.86 kB / 0.5806 GB, free: 21.66 MB / 414.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.0002946/0.4992, allocations: 161 kB / 0.5808 GB, free: 21.52 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001367/0.4993, allocations: 51.53 kB / 0.5808 GB, free: 21.49 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004199/0.5035, allocations: 1.324 MB / 0.5821 GB, free: 21.09 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.05e-05/0.5035, allocations: 5.422 kB / 0.5821 GB, free: 21.09 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.357e-06/0.5036, allocations: 1.219 kB / 0.5821 GB, free: 21.09 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.069e-05/0.5036, allocations: 3.844 kB / 0.5821 GB, free: 21.09 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009662/0.5045, allocations: 0.6239 MB / 0.5827 GB, free: 20.71 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/0.5046, allocations: 0 / 0.5827 GB, free: 20.71 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001712/0.5047, allocations: 36.11 kB / 0.5827 GB, free: 20.7 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002587/0.5073, allocations: 0.7081 MB / 0.5834 GB, free: 20.53 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.84e-05/0.5074, allocations: 5.844 kB / 0.5834 GB, free: 20.52 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00665/0.5141, allocations: 4.628 MB / 0.588 GB, free: 16.94 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.5141, allocations: 1.125 kB / 0.588 GB, free: 16.94 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004289/0.5184, allocations: 1.324 MB / 0.5893 GB, free: 16.5 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002326/0.5186, allocations: 129.8 kB / 0.5894 GB, free: 16.37 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001058/0.5188, allocations: 11.05 kB / 0.5894 GB, free: 16.36 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004869/0.5193, allocations: 46 kB / 0.5894 GB, free: 16.36 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004015/0.5197, allocations: 112.9 kB / 0.5895 GB, free: 16.32 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.343e-05/0.5197, allocations: 8.047 kB / 0.5896 GB, free: 16.32 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004663/0.5202, allocations: 294.5 kB / 0.5898 GB, free: 16.18 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5202, allocations: 0 / 0.5898 GB, free: 16.18 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0009141/0.5211, allocations: 184.5 kB / 0.59 GB, free: 16.14 MB / 414.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.004341/0.5255, allocations: 1.853 MB / 0.5918 GB, free: 14.96 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003325/0.5288, allocations: 1.302 MB / 0.5931 GB, free: 14.08 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.18e-06/0.5288, allocations: 1.156 kB / 0.5931 GB, free: 14.08 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002251/0.5311, allocations: 0.9979 MB / 0.5941 GB, free: 13.34 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005572/0.5317, allocations: 48.33 kB / 0.5941 GB, free: 13.3 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01459/0.5463, allocations: 6.177 MB / 0.6001 GB, free: 9.355 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004657/0.5468, allocations: 0.8631 MB / 0.601 GB, free: 8.508 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001679/0.547, allocations: 35.28 kB / 0.601 GB, free: 8.473 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002286/0.5472, allocations: 191.4 kB / 0.6012 GB, free: 8.289 MB / 414.1 MB Notification: Performance of SimCode: time 2.003e-06/0.5472, allocations: 0 / 0.6012 GB, free: 8.289 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03362/0.5809, allocations: 13.51 MB / 0.6144 GB, free: 10.84 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001833/0.5811, allocations: 216.9 kB / 0.6146 GB, free: 10.58 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.204/2.785, allocations: 0 / 0.6146 GB, free: 10.58 MB / 430.1 MB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Events.TestBreaker.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Events.TestBreaker.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Events.TestBreaker.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Events.TestBreaker.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Events_TestBreaker_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Events_TestBreaker.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Events.TestBreaker.pipe 2>&1)