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: translateModel(OpenIPSL.Tests.Events.TestBreaker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Events.TestBreaker") translateModel(OpenIPSL.Tests.Events.TestBreaker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_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.005753/0.005753, allocations: 99.38 kB / 15.73 MB, free: 6.008 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.33/1.33, allocations: 222.9 MB / 239.4 MB, free: 4.547 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.001343/0.001344, allocations: 203.9 kB / 289.7 MB, free: 2.258 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5051/0.5051, allocations: 78.51 MB / 418.4 MB, free: 3.09 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00148/0.00148, allocations: 79.86 kB / 0.5536 GB, free: 1.008 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3323/0.3338, allocations: 68.17 MB / 0.6202 GB, free: 9.727 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Events.TestBreaker): time 0.003428/0.3373, allocations: 3.661 MB / 0.6237 GB, free: 6.566 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001609/0.3389, allocations: 1.091 MB / 0.6248 GB, free: 5.473 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002268/0.3392, allocations: 11.94 kB / 0.6248 GB, free: 5.461 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003033/0.3395, allocations: 123 kB / 0.6249 GB, free: 5.34 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003297/0.3398, allocations: 206.5 kB / 0.6251 GB, free: 5.137 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009093/0.3407, allocations: 0.5163 MB / 0.6256 GB, free: 4.621 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004214/0.3412, allocations: 0.6458 MB / 0.6263 GB, free: 3.973 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002092/0.3414, allocations: 157.9 kB / 0.6264 GB, free: 3.812 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001735/0.3416, allocations: 274.8 kB / 0.6267 GB, free: 3.543 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002783/0.3419, allocations: 322.4 kB / 0.627 GB, free: 3.227 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.099e-05/0.3419, allocations: 44 kB / 0.627 GB, free: 3.184 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001577/0.3421, allocations: 104 kB / 0.6271 GB, free: 3.082 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 6.824e-05/0.3422, allocations: 119.5 kB / 0.6272 GB, free: 2.965 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001608/0.3423, allocations: 282.3 kB / 0.6275 GB, free: 2.688 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005074/0.3428, allocations: 0.7139 MB / 0.6282 GB, free: 1.977 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.3429, allocations: 0 / 0.6282 GB, free: 1.977 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3429, allocations: 0 / 0.6282 GB, free: 1.977 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.196e-06/0.3429, allocations: 8 kB / 0.6282 GB, free: 1.969 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.002995/0.3459, allocations: 1.227 MB / 0.6294 GB, free: 0.6953 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.525e-05/0.3459, allocations: 8.031 kB / 0.6294 GB, free: 0.6875 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001668/0.3476, allocations: 291.8 kB / 0.6297 GB, free: 412 kB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005803/0.3482, allocations: 445.6 kB / 0.6301 GB, free: 15.93 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002108/0.3484, allocations: 197.5 kB / 0.6303 GB, free: 15.7 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.723e-05/0.3485, allocations: 44 kB / 0.6303 GB, free: 15.66 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00109/0.3496, allocations: 0.5525 MB / 0.6309 GB, free: 15.1 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.523e-05/0.3496, allocations: 3.938 kB / 0.6309 GB, free: 15.09 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.937e-05/0.3497, allocations: 20 kB / 0.6309 GB, free: 15.07 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.035e-05/0.3497, allocations: 8 kB / 0.6309 GB, free: 15.07 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001021/0.3507, allocations: 483.2 kB / 0.6314 GB, free: 14.59 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.002951/0.3537, allocations: 2.074 MB / 0.6334 GB, free: 12.31 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01146/0.3652, allocations: 2.053 MB / 0.6354 GB, free: 10.24 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006622/0.3658, allocations: 274.3 kB / 0.6357 GB, free: 9.965 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.353e-05/0.3659, allocations: 4 kB / 0.6357 GB, free: 9.961 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007758/0.3667, allocations: 371 kB / 0.636 GB, free: 9.578 MB / 446.1 MB Notification: Performance of pre-optimization done (n=40): time 2.094e-06/0.3667, allocations: 3.938 kB / 0.636 GB, free: 9.574 MB / 446.1 MB Notification: Performance of matching and sorting (n=40): time 0.007229/0.3739, allocations: 2.202 MB / 0.6382 GB, free: 7.277 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.862e-05/0.374, allocations: 85.05 kB / 0.6383 GB, free: 7.176 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006031/0.3747, allocations: 417.9 kB / 0.6387 GB, free: 6.758 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.1e-05/0.3747, allocations: 33.7 kB / 0.6387 GB, free: 6.719 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002462/0.375, allocations: 280.1 kB / 0.639 GB, free: 6.441 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000152/0.3751, allocations: 130 kB / 0.6391 GB, free: 6.312 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001603/0.3753, allocations: 82.03 kB / 0.6392 GB, free: 6.227 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001506/0.3755, allocations: 358.8 kB / 0.6395 GB, free: 5.867 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005992/0.3761, allocations: 260.7 kB / 0.6397 GB, free: 5.613 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006182/0.3767, allocations: 298.8 kB / 0.64 GB, free: 5.309 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001175/0.3779, allocations: 0.553 MB / 0.6406 GB, free: 4.75 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.3779, allocations: 0 / 0.6406 GB, free: 4.75 MB / 446.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.004103/0.382, allocations: 1.339 MB / 0.6419 GB, free: 3.391 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.08e-05/0.382, allocations: 8 kB / 0.6419 GB, free: 3.383 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/0.382, allocations: 0 / 0.6419 GB, free: 3.383 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002587/0.3846, allocations: 0.7135 MB / 0.6426 GB, free: 2.656 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002346/0.3849, allocations: 35.98 kB / 0.6426 GB, free: 2.621 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007088/0.392, allocations: 4.657 MB / 0.6472 GB, free: 13.69 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005845/0.3926, allocations: 67.61 kB / 0.6472 GB, free: 13.62 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.064e-05/0.3926, allocations: 19.98 kB / 0.6473 GB, free: 13.61 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.0002876/0.3929, allocations: 165.7 kB / 0.6474 GB, free: 13.43 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.676e-05/0.393, allocations: 47.44 kB / 0.6475 GB, free: 13.39 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004081/0.3971, allocations: 1.329 MB / 0.6488 GB, free: 12.04 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/0.3971, allocations: 4 kB / 0.6488 GB, free: 12.03 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.3971, allocations: 0 / 0.6488 GB, free: 12.03 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.337e-06/0.3972, allocations: 7.984 kB / 0.6488 GB, free: 12.02 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006548/0.3978, allocations: 0.6257 MB / 0.6494 GB, free: 11.35 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.3978, allocations: 0 / 0.6494 GB, free: 11.35 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001652/0.398, allocations: 28.17 kB / 0.6494 GB, free: 11.32 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00246/0.4005, allocations: 0.7135 MB / 0.6501 GB, free: 10.59 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.71e-05/0.4005, allocations: 8 kB / 0.6501 GB, free: 10.59 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006572/0.4071, allocations: 4.625 MB / 0.6546 GB, free: 5.68 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.4071, allocations: 0 / 0.6546 GB, free: 5.68 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004118/0.4112, allocations: 1.325 MB / 0.6559 GB, free: 4.32 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001431/0.4114, allocations: 140.3 kB / 0.6561 GB, free: 4.164 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.026e-05/0.4115, allocations: 11.94 kB / 0.6561 GB, free: 4.152 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004364/0.4119, allocations: 39.95 kB / 0.6561 GB, free: 4.113 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002818/0.4122, allocations: 107.8 kB / 0.6562 GB, free: 4.008 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.09e-05/0.4123, allocations: 8 kB / 0.6562 GB, free: 4 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003096/0.4126, allocations: 295.1 kB / 0.6565 GB, free: 3.711 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.4126, allocations: 0 / 0.6565 GB, free: 3.711 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0005999/0.4132, allocations: 183.7 kB / 0.6567 GB, free: 3.531 MB / 462.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.0001717/0.4134, allocations: 110.4 kB / 0.6568 GB, free: 3.418 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003147/0.4165, allocations: 1.278 MB / 0.658 GB, free: 2.07 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.4165, allocations: 4 kB / 0.658 GB, free: 2.066 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00234/0.4189, allocations: 0.9817 MB / 0.659 GB, free: 1.016 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004345/0.4193, allocations: 48.41 kB / 0.659 GB, free: 0.9688 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001986/0.4213, allocations: 0.9752 MB / 0.66 GB, free: 15.97 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004167/0.4218, allocations: 0.859 MB / 0.6608 GB, free: 15.09 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0001225/0.4219, allocations: 31.28 kB / 0.6608 GB, free: 15.05 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.412e-05/0.422, allocations: 31.42 kB / 0.6609 GB, free: 15.02 MB / 478.1 MB Notification: Performance of SimCode: time 7.72e-07/0.422, allocations: 0 / 0.6609 GB, free: 15.02 MB / 478.1 MB Notification: Performance of Templates: time 0.01454/0.4365, allocations: 9.588 MB / 0.6702 GB, free: 5.434 MB / 478.1 MB make -j1 -f OpenIPSL_OpenIPSL.Tests.Events.TestBreaker.makefile (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 & ./OpenIPSL_OpenIPSL.Tests.Events.TestBreaker -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Events.TestBreaker.pipe 2>&1)