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.1223/0.1223, allocations: 12.2 MB / 27.17 MB, free: 1.504 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.0009431/0.0009427, allocations: 106.7 kB / 30.68 MB, free: 4.859 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.772/1.772, allocations: 205.4 MB / 239.5 MB, free: 11.55 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.001144/0.001144, allocations: 176.5 kB / 290.6 MB, free: 13.4 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.5702/0.5702, allocations: 78.54 MB / 420.1 MB, free: 48.73 MB / 334.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.00099/0.0009901, allocations: 24 kB / 0.4895 GB, free: 2.547 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4736/0.4746, allocations: 69.21 MB / 0.5571 GB, free: 43.01 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Events.TestBreaker): time 0.00456/0.4792, allocations: 3.288 MB / 0.5603 GB, free: 42.74 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002471/0.4817, allocations: 1.097 MB / 0.5614 GB, free: 42.16 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002711/0.482, allocations: 10.94 kB / 0.5614 GB, free: 42.16 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003945/0.4824, allocations: 90.88 kB / 0.5615 GB, free: 42.12 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004359/0.4828, allocations: 151.9 kB / 0.5617 GB, free: 42.04 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001146/0.484, allocations: 426.8 kB / 0.5621 GB, free: 41.84 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007769/0.4848, allocations: 0.5873 MB / 0.5626 GB, free: 41.54 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003254/0.4851, allocations: 129.2 kB / 0.5628 GB, free: 41.51 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003202/0.4854, allocations: 235.1 kB / 0.563 GB, free: 41.41 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004852/0.4859, allocations: 282.3 kB / 0.5633 GB, free: 41.29 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 6.719e-05/0.486, allocations: 25.03 kB / 0.5633 GB, free: 41.29 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002395/0.4863, allocations: 82.75 kB / 0.5634 GB, free: 41.27 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000129/0.4864, allocations: 96.11 kB / 0.5635 GB, free: 41.21 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001395/0.4865, allocations: 118 kB / 0.5636 GB, free: 41.13 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008475/0.4874, allocations: 0.5184 MB / 0.5641 GB, free: 41 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.404e-06/0.4874, allocations: 0 / 0.5641 GB, free: 41 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.906e-06/0.4874, allocations: 3.25 kB / 0.5641 GB, free: 41 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.968e-06/0.4874, allocations: 0 / 0.5641 GB, free: 41 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.003272/0.4907, allocations: 1.157 MB / 0.5652 GB, free: 40.37 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.85e-05/0.4908, allocations: 14.61 kB / 0.5652 GB, free: 40.37 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001157/0.4909, allocations: 86.3 kB / 0.5653 GB, free: 40.3 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001564/0.4925, allocations: 299.4 kB / 0.5656 GB, free: 40.24 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007096/0.4932, allocations: 415.7 kB / 0.566 GB, free: 39.92 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002647/0.4935, allocations: 189.2 kB / 0.5662 GB, free: 39.75 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.072e-05/0.4936, allocations: 44.92 kB / 0.5662 GB, free: 39.73 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001324/0.4949, allocations: 0.5832 MB / 0.5668 GB, free: 39.5 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.61e-05/0.4949, allocations: 0 / 0.5668 GB, free: 39.5 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.956e-05/0.495, allocations: 15.53 kB / 0.5668 GB, free: 39.48 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.132e-05/0.495, allocations: 10.28 kB / 0.5668 GB, free: 39.48 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001151/0.4962, allocations: 0.5056 MB / 0.5673 GB, free: 39.32 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.002981/0.4992, allocations: 2.126 MB / 0.5694 GB, free: 37.73 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009692/0.5089, allocations: 2.805 MB / 0.5721 GB, free: 37.38 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005387/0.5094, allocations: 302.8 kB / 0.5724 GB, free: 37.27 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.412e-05/0.5095, allocations: 10.78 kB / 0.5724 GB, free: 37.26 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007409/0.5103, allocations: 396.7 kB / 0.5728 GB, free: 37.09 MB / 430.1 MB Notification: Performance of pre-optimization done (n=40): time 2.124e-06/0.5103, allocations: 0 / 0.5728 GB, free: 37.09 MB / 430.1 MB Notification: Performance of matching and sorting (n=40): time 0.006228/0.5165, allocations: 2.607 MB / 0.5753 GB, free: 36.18 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.181e-05/0.5166, allocations: 84.17 kB / 0.5754 GB, free: 36.09 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005418/0.5171, allocations: 417.8 kB / 0.5758 GB, free: 35.88 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.997e-05/0.5172, allocations: 32.67 kB / 0.5758 GB, free: 35.85 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002788/0.5175, allocations: 279.9 kB / 0.5761 GB, free: 35.62 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001844/0.5176, allocations: 130 kB / 0.5762 GB, free: 35.52 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.343e-05/0.5177, allocations: 8 kB / 0.5762 GB, free: 35.52 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000149/0.5178, allocations: 358.2 kB / 0.5766 GB, free: 35.18 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006124/0.5185, allocations: 285.7 kB / 0.5769 GB, free: 35.09 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005605/0.519, allocations: 331 kB / 0.5772 GB, free: 34.96 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005556/0.5196, allocations: 297.8 kB / 0.5775 GB, free: 34.84 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.5196, allocations: 4 kB / 0.5775 GB, free: 34.84 MB / 430.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.003651/0.5233, allocations: 1.591 MB / 0.579 GB, free: 34.4 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.371e-05/0.5233, allocations: 5.625 kB / 0.579 GB, free: 34.4 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.5233, allocations: 0 / 0.579 GB, free: 34.4 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002376/0.5257, allocations: 0.8356 MB / 0.5798 GB, free: 34.21 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002187/0.5259, allocations: 38.61 kB / 0.5799 GB, free: 34.21 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00618/0.5321, allocations: 4.473 MB / 0.5842 GB, free: 30.88 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005697/0.5327, allocations: 85.33 kB / 0.5843 GB, free: 30.86 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5e-05/0.5328, allocations: 19.95 kB / 0.5843 GB, free: 30.84 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.y,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart,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 (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {6 2,6 2} Notification: Performance of prepare postOptimizeDAE: time 0.0003167/0.5331, allocations: 164.9 kB / 0.5845 GB, free: 30.7 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001261/0.5332, allocations: 49.44 kB / 0.5845 GB, free: 30.67 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00383/0.5371, allocations: 1.569 MB / 0.5861 GB, free: 30.24 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.044e-05/0.5371, allocations: 5.156 kB / 0.5861 GB, free: 30.24 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.624e-06/0.5371, allocations: 4.188 kB / 0.5861 GB, free: 30.23 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.857e-06/0.5371, allocations: 3.141 kB / 0.5861 GB, free: 30.23 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008563/0.538, allocations: 0.6276 MB / 0.5867 GB, free: 29.86 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.538, allocations: 2.875 kB / 0.5867 GB, free: 29.86 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001429/0.5381, allocations: 27.06 kB / 0.5867 GB, free: 29.86 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002234/0.5404, allocations: 0.8313 MB / 0.5875 GB, free: 29.68 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.46e-05/0.5404, allocations: 14.95 kB / 0.5876 GB, free: 29.66 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005707/0.5462, allocations: 4.418 MB / 0.5919 GB, free: 26.36 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/0.5462, allocations: 3.062 kB / 0.5919 GB, free: 26.36 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004203/0.5504, allocations: 1.561 MB / 0.5934 GB, free: 25.9 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001852/0.5506, allocations: 132.5 kB / 0.5935 GB, free: 25.77 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001068/0.5507, allocations: 7.281 kB / 0.5935 GB, free: 25.76 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000459/0.5512, allocations: 63.92 kB / 0.5936 GB, free: 25.75 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003245/0.5515, allocations: 106.5 kB / 0.5937 GB, free: 25.73 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.899e-05/0.5516, allocations: 11.47 kB / 0.5937 GB, free: 25.73 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004465/0.552, allocations: 287.4 kB / 0.594 GB, free: 25.59 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.552, allocations: 0 / 0.594 GB, free: 25.59 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0007903/0.5528, allocations: 183.8 kB / 0.5942 GB, free: 25.56 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 (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {6 2,6 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.004361/0.5572, allocations: 2.084 MB / 0.5962 GB, free: 24.57 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003123/0.5603, allocations: 1.387 MB / 0.5975 GB, free: 23.84 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.5603, allocations: 1.344 kB / 0.5975 GB, free: 23.84 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002184/0.5625, allocations: 1.057 MB / 0.5986 GB, free: 23.23 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004759/0.563, allocations: 48.8 kB / 0.5986 GB, free: 23.2 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01027/0.5733, allocations: 4.102 MB / 0.6026 GB, free: 21.4 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006121/0.5739, allocations: 0.859 MB / 0.6035 GB, free: 20.7 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.000205/0.5742, allocations: 37.5 kB / 0.6035 GB, free: 20.7 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003109/0.5745, allocations: 184.1 kB / 0.6037 GB, free: 20.55 MB / 430.1 MB Notification: Performance of SimCode: time 2.314e-06/0.5745, allocations: 0 / 0.6037 GB, free: 20.55 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04071/0.6152, allocations: 12.54 MB / 0.6159 GB, free: 14.97 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001734/0.6154, allocations: 195.9 kB / 0.6161 GB, free: 14.73 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.178/2.793, allocations: 0 / 0.6161 GB, free: 14.73 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/linux/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) Environment - environmentSimulation: