Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Events.TestBreaker.conf.json 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 4.0.0+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 3.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Events.TestBreaker,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Events_TestBreaker",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Events.TestBreaker,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Events_TestBreaker",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001529/0.001529, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.341/1.341, allocations: 222.9 MB / 239.3 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001448/0.001448, allocations: 184.5 kB / 289.6 MB, free: 2.328 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4445/0.4445, allocations: 78.53 MB / 418.2 MB, free: 3.254 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001678/0.001678, allocations: 83.86 kB / 497.6 MB, free: 6.359 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1205/0.1222, allocations: 68.17 MB / 0.5525 GB, free: 2.145 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Events.TestBreaker): time 0.2141/0.3363, allocations: 3.646 MB / 0.556 GB, free: 37.63 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001884/0.3382, allocations: 1.097 MB / 0.5571 GB, free: 37.29 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002429/0.3385, allocations: 9.594 kB / 0.5571 GB, free: 37.29 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003556/0.3389, allocations: 129.6 kB / 0.5572 GB, free: 37.28 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003663/0.3393, allocations: 168.7 kB / 0.5574 GB, free: 37.26 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001044/0.3403, allocations: 0.5221 MB / 0.5579 GB, free: 37.14 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006203/0.341, allocations: 0.6426 MB / 0.5585 GB, free: 37.11 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002604/0.3412, allocations: 154.4 kB / 0.5587 GB, free: 37.09 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002179/0.3415, allocations: 273.5 kB / 0.5589 GB, free: 37.03 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003125/0.3418, allocations: 311.4 kB / 0.5592 GB, free: 36.95 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 6.293e-05/0.3419, allocations: 44.47 kB / 0.5593 GB, free: 36.95 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001914/0.3421, allocations: 105.9 kB / 0.5594 GB, free: 36.95 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 7.759e-05/0.3421, allocations: 122.3 kB / 0.5595 GB, free: 36.92 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001826/0.3423, allocations: 287.8 kB / 0.5598 GB, free: 36.81 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005384/0.3429, allocations: 0.6982 MB / 0.5604 GB, free: 36.66 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.3429, allocations: 0 / 0.5604 GB, free: 36.66 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.3429, allocations: 0.5312 kB / 0.5604 GB, free: 36.66 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.256e-05/0.3429, allocations: 3.969 kB / 0.5605 GB, free: 36.66 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.003079/0.346, allocations: 1.241 MB / 0.5617 GB, free: 36.06 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.729e-05/0.346, allocations: 10.98 kB / 0.5617 GB, free: 36.06 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.126e-05/0.3461, allocations: 84.7 kB / 0.5618 GB, free: 36.02 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0016/0.3477, allocations: 289.3 kB / 0.562 GB, free: 35.98 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004823/0.3482, allocations: 436.6 kB / 0.5624 GB, free: 35.71 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001679/0.3484, allocations: 189.9 kB / 0.5626 GB, free: 35.55 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.031e-05/0.3485, allocations: 41.34 kB / 0.5627 GB, free: 35.55 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009646/0.3495, allocations: 0.5574 MB / 0.5632 GB, free: 35.5 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.47e-05/0.3495, allocations: 2.031 kB / 0.5632 GB, free: 35.5 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.696e-05/0.3495, allocations: 16.75 kB / 0.5632 GB, free: 35.5 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.188e-05/0.3495, allocations: 11.66 kB / 0.5632 GB, free: 35.5 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008833/0.3504, allocations: 482.3 kB / 0.5637 GB, free: 35.5 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.002465/0.3529, allocations: 2.102 MB / 0.5658 GB, free: 34.3 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01085/0.3638, allocations: 2.054 MB / 0.5678 GB, free: 34.25 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006149/0.3644, allocations: 275.5 kB / 0.568 GB, free: 34.23 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.013e-05/0.3645, allocations: 10.52 kB / 0.568 GB, free: 34.23 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008035/0.3653, allocations: 364 kB / 0.5684 GB, free: 34.16 MB / 430.1 MB Notification: Performance of pre-optimization done (n=40): time 2.485e-06/0.3653, allocations: 6.875 kB / 0.5684 GB, free: 34.16 MB / 430.1 MB Notification: Performance of matching and sorting (n=40): time 0.006704/0.3721, allocations: 2.19 MB / 0.5705 GB, free: 33.64 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.304e-05/0.3721, allocations: 82.36 kB / 0.5706 GB, free: 33.55 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004517/0.3726, allocations: 424.5 kB / 0.571 GB, free: 33.43 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.374e-05/0.3727, allocations: 32.2 kB / 0.571 GB, free: 33.4 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001826/0.3728, allocations: 272.9 kB / 0.5713 GB, free: 33.25 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001163/0.373, allocations: 140.6 kB / 0.5714 GB, free: 33.16 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001517/0.3731, allocations: 73.67 kB / 0.5715 GB, free: 33.14 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.024e-05/0.3732, allocations: 355 kB / 0.5718 GB, free: 32.83 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005504/0.3738, allocations: 265.2 kB / 0.5721 GB, free: 32.82 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005466/0.3743, allocations: 302.8 kB / 0.5724 GB, free: 32.8 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001059/0.3754, allocations: 0.5401 MB / 0.5729 GB, free: 32.77 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.3754, allocations: 4 kB / 0.5729 GB, free: 32.77 MB / 430.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.003914/0.3793, allocations: 1.342 MB / 0.5742 GB, free: 32.64 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.497e-05/0.3794, allocations: 6.375 kB / 0.5742 GB, free: 32.64 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/0.3794, allocations: 0 / 0.5742 GB, free: 32.64 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002471/0.3819, allocations: 0.7046 MB / 0.5749 GB, free: 32.59 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002632/0.3822, allocations: 47.34 kB / 0.575 GB, free: 32.59 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006097/0.3883, allocations: 4.667 MB / 0.5795 GB, free: 29.8 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006035/0.3889, allocations: 72.25 kB / 0.5796 GB, free: 29.77 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.57e-05/0.3889, allocations: 13.03 kB / 0.5796 GB, free: 29.77 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.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.00023/0.3892, allocations: 172.9 kB / 0.5798 GB, free: 29.66 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.565e-05/0.3893, allocations: 47.47 kB / 0.5798 GB, free: 29.63 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003984/0.3933, allocations: 1.323 MB / 0.5811 GB, free: 29.34 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.416e-06/0.3933, allocations: 3.844 kB / 0.5811 GB, free: 29.34 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.3933, allocations: 8.438 kB / 0.5811 GB, free: 29.34 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.3933, allocations: 4.453 kB / 0.5811 GB, free: 29.34 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006548/0.394, allocations: 0.631 MB / 0.5817 GB, free: 28.96 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.516e-06/0.394, allocations: 1.125 kB / 0.5817 GB, free: 28.96 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001701/0.3942, allocations: 23.97 kB / 0.5818 GB, free: 28.96 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002505/0.3967, allocations: 0.7105 MB / 0.5825 GB, free: 28.79 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.017e-05/0.3967, allocations: 9.719 kB / 0.5825 GB, free: 28.79 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006073/0.4028, allocations: 4.632 MB / 0.587 GB, free: 25.21 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.175e-06/0.4029, allocations: 1.188 kB / 0.587 GB, free: 25.21 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004183/0.407, allocations: 1.319 MB / 0.5883 GB, free: 24.8 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001888/0.4073, allocations: 129.2 kB / 0.5884 GB, free: 24.67 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.333e-05/0.4074, allocations: 19.38 kB / 0.5884 GB, free: 24.66 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004431/0.4078, allocations: 41.38 kB / 0.5885 GB, free: 24.66 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002881/0.4081, allocations: 104.4 kB / 0.5886 GB, free: 24.63 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.112e-05/0.4082, allocations: 7.562 kB / 0.5886 GB, free: 24.63 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003235/0.4085, allocations: 291.3 kB / 0.5888 GB, free: 24.48 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.4085, allocations: 0 / 0.5888 GB, free: 24.48 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0006477/0.4092, allocations: 191.9 kB / 0.589 GB, free: 24.45 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 (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.004301/0.4135, allocations: 1.856 MB / 0.5908 GB, free: 23.49 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003593/0.4171, allocations: 1.298 MB / 0.5921 GB, free: 22.78 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.4171, allocations: 0 / 0.5921 GB, free: 22.78 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002444/0.4196, allocations: 0.999 MB / 0.5931 GB, free: 22.16 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006988/0.4203, allocations: 45.08 kB / 0.5931 GB, free: 22.14 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01358/0.4339, allocations: 5.988 MB / 0.599 GB, free: 19.29 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003721/0.4343, allocations: 0.8589 MB / 0.5998 GB, free: 18.59 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001589/0.4345, allocations: 34.06 kB / 0.5998 GB, free: 18.59 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002234/0.4347, allocations: 193.8 kB / 0.6 GB, free: 18.43 MB / 430.1 MB Notification: Performance of SimCode: time 7.62e-07/0.4347, allocations: 0 / 0.6 GB, free: 18.43 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04525/0.48, allocations: 14.03 MB / 0.6137 GB, free: 14.86 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.35/11.83, allocations: 10.73 kB / 0.6137 GB, free: 14.85 MB / 430.1 MB (rm -f OpenIPSL_OpenIPSL.Tests.Events.TestBreaker.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Events.TestBreaker.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Events.TestBreaker.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Events.TestBreaker.sim & python3 -m fmpy simulate --output-file OpenIPSL_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_OpenIPSL_Tests_Events_TestBreaker.fmu > OpenIPSL_OpenIPSL.Tests.Events.TestBreaker.pipe 2>&1)