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.102/0.102, allocations: 12.6 MB / 28.1 MB, free: 184 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.001019/0.001019, 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.267/1.267, allocations: 205.1 MB / 240.3 MB, free: 12.43 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.001244/0.001244, allocations: 195.2 kB / 290.6 MB, free: 13.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4192/0.4192, allocations: 78.49 MB / 419.2 MB, free: 11.35 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.002614/0.002614, allocations: 135.8 kB / 499.9 MB, free: 10.73 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2392/0.2418, allocations: 68.11 MB / 0.5547 GB, free: 32.7 MB / 398.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Events.TestBreaker): time 0.003808/0.2457, allocations: 3.66 MB / 0.5582 GB, free: 30.05 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001603/0.2473, allocations: 1.142 MB / 0.5594 GB, free: 29.23 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001991/0.2475, allocations: 10.47 kB / 0.5594 GB, free: 29.23 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003103/0.2478, allocations: 128 kB / 0.5595 GB, free: 29.16 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003163/0.2482, allocations: 171.1 kB / 0.5597 GB, free: 29.04 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009677/0.2492, allocations: 0.5155 MB / 0.5602 GB, free: 28.73 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005138/0.2497, allocations: 0.6451 MB / 0.5608 GB, free: 28.4 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002359/0.2499, allocations: 163.7 kB / 0.5609 GB, free: 28.33 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002233/0.2501, allocations: 270 kB / 0.5612 GB, free: 28.2 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003093/0.2505, allocations: 314.3 kB / 0.5615 GB, free: 27.99 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.765e-05/0.2505, allocations: 42.88 kB / 0.5615 GB, free: 27.99 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001863/0.2507, allocations: 106.3 kB / 0.5616 GB, free: 27.96 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.47e-05/0.2508, allocations: 115.9 kB / 0.5618 GB, free: 27.86 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001779/0.251, allocations: 287.5 kB / 0.562 GB, free: 27.65 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000488/0.2515, allocations: 0.7035 MB / 0.5627 GB, free: 27.13 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.2515, allocations: 1.062 kB / 0.5627 GB, free: 27.13 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.2515, allocations: 0 / 0.5627 GB, free: 27.13 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.185e-06/0.2515, allocations: 4 kB / 0.5627 GB, free: 27.12 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.002918/0.2545, allocations: 1.233 MB / 0.5639 GB, free: 26.25 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.295e-05/0.2545, allocations: 16.72 kB / 0.5639 GB, free: 26.24 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.457e-05/0.2546, allocations: 81.97 kB / 0.564 GB, free: 26.17 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001637/0.2562, allocations: 286.1 kB / 0.5643 GB, free: 26.05 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004163/0.2566, allocations: 439.3 kB / 0.5647 GB, free: 25.66 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000145/0.2568, allocations: 190.1 kB / 0.5649 GB, free: 25.47 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.962e-05/0.2569, allocations: 38.91 kB / 0.5649 GB, free: 25.46 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009452/0.2578, allocations: 0.5604 MB / 0.5655 GB, free: 25.12 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.293e-05/0.2578, allocations: 7.922 kB / 0.5655 GB, free: 25.11 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.333e-05/0.2579, allocations: 19.28 kB / 0.5655 GB, free: 25.1 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.107e-05/0.2579, allocations: 10.5 kB / 0.5655 GB, free: 25.1 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008937/0.2588, allocations: 485.9 kB / 0.566 GB, free: 24.87 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.002207/0.261, allocations: 2.087 MB / 0.568 GB, free: 22.96 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01076/0.2718, allocations: 2.056 MB / 0.57 GB, free: 22.08 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005264/0.2723, allocations: 279.4 kB / 0.5703 GB, free: 21.93 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.891e-05/0.2724, allocations: 12.31 kB / 0.5703 GB, free: 21.92 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006704/0.2731, allocations: 361.5 kB / 0.5706 GB, free: 21.69 MB / 398.1 MB Notification: Performance of pre-optimization done (n=40): time 1.794e-06/0.2731, allocations: 4 kB / 0.5706 GB, free: 21.69 MB / 398.1 MB Notification: Performance of matching and sorting (n=40): time 0.006516/0.2796, allocations: 2.201 MB / 0.5728 GB, free: 20.37 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.241e-05/0.2796, allocations: 80.92 kB / 0.5729 GB, free: 20.27 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003758/0.28, allocations: 420.3 kB / 0.5733 GB, free: 20.01 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.17e-05/0.2801, allocations: 31.02 kB / 0.5733 GB, free: 19.98 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001354/0.2802, allocations: 282.5 kB / 0.5736 GB, free: 19.73 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.349e-05/0.2803, allocations: 130.9 kB / 0.5737 GB, free: 19.61 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001397/0.2804, allocations: 76.97 kB / 0.5738 GB, free: 19.56 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 6.106e-05/0.2805, allocations: 362.4 kB / 0.5741 GB, free: 19.21 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005001/0.281, allocations: 260.8 kB / 0.5744 GB, free: 18.95 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005044/0.2815, allocations: 306.8 kB / 0.5747 GB, free: 18.64 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009564/0.2825, allocations: 0.5451 MB / 0.5752 GB, free: 18.09 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.2825, allocations: 0 / 0.5752 GB, free: 18.09 MB / 398.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.003644/0.2862, allocations: 1.342 MB / 0.5765 GB, free: 16.73 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.2862, allocations: 7.984 kB / 0.5765 GB, free: 16.72 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.2862, allocations: 0 / 0.5765 GB, free: 16.72 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002331/0.2885, allocations: 0.7174 MB / 0.5772 GB, free: 15.99 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002085/0.2887, allocations: 39.97 kB / 0.5772 GB, free: 15.95 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00557/0.2943, allocations: 4.679 MB / 0.5818 GB, free: 11 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004938/0.2948, allocations: 71.69 kB / 0.5819 GB, free: 10.93 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.07e-05/0.2949, allocations: 8 kB / 0.5819 GB, free: 10.92 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.0001721/0.2951, allocations: 161.8 kB / 0.582 GB, free: 10.75 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.643e-05/0.2951, allocations: 47.44 kB / 0.5821 GB, free: 10.71 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003672/0.2988, allocations: 1.325 MB / 0.5834 GB, free: 9.363 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.2988, allocations: 11.98 kB / 0.5834 GB, free: 9.352 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.2988, allocations: 4 kB / 0.5834 GB, free: 9.348 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.2988, allocations: 0 / 0.5834 GB, free: 9.348 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004696/0.2993, allocations: 0.6257 MB / 0.584 GB, free: 8.672 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.876e-06/0.2993, allocations: 0 / 0.584 GB, free: 8.672 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001521/0.2995, allocations: 27.92 kB / 0.584 GB, free: 8.645 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002242/0.3017, allocations: 0.7058 MB / 0.5847 GB, free: 7.926 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.09e-05/0.3018, allocations: 8 kB / 0.5847 GB, free: 7.918 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005287/0.3071, allocations: 4.634 MB / 0.5893 GB, free: 3 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.3071, allocations: 0 / 0.5893 GB, free: 3 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003547/0.3106, allocations: 1.328 MB / 0.5906 GB, free: 1.641 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.611e-05/0.3107, allocations: 136.3 kB / 0.5907 GB, free: 1.488 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.216e-05/0.3108, allocations: 4 kB / 0.5907 GB, free: 1.484 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004042/0.3112, allocations: 47.94 kB / 0.5907 GB, free: 1.438 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002096/0.3114, allocations: 99.8 kB / 0.5908 GB, free: 1.34 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.747e-05/0.3115, allocations: 12 kB / 0.5908 GB, free: 1.328 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002163/0.3117, allocations: 295.1 kB / 0.5911 GB, free: 1.043 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3117, allocations: 4 kB / 0.5911 GB, free: 1.039 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004961/0.3122, allocations: 183.7 kB / 0.5913 GB, free: 0.8594 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.004072/0.3163, allocations: 1.853 MB / 0.5931 GB, free: 14.96 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003091/0.3194, allocations: 1.287 MB / 0.5944 GB, free: 13.61 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.3194, allocations: 0 / 0.5944 GB, free: 13.61 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002327/0.3217, allocations: 1.005 MB / 0.5954 GB, free: 12.53 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003737/0.3221, allocations: 52.8 kB / 0.5954 GB, free: 12.48 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01238/0.3345, allocations: 5.972 MB / 0.6012 GB, free: 6.379 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003894/0.3349, allocations: 0.8629 MB / 0.6021 GB, free: 5.492 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000115/0.335, allocations: 39.2 kB / 0.6021 GB, free: 5.453 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000218/0.3352, allocations: 187.4 kB / 0.6023 GB, free: 5.273 MB / 414.1 MB Notification: Performance of SimCode: time 3.8e-07/0.3353, allocations: 0 / 0.6023 GB, free: 5.273 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03664/0.3719, allocations: 14.06 MB / 0.616 GB, free: 7.273 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.33/11.7, allocations: 4.594 kB / 0.616 GB, free: 7.27 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 & python3 -m fmpy simulate --output-file OpenIPSL_2.0.0_OpenIPSL.Tests.Events.TestBreaker_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 OpenIPSL_2_0_0_OpenIPSL_Tests_Events_TestBreaker.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Events.TestBreaker.pipe 2>&1)