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-master/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-master/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-master/package.mo): time 0.08574/0.08574, allocations: 12.6 MB / 28.1 MB, free: 240 kB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001081/0.001081, allocations: 107.5 kB / 31.7 MB, free: 3.492 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.328/1.328, allocations: 205.1 MB / 240.3 MB, free: 12.44 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.001317/0.001317, allocations: 188.5 kB / 290.5 MB, free: 13.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4563/0.4563, allocations: 78.51 MB / 419.2 MB, free: 11.36 MB / 302.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.00321/0.00321, allocations: 131.8 kB / 499.9 MB, free: 10.74 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3266/0.3298, allocations: 68.11 MB / 0.5547 GB, free: 32.69 MB / 398.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Events.TestBreaker): time 0.005109/0.335, allocations: 3.657 MB / 0.5582 GB, free: 30.04 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002353/0.3374, allocations: 1.148 MB / 0.5594 GB, free: 29.22 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004485/0.3379, allocations: 8.25 kB / 0.5594 GB, free: 29.22 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004786/0.3383, allocations: 122.4 kB / 0.5595 GB, free: 29.16 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005235/0.339, allocations: 174.6 kB / 0.5596 GB, free: 29.03 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001293/0.3403, allocations: 0.5132 MB / 0.5601 GB, free: 28.73 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009635/0.3412, allocations: 0.6489 MB / 0.5608 GB, free: 28.39 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003587/0.3416, allocations: 169.8 kB / 0.5609 GB, free: 28.3 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003938/0.342, allocations: 265.2 kB / 0.5612 GB, free: 28.14 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003966/0.3424, allocations: 320 kB / 0.5615 GB, free: 27.93 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.708e-05/0.3425, allocations: 44.78 kB / 0.5615 GB, free: 27.93 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002669/0.3428, allocations: 102 kB / 0.5616 GB, free: 27.9 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.296e-05/0.3429, allocations: 120.8 kB / 0.5618 GB, free: 27.8 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002416/0.3431, allocations: 282.3 kB / 0.562 GB, free: 27.59 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007737/0.3439, allocations: 0.7002 MB / 0.5627 GB, free: 27.07 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.3439, allocations: 4 kB / 0.5627 GB, free: 27.07 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.3439, allocations: 0 / 0.5627 GB, free: 27.07 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.968e-05/0.344, allocations: 5.203 kB / 0.5627 GB, free: 27.07 MB / 398.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.003578/0.3475, allocations: 1.232 MB / 0.5639 GB, free: 26.19 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.577e-05/0.3476, allocations: 14.02 kB / 0.5639 GB, free: 26.19 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.55e-05/0.3477, allocations: 84.23 kB / 0.564 GB, free: 26.11 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001707/0.3494, allocations: 289.6 kB / 0.5643 GB, free: 25.99 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005758/0.35, allocations: 435.7 kB / 0.5647 GB, free: 25.6 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001758/0.3502, allocations: 198.6 kB / 0.5649 GB, free: 25.41 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.696e-05/0.3503, allocations: 40.25 kB / 0.5649 GB, free: 25.39 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001015/0.3513, allocations: 0.5598 MB / 0.5655 GB, free: 25.05 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.348e-05/0.3513, allocations: 0 / 0.5655 GB, free: 25.05 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.72e-05/0.3514, allocations: 15.53 kB / 0.5655 GB, free: 25.04 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.33e-05/0.3514, allocations: 14.59 kB / 0.5655 GB, free: 25.04 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009549/0.3524, allocations: 477.4 kB / 0.566 GB, free: 24.82 MB / 398.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.002634/0.355, allocations: 2.091 MB / 0.568 GB, free: 22.91 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01092/0.366, allocations: 2.055 MB / 0.57 GB, free: 22.02 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006589/0.3667, allocations: 280.1 kB / 0.5703 GB, free: 21.88 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.582e-05/0.3667, allocations: 17.12 kB / 0.5703 GB, free: 21.86 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007214/0.3675, allocations: 366.5 kB / 0.5706 GB, free: 21.63 MB / 398.1 MB Notification: Performance of pre-optimization done (n=40): time 1.973e-06/0.3675, allocations: 0 / 0.5706 GB, free: 21.63 MB / 398.1 MB Notification: Performance of matching and sorting (n=40): time 0.006866/0.3743, allocations: 2.198 MB / 0.5728 GB, free: 20.31 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.862e-05/0.3744, allocations: 86.14 kB / 0.5729 GB, free: 20.21 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004833/0.3749, allocations: 416.2 kB / 0.5733 GB, free: 19.95 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.817e-05/0.375, allocations: 38.89 kB / 0.5733 GB, free: 19.91 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001468/0.3751, allocations: 278.7 kB / 0.5736 GB, free: 19.64 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.623e-05/0.3752, allocations: 126.1 kB / 0.5737 GB, free: 19.52 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001333/0.3754, allocations: 78.03 kB / 0.5738 GB, free: 19.44 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 7.29e-05/0.3755, allocations: 358.8 kB / 0.5741 GB, free: 19.08 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005206/0.376, allocations: 264.7 kB / 0.5744 GB, free: 18.82 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005093/0.3765, allocations: 302.8 kB / 0.5747 GB, free: 18.51 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009638/0.3775, allocations: 0.5451 MB / 0.5752 GB, free: 17.96 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.3775, allocations: 0 / 0.5752 GB, free: 17.96 MB / 398.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.003719/0.3812, allocations: 1.342 MB / 0.5765 GB, free: 16.6 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.298e-05/0.3813, allocations: 8 kB / 0.5765 GB, free: 16.59 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/0.3813, allocations: 0 / 0.5765 GB, free: 16.59 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002358/0.3836, allocations: 0.7135 MB / 0.5772 GB, free: 15.86 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000259/0.3839, allocations: 43.97 kB / 0.5772 GB, free: 15.82 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005777/0.3897, allocations: 4.667 MB / 0.5818 GB, free: 10.88 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006264/0.3904, allocations: 67.64 kB / 0.5819 GB, free: 10.81 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.589e-05/0.3904, allocations: 19.98 kB / 0.5819 GB, free: 10.79 MB / 398.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.0002417/0.3906, allocations: 161.7 kB / 0.582 GB, free: 10.63 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.221e-05/0.3907, allocations: 47.44 kB / 0.5821 GB, free: 10.58 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003707/0.3944, allocations: 1.325 MB / 0.5834 GB, free: 9.238 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.753e-06/0.3945, allocations: 4 kB / 0.5834 GB, free: 9.234 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.3945, allocations: 0 / 0.5834 GB, free: 9.234 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/0.3945, allocations: 7.984 kB / 0.5834 GB, free: 9.227 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006521/0.3951, allocations: 0.6257 MB / 0.584 GB, free: 8.551 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/0.3952, allocations: 0 / 0.584 GB, free: 8.551 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000155/0.3953, allocations: 27.92 kB / 0.584 GB, free: 8.523 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002277/0.3976, allocations: 0.7175 MB / 0.5847 GB, free: 7.793 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.675e-05/0.3977, allocations: 4 kB / 0.5847 GB, free: 7.789 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005468/0.4031, allocations: 4.626 MB / 0.5893 GB, free: 2.879 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.4032, allocations: 0 / 0.5893 GB, free: 2.879 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003708/0.4069, allocations: 1.332 MB / 0.5906 GB, free: 1.516 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001776/0.4071, allocations: 136.3 kB / 0.5907 GB, free: 1.363 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.01e-05/0.4071, allocations: 7.938 kB / 0.5907 GB, free: 1.355 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004204/0.4076, allocations: 39.95 kB / 0.5907 GB, free: 1.316 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002855/0.4079, allocations: 107.8 kB / 0.5908 GB, free: 1.211 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.965e-05/0.4079, allocations: 12 kB / 0.5908 GB, free: 1.199 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002396/0.4082, allocations: 291.1 kB / 0.5911 GB, free: 0.918 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4082, allocations: 0 / 0.5911 GB, free: 0.918 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005607/0.4087, allocations: 183.7 kB / 0.5913 GB, free: 0.7383 MB / 398.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.005902/0.4146, allocations: 1.849 MB / 0.5931 GB, free: 14.84 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004942/0.4196, allocations: 1.294 MB / 0.5944 GB, free: 13.48 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.942e-06/0.4197, allocations: 0 / 0.5944 GB, free: 13.48 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003628/0.4233, allocations: 1.005 MB / 0.5953 GB, free: 12.41 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007339/0.4241, allocations: 52.59 kB / 0.5954 GB, free: 12.36 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02212/0.4462, allocations: 5.99 MB / 0.6012 GB, free: 6.242 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007058/0.447, allocations: 0.8551 MB / 0.6021 GB, free: 5.363 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002801/0.4473, allocations: 31.28 kB / 0.6021 GB, free: 5.332 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003912/0.4477, allocations: 187.4 kB / 0.6023 GB, free: 5.152 MB / 414.1 MB Notification: Performance of SimCode: time 2.384e-06/0.4478, allocations: 0 / 0.6023 GB, free: 5.152 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05109/0.4989, allocations: 14.05 MB / 0.616 GB, free: 7.152 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.55/12.04, allocations: 12.28 kB / 0.616 GB, free: 7.145 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)