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.08024/0.08024, allocations: 12.59 MB / 28.22 MB, free: 0.7578 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.001112/0.001112, allocations: 111.4 kB / 31.84 MB, free: 3.887 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.345/1.345, allocations: 205.1 MB / 240.4 MB, free: 12.36 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.001309/0.001309, allocations: 180.5 kB / 290.7 MB, free: 13.39 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4581/0.4581, allocations: 78.51 MB / 419.3 MB, free: 11.23 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.00262/0.00262, allocations: 134.3 kB / 0.5553 GB, free: 28.93 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1033/0.1059, allocations: 68.13 MB / 0.6219 GB, free: 15.95 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Events.TestBreaker): time 0.004179/0.1101, allocations: 3.669 MB / 0.6254 GB, free: 12.26 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001989/0.1121, allocations: 1.146 MB / 0.6266 GB, free: 11.11 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002304/0.1124, allocations: 8 kB / 0.6266 GB, free: 11.1 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003606/0.1128, allocations: 123 kB / 0.6267 GB, free: 10.98 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003785/0.1132, allocations: 206.5 kB / 0.6269 GB, free: 10.78 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001078/0.1143, allocations: 0.5114 MB / 0.6274 GB, free: 10.27 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005776/0.1148, allocations: 0.6497 MB / 0.628 GB, free: 9.613 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002571/0.1151, allocations: 162.1 kB / 0.6282 GB, free: 9.441 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002436/0.1154, allocations: 274.8 kB / 0.6284 GB, free: 9.172 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003511/0.1157, allocations: 310.5 kB / 0.6287 GB, free: 8.867 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.995e-05/0.1158, allocations: 44 kB / 0.6288 GB, free: 8.824 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001823/0.116, allocations: 108 kB / 0.6289 GB, free: 8.719 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.66e-05/0.1161, allocations: 119.4 kB / 0.629 GB, free: 8.602 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002215/0.1163, allocations: 282.3 kB / 0.6293 GB, free: 8.324 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007193/0.117, allocations: 0.7157 MB / 0.63 GB, free: 7.605 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.1171, allocations: 4 kB / 0.63 GB, free: 7.602 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1171, allocations: 4 kB / 0.63 GB, free: 7.598 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.558e-06/0.1171, allocations: 0 / 0.63 GB, free: 7.598 MB / 446.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.003245/0.1203, allocations: 1.248 MB / 0.6312 GB, free: 6.297 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/0.1204, allocations: 15.92 kB / 0.6312 GB, free: 6.281 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.033e-05/0.1205, allocations: 82.72 kB / 0.6313 GB, free: 6.191 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001698/0.1222, allocations: 300.2 kB / 0.6316 GB, free: 5.898 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005971/0.1228, allocations: 442.2 kB / 0.632 GB, free: 5.43 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001824/0.123, allocations: 189.4 kB / 0.6322 GB, free: 5.211 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.319e-05/0.1231, allocations: 44 kB / 0.6322 GB, free: 5.168 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001034/0.1241, allocations: 0.5603 MB / 0.6328 GB, free: 4.598 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.422e-05/0.1241, allocations: 0 / 0.6328 GB, free: 4.598 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.923e-05/0.1242, allocations: 16 kB / 0.6328 GB, free: 4.582 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.072e-05/0.1242, allocations: 12 kB / 0.6328 GB, free: 4.57 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009699/0.1252, allocations: 475.2 kB / 0.6332 GB, free: 4.105 MB / 446.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.002705/0.1279, allocations: 2.094 MB / 0.6353 GB, free: 1.809 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01077/0.1387, allocations: 2.053 MB / 0.6373 GB, free: 15.74 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000625/0.1393, allocations: 278.2 kB / 0.6376 GB, free: 15.46 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.238e-05/0.1394, allocations: 11.94 kB / 0.6376 GB, free: 15.45 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007304/0.1401, allocations: 359.2 kB / 0.6379 GB, free: 15.08 MB / 462.1 MB Notification: Performance of pre-optimization done (n=40): time 2.234e-06/0.1401, allocations: 0 / 0.6379 GB, free: 15.08 MB / 462.1 MB Notification: Performance of matching and sorting (n=40): time 0.006968/0.1471, allocations: 2.205 MB / 0.6401 GB, free: 12.78 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.199e-05/0.1472, allocations: 81.11 kB / 0.6401 GB, free: 12.68 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004892/0.1477, allocations: 414 kB / 0.6405 GB, free: 12.27 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.608e-05/0.1478, allocations: 33.7 kB / 0.6406 GB, free: 12.23 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002165/0.148, allocations: 292.5 kB / 0.6408 GB, free: 11.94 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001407/0.1481, allocations: 138.8 kB / 0.641 GB, free: 11.8 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001643/0.1483, allocations: 74.12 kB / 0.6411 GB, free: 11.73 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001459/0.1485, allocations: 354.8 kB / 0.6414 GB, free: 11.37 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005882/0.149, allocations: 268.7 kB / 0.6416 GB, free: 11.11 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006119/0.1497, allocations: 302.6 kB / 0.6419 GB, free: 10.8 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001128/0.1508, allocations: 0.5505 MB / 0.6425 GB, free: 10.25 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.1508, allocations: 0 / 0.6425 GB, free: 10.25 MB / 462.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.004164/0.155, allocations: 1.339 MB / 0.6438 GB, free: 8.887 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.186e-05/0.155, allocations: 15.94 kB / 0.6438 GB, free: 8.871 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.122e-05/0.155, allocations: 3.984 kB / 0.6438 GB, free: 8.867 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002649/0.1577, allocations: 0.7018 MB / 0.6445 GB, free: 8.152 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002413/0.158, allocations: 47.91 kB / 0.6445 GB, free: 8.105 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00726/0.1652, allocations: 4.657 MB / 0.6491 GB, free: 3.168 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000526/0.1658, allocations: 71.73 kB / 0.6491 GB, free: 3.098 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.97e-05/0.1658, allocations: 16.25 kB / 0.6492 GB, free: 3.082 MB / 462.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.0002557/0.1661, allocations: 165.8 kB / 0.6493 GB, free: 2.91 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.907e-05/0.1662, allocations: 59.66 kB / 0.6494 GB, free: 2.852 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004176/0.1704, allocations: 1.316 MB / 0.6507 GB, free: 1.512 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/0.1704, allocations: 4 kB / 0.6507 GB, free: 1.508 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/0.1704, allocations: 3.984 kB / 0.6507 GB, free: 1.504 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.608e-06/0.1704, allocations: 7.938 kB / 0.6507 GB, free: 1.496 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006919/0.1711, allocations: 0.6297 MB / 0.6513 GB, free: 0.8164 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.1711, allocations: 0 / 0.6513 GB, free: 0.8164 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000153/0.1713, allocations: 27.98 kB / 0.6513 GB, free: 0.7891 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002525/0.1738, allocations: 0.7057 MB / 0.652 GB, free: 72 kB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.564e-05/0.1739, allocations: 8 kB / 0.652 GB, free: 64 kB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006862/0.1807, allocations: 4.623 MB / 0.6565 GB, free: 11.16 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.1808, allocations: 3.938 kB / 0.6565 GB, free: 11.16 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004164/0.1849, allocations: 1.33 MB / 0.6578 GB, free: 9.797 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001568/0.1851, allocations: 132.7 kB / 0.658 GB, free: 9.648 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.928e-05/0.1852, allocations: 8 kB / 0.658 GB, free: 9.641 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004448/0.1856, allocations: 44.19 kB / 0.658 GB, free: 9.598 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000266/0.1859, allocations: 107.8 kB / 0.6581 GB, free: 9.492 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.414e-05/0.186, allocations: 12 kB / 0.6581 GB, free: 9.48 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.000325/0.1863, allocations: 291.1 kB / 0.6584 GB, free: 9.199 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1863, allocations: 0 / 0.6584 GB, free: 9.199 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.000633/0.1869, allocations: 191.7 kB / 0.6586 GB, free: 9.012 MB / 478.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.004362/0.1913, allocations: 1.853 MB / 0.6604 GB, free: 7.113 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003191/0.1945, allocations: 1.302 MB / 0.6617 GB, free: 5.742 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.1945, allocations: 0 / 0.6617 GB, free: 5.742 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002417/0.197, allocations: 0.9953 MB / 0.6626 GB, free: 4.68 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004687/0.1974, allocations: 45.94 kB / 0.6627 GB, free: 4.633 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01276/0.2102, allocations: 5.931 MB / 0.6685 GB, free: 14.58 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004225/0.2107, allocations: 0.8628 MB / 0.6693 GB, free: 13.69 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001285/0.2108, allocations: 31.28 kB / 0.6693 GB, free: 13.66 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002376/0.2111, allocations: 191.4 kB / 0.6695 GB, free: 13.47 MB / 494.1 MB Notification: Performance of SimCode: time 6.81e-07/0.2111, allocations: 3.938 kB / 0.6695 GB, free: 13.47 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04026/0.2513, allocations: 14.27 MB / 0.6835 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.34/12.59, allocations: 7.922 kB / 0.6835 GB, free: 15.21 MB / 0.4981 GB (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)