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: translateModel(OpenIPSL.Tests.Events.TestBreaker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Events.TestBreaker") translateModel(OpenIPSL.Tests.Events.TestBreaker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Events.TestBreaker") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001264/0.001264, allocations: 105.9 kB / 16.41 MB, free: 6.516 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.389/1.389, allocations: 222.9 MB / 240.1 MB, free: 4.387 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.001634/0.001634, allocations: 196.4 kB / 290.4 MB, free: 2.117 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5268/0.5268, allocations: 91.89 MB / 432.4 MB, free: 9.184 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001496/0.001496, allocations: 77.28 kB / 0.5733 GB, free: 33.47 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1643/0.1658, allocations: 71.28 MB / 0.643 GB, free: 3.629 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Events.TestBreaker): time 0.004769/0.1706, allocations: 3.681 MB / 0.6466 GB, free: 15.92 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.002093/0.1727, allocations: 1.091 MB / 0.6476 GB, free: 14.83 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002387/0.173, allocations: 7.938 kB / 0.6476 GB, free: 14.82 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003814/0.1734, allocations: 127 kB / 0.6477 GB, free: 14.7 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003566/0.1738, allocations: 182.5 kB / 0.6479 GB, free: 14.52 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001058/0.1748, allocations: 0.5075 MB / 0.6484 GB, free: 14.01 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006056/0.1754, allocations: 0.6419 MB / 0.649 GB, free: 13.36 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002732/0.1757, allocations: 165.9 kB / 0.6492 GB, free: 13.2 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002423/0.176, allocations: 270.8 kB / 0.6495 GB, free: 12.93 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000389/0.1764, allocations: 314.5 kB / 0.6498 GB, free: 12.62 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 6.951e-05/0.1765, allocations: 48 kB / 0.6498 GB, free: 12.58 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002103/0.1767, allocations: 107.9 kB / 0.6499 GB, free: 12.47 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 9.706e-05/0.1768, allocations: 119.5 kB / 0.65 GB, free: 12.36 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002183/0.177, allocations: 286.2 kB / 0.6503 GB, free: 12.07 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007145/0.1777, allocations: 0.7083 MB / 0.651 GB, free: 11.36 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.1777, allocations: 4 kB / 0.651 GB, free: 11.36 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.1778, allocations: 0 / 0.651 GB, free: 11.36 MB / 462.1 MB Notification: Performance of Transformations before backend: time 8.576e-06/0.1778, allocations: 0 / 0.651 GB, free: 11.36 MB / 462.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.003298/0.1811, allocations: 1.233 MB / 0.6522 GB, free: 10.07 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.857e-05/0.1811, allocations: 8.031 kB / 0.6522 GB, free: 10.07 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001676/0.1828, allocations: 295.9 kB / 0.6525 GB, free: 9.777 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00067/0.1835, allocations: 441.6 kB / 0.6529 GB, free: 9.309 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000214/0.1837, allocations: 189.6 kB / 0.6531 GB, free: 9.09 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.219e-05/0.1838, allocations: 44 kB / 0.6531 GB, free: 9.047 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001078/0.1849, allocations: 0.5603 MB / 0.6537 GB, free: 8.477 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.688e-05/0.1849, allocations: 3.938 kB / 0.6537 GB, free: 8.473 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.885e-05/0.185, allocations: 16 kB / 0.6537 GB, free: 8.457 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.373e-05/0.185, allocations: 12 kB / 0.6537 GB, free: 8.445 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009496/0.1859, allocations: 479.2 kB / 0.6542 GB, free: 7.977 MB / 462.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.002876/0.1888, allocations: 2.078 MB / 0.6562 GB, free: 5.691 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01079/0.1996, allocations: 2.049 MB / 0.6582 GB, free: 3.621 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006419/0.2003, allocations: 278.3 kB / 0.6585 GB, free: 3.344 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.566e-05/0.2004, allocations: 4 kB / 0.6585 GB, free: 3.34 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007391/0.2011, allocations: 371 kB / 0.6588 GB, free: 2.957 MB / 462.1 MB Notification: Performance of pre-optimization done (n=40): time 1.924e-06/0.2011, allocations: 0 / 0.6588 GB, free: 2.957 MB / 462.1 MB Notification: Performance of matching and sorting (n=40): time 0.006872/0.208, allocations: 2.196 MB / 0.661 GB, free: 0.668 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.588e-05/0.2081, allocations: 89.05 kB / 0.661 GB, free: 0.5625 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005463/0.2087, allocations: 421.8 kB / 0.6614 GB, free: 140 kB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.601e-05/0.2087, allocations: 33.7 kB / 0.6615 GB, free: 100 kB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002437/0.209, allocations: 276.1 kB / 0.6617 GB, free: 15.82 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001368/0.2091, allocations: 134 kB / 0.6619 GB, free: 15.69 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001746/0.2093, allocations: 74.03 kB / 0.6619 GB, free: 15.61 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001424/0.2094, allocations: 358.8 kB / 0.6623 GB, free: 15.25 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005679/0.21, allocations: 264.7 kB / 0.6625 GB, free: 15 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005925/0.2106, allocations: 298.8 kB / 0.6628 GB, free: 14.7 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001114/0.2117, allocations: 0.556 MB / 0.6634 GB, free: 14.14 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.2117, allocations: 0 / 0.6634 GB, free: 14.14 MB / 478.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.003994/0.2157, allocations: 1.335 MB / 0.6647 GB, free: 12.78 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.39e-05/0.2158, allocations: 9.25 kB / 0.6647 GB, free: 12.77 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.425e-06/0.2158, allocations: 3.938 kB / 0.6647 GB, free: 12.77 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00254/0.2184, allocations: 0.7057 MB / 0.6654 GB, free: 12.05 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002347/0.2186, allocations: 39.98 kB / 0.6654 GB, free: 12.01 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00703/0.2256, allocations: 4.658 MB / 0.67 GB, free: 7.074 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006093/0.2263, allocations: 75.86 kB / 0.67 GB, free: 7 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.901e-05/0.2263, allocations: 19.97 kB / 0.67 GB, free: 6.98 MB / 478.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.0003242/0.2267, allocations: 169.7 kB / 0.6702 GB, free: 6.805 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.569e-05/0.2268, allocations: 47.44 kB / 0.6703 GB, free: 6.758 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003999/0.2308, allocations: 1.324 MB / 0.6715 GB, free: 5.418 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.815e-06/0.2308, allocations: 4 kB / 0.6715 GB, free: 5.414 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.2308, allocations: 8 kB / 0.6716 GB, free: 5.406 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.686e-06/0.2308, allocations: 3.984 kB / 0.6716 GB, free: 5.402 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007319/0.2316, allocations: 0.6218 MB / 0.6722 GB, free: 4.73 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/0.2316, allocations: 0 / 0.6722 GB, free: 4.73 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001622/0.2317, allocations: 27.92 kB / 0.6722 GB, free: 4.703 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002432/0.2342, allocations: 0.7019 MB / 0.6729 GB, free: 3.988 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.052e-05/0.2342, allocations: 8 kB / 0.6729 GB, free: 3.98 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006533/0.2408, allocations: 4.635 MB / 0.6774 GB, free: 15.07 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.2408, allocations: 3.938 kB / 0.6774 GB, free: 15.06 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004009/0.2448, allocations: 1.317 MB / 0.6787 GB, free: 13.71 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001781/0.245, allocations: 132.4 kB / 0.6788 GB, free: 13.56 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.356e-05/0.2451, allocations: 8.25 kB / 0.6788 GB, free: 13.55 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004533/0.2456, allocations: 43.95 kB / 0.6789 GB, free: 13.51 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003025/0.2459, allocations: 111.8 kB / 0.679 GB, free: 13.4 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.246e-05/0.2459, allocations: 8 kB / 0.679 GB, free: 13.39 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0003477/0.2463, allocations: 291.1 kB / 0.6793 GB, free: 13.11 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2463, allocations: 0 / 0.6793 GB, free: 13.11 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0006978/0.247, allocations: 183.7 kB / 0.6794 GB, free: 12.93 MB / 494.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.0002198/0.2472, allocations: 111.1 kB / 0.6796 GB, free: 12.82 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003241/0.2505, allocations: 1.286 MB / 0.6808 GB, free: 11.46 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.981e-06/0.2505, allocations: 4 kB / 0.6808 GB, free: 11.46 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002343/0.2528, allocations: 0.9889 MB / 0.6818 GB, free: 10.4 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004953/0.2534, allocations: 45.84 kB / 0.6818 GB, free: 10.35 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002342/0.2557, allocations: 0.9821 MB / 0.6828 GB, free: 9.332 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004793/0.2562, allocations: 0.8551 MB / 0.6836 GB, free: 8.449 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001157/0.2563, allocations: 35.38 kB / 0.6836 GB, free: 8.414 MB / 494.1 MB Notification: Performance of SimCode: time 5.81e-07/0.2563, allocations: 4 kB / 0.6837 GB, free: 8.41 MB / 494.1 MB Notification: Performance of Templates: time 0.01958/0.2759, allocations: 15.9 MB / 0.6992 GB, free: 8.488 MB / 0.4981 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Events.TestBreaker.makefile (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 & ./OpenIPSL_dev_OpenIPSL.Tests.Events.TestBreaker -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Events.TestBreaker.pipe 2>&1)