Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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_dev_OpenIPSL_Tests_Events_TestBreaker",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Events.TestBreaker,fileNamePrefix="OpenIPSL_dev_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.001091/0.001091, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.453/1.453, allocations: 222.9 MB / 238.9 MB, free: 4.75 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.001362/0.001362, allocations: 192.4 kB / 289.1 MB, free: 2.492 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5194/0.5194, allocations: 91.89 MB / 431.2 MB, free: 9.426 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001533/0.001533, allocations: 79.88 kB / 0.5013 GB, free: 8.043 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5617/0.5633, allocations: 71.25 MB / 0.5709 GB, free: 37.03 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Events.TestBreaker): time 0.006074/0.5694, allocations: 3.878 MB / 0.5747 GB, free: 34.96 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002506/0.572, allocations: 1.12 MB / 0.5758 GB, free: 34.24 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003274/0.5723, allocations: 8 kB / 0.5758 GB, free: 34.24 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004689/0.5728, allocations: 102.3 kB / 0.5759 GB, free: 34.2 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004624/0.5733, allocations: 152.4 kB / 0.576 GB, free: 34.09 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001345/0.5747, allocations: 482.1 kB / 0.5765 GB, free: 33.82 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007051/0.5754, allocations: 0.6206 MB / 0.5771 GB, free: 33.5 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003097/0.5757, allocations: 129.5 kB / 0.5772 GB, free: 33.45 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003201/0.576, allocations: 259 kB / 0.5775 GB, free: 33.32 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004501/0.5765, allocations: 299.7 kB / 0.5777 GB, free: 33.18 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 7.985e-05/0.5766, allocations: 28.78 kB / 0.5778 GB, free: 33.18 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002727/0.5769, allocations: 88.09 kB / 0.5779 GB, free: 33.16 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001083/0.577, allocations: 114.9 kB / 0.578 GB, free: 33.09 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002753/0.5773, allocations: 270.1 kB / 0.5782 GB, free: 32.91 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00077/0.5781, allocations: 0.6857 MB / 0.5789 GB, free: 32.59 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.5781, allocations: 4.562 kB / 0.5789 GB, free: 32.59 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.5781, allocations: 0.875 kB / 0.5789 GB, free: 32.59 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.456e-06/0.5781, allocations: 0 / 0.5789 GB, free: 32.59 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.004622/0.5827, allocations: 1.228 MB / 0.5801 GB, free: 31.89 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.063e-05/0.5828, allocations: 9.844 kB / 0.5801 GB, free: 31.89 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001291/0.5829, allocations: 89.17 kB / 0.5802 GB, free: 31.82 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002716/0.5857, allocations: 290.1 kB / 0.5805 GB, free: 31.76 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007499/0.5864, allocations: 442 kB / 0.5809 GB, free: 31.41 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002219/0.5867, allocations: 195.2 kB / 0.5811 GB, free: 31.23 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.946e-05/0.5868, allocations: 40.44 kB / 0.5811 GB, free: 31.22 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001555/0.5883, allocations: 0.5605 MB / 0.5817 GB, free: 30.99 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.641e-05/0.5884, allocations: 0 / 0.5817 GB, free: 30.99 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.945e-05/0.5885, allocations: 21.97 kB / 0.5817 GB, free: 30.97 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.875e-05/0.5885, allocations: 8.125 kB / 0.5817 GB, free: 30.97 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001423/0.5899, allocations: 476.1 kB / 0.5821 GB, free: 30.82 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.003685/0.5936, allocations: 2.098 MB / 0.5842 GB, free: 29.22 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01633/0.61, allocations: 2.047 MB / 0.5862 GB, free: 28.96 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001009/0.611, allocations: 274.9 kB / 0.5865 GB, free: 28.84 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.48e-05/0.6111, allocations: 11.97 kB / 0.5865 GB, free: 28.84 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001275/0.6124, allocations: 362.7 kB / 0.5868 GB, free: 28.68 MB / 430.1 MB Notification: Performance of pre-optimization done (n=40): time 3.116e-06/0.6124, allocations: 0 / 0.5868 GB, free: 28.68 MB / 430.1 MB Notification: Performance of matching and sorting (n=40): time 0.01069/0.6231, allocations: 2.202 MB / 0.589 GB, free: 27.82 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.166e-05/0.6232, allocations: 82.67 kB / 0.589 GB, free: 27.72 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008882/0.6241, allocations: 414.4 kB / 0.5894 GB, free: 27.53 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.676e-05/0.6242, allocations: 34.8 kB / 0.5895 GB, free: 27.49 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002748/0.6245, allocations: 279.4 kB / 0.5897 GB, free: 27.26 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001945/0.6247, allocations: 132.8 kB / 0.5899 GB, free: 27.16 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002508/0.625, allocations: 74.59 kB / 0.5899 GB, free: 27.11 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001251/0.6251, allocations: 359 kB / 0.5903 GB, free: 26.78 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009681/0.6261, allocations: 260.7 kB / 0.5905 GB, free: 26.69 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009703/0.6271, allocations: 303.7 kB / 0.5908 GB, free: 26.56 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001875/0.629, allocations: 0.5548 MB / 0.5914 GB, free: 26.31 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/0.629, allocations: 0 / 0.5914 GB, free: 26.31 MB / 430.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.006409/0.6354, allocations: 1.344 MB / 0.5927 GB, free: 25.89 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.256e-05/0.6354, allocations: 7.469 kB / 0.5927 GB, free: 25.89 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.237e-05/0.6355, allocations: 1.438 kB / 0.5927 GB, free: 25.89 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004086/0.6396, allocations: 0.7172 MB / 0.5934 GB, free: 25.71 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004121/0.64, allocations: 40.28 kB / 0.5934 GB, free: 25.71 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009538/0.6495, allocations: 4.303 MB / 0.5976 GB, free: 22.38 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007913/0.6504, allocations: 62.14 kB / 0.5977 GB, free: 22.36 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.317e-05/0.6504, allocations: 12.12 kB / 0.5977 GB, free: 22.36 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.0003853/0.6508, allocations: 174.2 kB / 0.5979 GB, free: 22.2 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001357/0.651, allocations: 51.41 kB / 0.5979 GB, free: 22.18 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006599/0.6576, allocations: 1.315 MB / 0.5992 GB, free: 21.78 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.326e-06/0.6576, allocations: 4.062 kB / 0.5992 GB, free: 21.78 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/0.6576, allocations: 3.344 kB / 0.5992 GB, free: 21.78 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.516e-06/0.6576, allocations: 3.328 kB / 0.5992 GB, free: 21.78 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009879/0.6586, allocations: 0.6257 MB / 0.5998 GB, free: 21.4 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.991e-06/0.6587, allocations: 5.094 kB / 0.5998 GB, free: 21.4 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000283/0.659, allocations: 31.92 kB / 0.5998 GB, free: 21.39 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003844/0.6628, allocations: 0.7119 MB / 0.6005 GB, free: 21.21 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.186e-05/0.6629, allocations: 6.375 kB / 0.6006 GB, free: 21.21 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008556/0.6715, allocations: 4.264 MB / 0.6047 GB, free: 17.9 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.6715, allocations: 5.797 kB / 0.6047 GB, free: 17.9 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004495/0.676, allocations: 1.317 MB / 0.606 GB, free: 17.47 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001483/0.6762, allocations: 133.5 kB / 0.6061 GB, free: 17.34 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.22e-05/0.6762, allocations: 8.406 kB / 0.6061 GB, free: 17.33 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004592/0.6767, allocations: 44.34 kB / 0.6062 GB, free: 17.32 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003365/0.6771, allocations: 105.1 kB / 0.6063 GB, free: 17.3 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.867e-05/0.6771, allocations: 11.81 kB / 0.6063 GB, free: 17.3 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004198/0.6775, allocations: 291.5 kB / 0.6066 GB, free: 17.16 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.6775, allocations: 0 / 0.6066 GB, free: 17.16 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0008187/0.6784, allocations: 180.8 kB / 0.6067 GB, free: 17.13 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.004721/0.6831, allocations: 1.864 MB / 0.6086 GB, free: 16.16 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003286/0.6864, allocations: 1.27 MB / 0.6098 GB, free: 15.44 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.14e-06/0.6864, allocations: 1.75 kB / 0.6098 GB, free: 15.44 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002472/0.6889, allocations: 0.9661 MB / 0.6107 GB, free: 14.84 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005894/0.6895, allocations: 49.05 kB / 0.6108 GB, free: 14.81 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0165/0.706, allocations: 6.186 MB / 0.6168 GB, free: 11.7 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004842/0.7065, allocations: 0.858 MB / 0.6177 GB, free: 10.99 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002/0.7068, allocations: 38.17 kB / 0.6177 GB, free: 10.99 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002554/0.707, allocations: 185.1 kB / 0.6179 GB, free: 10.84 MB / 430.1 MB Notification: Performance of SimCode: time 1.172e-06/0.707, allocations: 0 / 0.6179 GB, free: 10.84 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03014/0.7372, allocations: 12.89 MB / 0.6305 GB, free: 0.6484 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001534/0.7374, allocations: 225.5 kB / 0.6307 GB, free: 392 kB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.123/2.86, allocations: 0 / 0.6307 GB, free: 392 kB / 430.1 MB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Events.TestBreaker.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Events.TestBreaker.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Events.TestBreaker.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Events.TestBreaker.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Events_TestBreaker_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Events_TestBreaker.fmu > OpenIPSL_dev_OpenIPSL.Tests.Events.TestBreaker.pipe 2>&1)