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.08474/0.08474, allocations: 12.2 MB / 27.32 MB, free: 1.418 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.001062/0.001062, allocations: 111.4 kB / 30.83 MB, free: 4.699 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.344/1.344, allocations: 205.1 MB / 239.3 MB, free: 11.04 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.001287/0.001287, allocations: 188.5 kB / 289.5 MB, free: 15.9 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4288/0.4288, allocations: 78.51 MB / 418 MB, free: 31.8 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.002423/0.002423, allocations: 131.8 kB / 498.3 MB, free: 0.5508 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3221/0.3246, allocations: 68.02 MB / 0.5531 GB, free: 37.55 MB / 414.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Events.TestBreaker): time 0.003588/0.3282, allocations: 3.876 MB / 0.5568 GB, free: 34.75 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001445/0.3297, allocations: 1.154 MB / 0.558 GB, free: 33.92 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001736/0.3298, allocations: 12.53 kB / 0.558 GB, free: 33.92 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002977/0.3302, allocations: 101.8 kB / 0.5581 GB, free: 33.88 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002653/0.3304, allocations: 144.4 kB / 0.5582 GB, free: 33.77 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008106/0.3312, allocations: 491.3 kB / 0.5587 GB, free: 33.48 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000394/0.3316, allocations: 0.6146 MB / 0.5593 GB, free: 33.17 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001904/0.3318, allocations: 141.5 kB / 0.5594 GB, free: 33.11 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001737/0.332, allocations: 258 kB / 0.5597 GB, free: 32.98 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002628/0.3323, allocations: 302 kB / 0.56 GB, free: 32.84 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.173e-05/0.3324, allocations: 30.03 kB / 0.56 GB, free: 32.84 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001624/0.3325, allocations: 89.06 kB / 0.5601 GB, free: 32.82 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.8e-05/0.3326, allocations: 104.4 kB / 0.5602 GB, free: 32.75 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001661/0.3328, allocations: 273.3 kB / 0.5604 GB, free: 32.57 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004352/0.3332, allocations: 0.6792 MB / 0.5611 GB, free: 32.25 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.337e-06/0.3332, allocations: 4 kB / 0.5611 GB, free: 32.25 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.3332, allocations: 0 / 0.5611 GB, free: 32.25 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.022e-05/0.3333, allocations: 3.938 kB / 0.5611 GB, free: 32.25 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.002807/0.3361, allocations: 1.243 MB / 0.5623 GB, free: 31.52 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/0.3361, allocations: 15.36 kB / 0.5623 GB, free: 31.52 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.509e-05/0.3362, allocations: 84.22 kB / 0.5624 GB, free: 31.45 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001513/0.3377, allocations: 291.3 kB / 0.5627 GB, free: 31.39 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004468/0.3382, allocations: 432.6 kB / 0.5631 GB, free: 31.04 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001467/0.3383, allocations: 194.4 kB / 0.5633 GB, free: 30.86 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.494e-05/0.3384, allocations: 40.75 kB / 0.5633 GB, free: 30.85 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008917/0.3393, allocations: 0.5537 MB / 0.5639 GB, free: 30.62 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.3393, allocations: 0 / 0.5639 GB, free: 30.62 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.35e-05/0.3394, allocations: 17.88 kB / 0.5639 GB, free: 30.61 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.786e-06/0.3394, allocations: 12.84 kB / 0.5639 GB, free: 30.6 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008303/0.3402, allocations: 485.1 kB / 0.5644 GB, free: 30.44 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.002193/0.3424, allocations: 2.09 MB / 0.5664 GB, free: 28.85 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009835/0.3523, allocations: 2.055 MB / 0.5684 GB, free: 28.59 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005473/0.3528, allocations: 281.7 kB / 0.5687 GB, free: 28.47 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.078e-05/0.3529, allocations: 6.797 kB / 0.5687 GB, free: 28.46 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000747/0.3537, allocations: 367.2 kB / 0.569 GB, free: 28.3 MB / 414.1 MB Notification: Performance of pre-optimization done (n=40): time 2.285e-06/0.3537, allocations: 0 / 0.569 GB, free: 28.3 MB / 414.1 MB Notification: Performance of matching and sorting (n=40): time 0.006113/0.3598, allocations: 2.2 MB / 0.5712 GB, free: 27.44 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.44e-05/0.3599, allocations: 86.39 kB / 0.5713 GB, free: 27.34 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000458/0.3603, allocations: 411.9 kB / 0.5717 GB, free: 27.14 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.756e-05/0.3604, allocations: 32.42 kB / 0.5717 GB, free: 27.11 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001659/0.3605, allocations: 284.1 kB / 0.572 GB, free: 26.88 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001091/0.3607, allocations: 133.5 kB / 0.5721 GB, free: 26.77 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001428/0.3608, allocations: 71.55 kB / 0.5721 GB, free: 26.73 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 7.144e-05/0.3609, allocations: 357.6 kB / 0.5725 GB, free: 26.4 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005053/0.3614, allocations: 264.3 kB / 0.5727 GB, free: 26.3 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000525/0.3619, allocations: 299 kB / 0.573 GB, free: 26.18 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009637/0.3629, allocations: 0.5517 MB / 0.5736 GB, free: 25.93 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.3629, allocations: 0 / 0.5736 GB, free: 25.93 MB / 414.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.003731/0.3666, allocations: 1.346 MB / 0.5749 GB, free: 25.51 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.066e-05/0.3667, allocations: 4.875 kB / 0.5749 GB, free: 25.51 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.178e-06/0.3667, allocations: 0.9375 kB / 0.5749 GB, free: 25.51 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002484/0.3692, allocations: 0.7085 MB / 0.5756 GB, free: 25.34 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002438/0.3694, allocations: 42 kB / 0.5756 GB, free: 25.33 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005786/0.3752, allocations: 4.302 MB / 0.5798 GB, free: 22.02 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005754/0.3758, allocations: 60.39 kB / 0.5799 GB, free: 22 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.018e-05/0.3759, allocations: 15.23 kB / 0.5799 GB, free: 21.99 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.0002472/0.3761, allocations: 180.5 kB / 0.5801 GB, free: 21.83 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.894e-05/0.3762, allocations: 52.02 kB / 0.5801 GB, free: 21.8 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003806/0.38, allocations: 1.332 MB / 0.5814 GB, free: 21.39 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/0.3801, allocations: 4.125 kB / 0.5814 GB, free: 21.39 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.3801, allocations: 1.375 kB / 0.5814 GB, free: 21.39 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.344e-06/0.3801, allocations: 3.906 kB / 0.5814 GB, free: 21.39 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007017/0.3808, allocations: 0.6187 MB / 0.582 GB, free: 21.02 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/0.3808, allocations: 5.25 kB / 0.582 GB, free: 21.02 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001512/0.381, allocations: 28.72 kB / 0.5821 GB, free: 21.02 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002338/0.3833, allocations: 0.7116 MB / 0.5828 GB, free: 20.84 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.97e-05/0.3833, allocations: 5.375 kB / 0.5828 GB, free: 20.84 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005513/0.3889, allocations: 4.258 MB / 0.5869 GB, free: 17.54 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/0.3889, allocations: 5.719 kB / 0.5869 GB, free: 17.53 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003917/0.3928, allocations: 1.32 MB / 0.5882 GB, free: 17.1 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001657/0.393, allocations: 129.7 kB / 0.5883 GB, free: 16.97 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.845e-05/0.3931, allocations: 7.109 kB / 0.5883 GB, free: 16.96 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004041/0.3935, allocations: 45.91 kB / 0.5884 GB, free: 16.96 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003426/0.3938, allocations: 103.8 kB / 0.5885 GB, free: 16.94 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.618e-05/0.3939, allocations: 12.23 kB / 0.5885 GB, free: 16.93 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003205/0.3942, allocations: 291.7 kB / 0.5888 GB, free: 16.8 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3942, allocations: 3.938 kB / 0.5888 GB, free: 16.79 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006551/0.3949, allocations: 187.1 kB / 0.589 GB, free: 16.76 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.003938/0.3988, allocations: 1.85 MB / 0.5908 GB, free: 15.65 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002825/0.4017, allocations: 1.266 MB / 0.592 GB, free: 14.79 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/0.4017, allocations: 5.188 kB / 0.592 GB, free: 14.79 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002122/0.4038, allocations: 0.9876 MB / 0.593 GB, free: 14.04 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004911/0.4043, allocations: 40 kB / 0.593 GB, free: 14.02 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01218/0.4165, allocations: 6.176 MB / 0.599 GB, free: 10.07 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003392/0.4169, allocations: 0.8618 MB / 0.5999 GB, free: 9.293 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001608/0.4171, allocations: 35.38 kB / 0.5999 GB, free: 9.277 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002062/0.4173, allocations: 186.2 kB / 0.6001 GB, free: 9.117 MB / 414.1 MB Notification: Performance of SimCode: time 8.02e-07/0.4173, allocations: 0 / 0.6001 GB, free: 9.117 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04698/0.4643, allocations: 12.92 MB / 0.6127 GB, free: 12.47 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000259/0.4646, allocations: 212.5 kB / 0.6129 GB, free: 12.21 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.032/2.497, allocations: 0 / 0.6129 GB, free: 12.21 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)