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.005495/0.005495, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.34/1.34, allocations: 222.9 MB / 239.4 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.00147/0.00147, allocations: 188.5 kB / 289.7 MB, free: 2.109 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4589/0.4589, allocations: 78.53 MB / 418.4 MB, free: 3.121 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001442/0.001442, allocations: 71.89 kB / 0.5536 GB, free: 0.9766 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3027/0.3042, allocations: 68.17 MB / 0.6201 GB, free: 9.629 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Events.TestBreaker): time 0.003544/0.3078, allocations: 3.665 MB / 0.6237 GB, free: 6.531 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001337/0.3091, allocations: 1.095 MB / 0.6248 GB, free: 5.434 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001766/0.3093, allocations: 8 kB / 0.6248 GB, free: 5.426 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003023/0.3096, allocations: 123 kB / 0.6249 GB, free: 5.305 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002831/0.3099, allocations: 174.5 kB / 0.6251 GB, free: 5.133 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000859/0.3108, allocations: 0.5137 MB / 0.6256 GB, free: 4.621 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004226/0.3112, allocations: 0.6497 MB / 0.6262 GB, free: 3.969 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002002/0.3114, allocations: 157.9 kB / 0.6264 GB, free: 3.809 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001674/0.3116, allocations: 270.8 kB / 0.6266 GB, free: 3.543 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00028/0.3119, allocations: 318.4 kB / 0.6269 GB, free: 3.23 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.134e-05/0.3119, allocations: 40 kB / 0.627 GB, free: 3.191 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001657/0.3121, allocations: 112 kB / 0.6271 GB, free: 3.082 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 6.562e-05/0.3122, allocations: 119.4 kB / 0.6272 GB, free: 2.965 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000149/0.3123, allocations: 278.3 kB / 0.6275 GB, free: 2.691 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005098/0.3129, allocations: 0.717 MB / 0.6282 GB, free: 1.977 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.3129, allocations: 4 kB / 0.6282 GB, free: 1.973 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.3129, allocations: 0 / 0.6282 GB, free: 1.973 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.576e-06/0.3129, allocations: 0 / 0.6282 GB, free: 1.973 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.002732/0.3156, allocations: 1.255 MB / 0.6294 GB, free: 0.668 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.399e-05/0.3157, allocations: 12.03 kB / 0.6294 GB, free: 0.6562 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001534/0.3172, allocations: 288.2 kB / 0.6297 GB, free: 384 kB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005694/0.3178, allocations: 454.2 kB / 0.6301 GB, free: 15.89 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001951/0.318, allocations: 193.6 kB / 0.6303 GB, free: 15.67 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.623e-05/0.3181, allocations: 43.98 kB / 0.6303 GB, free: 15.62 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001138/0.3192, allocations: 0.5525 MB / 0.6309 GB, free: 15.06 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.871e-05/0.3192, allocations: 4 kB / 0.6309 GB, free: 15.06 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.628e-05/0.3193, allocations: 23.98 kB / 0.6309 GB, free: 15.04 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.405e-05/0.3193, allocations: 8 kB / 0.6309 GB, free: 15.03 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00102/0.3204, allocations: 479.2 kB / 0.6314 GB, free: 14.56 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.002834/0.3232, allocations: 2.078 MB / 0.6334 GB, free: 12.27 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01034/0.3336, allocations: 2.057 MB / 0.6354 GB, free: 10.2 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005839/0.3342, allocations: 273.6 kB / 0.6357 GB, free: 9.922 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.672e-05/0.3342, allocations: 4 kB / 0.6357 GB, free: 9.918 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000703/0.3349, allocations: 375.1 kB / 0.636 GB, free: 9.531 MB / 446.1 MB Notification: Performance of pre-optimization done (n=40): time 1.583e-06/0.3349, allocations: 0 / 0.636 GB, free: 9.531 MB / 446.1 MB Notification: Performance of matching and sorting (n=40): time 0.006577/0.3415, allocations: 2.204 MB / 0.6382 GB, free: 7.234 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.636e-05/0.3416, allocations: 85.05 kB / 0.6383 GB, free: 7.133 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004438/0.342, allocations: 421.9 kB / 0.6387 GB, free: 6.711 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.377e-05/0.3421, allocations: 29.7 kB / 0.6387 GB, free: 6.676 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001986/0.3423, allocations: 284.5 kB / 0.639 GB, free: 6.395 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001256/0.3424, allocations: 138.8 kB / 0.6391 GB, free: 6.258 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001526/0.3426, allocations: 74.08 kB / 0.6392 GB, free: 6.18 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001422/0.3427, allocations: 362.8 kB / 0.6395 GB, free: 5.816 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005738/0.3433, allocations: 260.7 kB / 0.6398 GB, free: 5.562 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005819/0.3439, allocations: 302.8 kB / 0.64 GB, free: 5.254 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001127/0.345, allocations: 0.5453 MB / 0.6406 GB, free: 4.703 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.3451, allocations: 0 / 0.6406 GB, free: 4.703 MB / 446.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.003922/0.349, allocations: 1.344 MB / 0.6419 GB, free: 3.34 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/0.349, allocations: 8 kB / 0.6419 GB, free: 3.332 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/0.349, allocations: 4 kB / 0.6419 GB, free: 3.328 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002498/0.3515, allocations: 0.7096 MB / 0.6426 GB, free: 2.605 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002326/0.3518, allocations: 51.91 kB / 0.6426 GB, free: 2.555 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006834/0.3586, allocations: 4.671 MB / 0.6472 GB, free: 13.61 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005262/0.3592, allocations: 59.8 kB / 0.6473 GB, free: 13.55 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.027e-05/0.3592, allocations: 15.98 kB / 0.6473 GB, free: 13.54 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.000272/0.3595, allocations: 173.7 kB / 0.6474 GB, free: 13.36 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.623e-05/0.3596, allocations: 51.67 kB / 0.6475 GB, free: 13.31 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004119/0.3637, allocations: 1.323 MB / 0.6488 GB, free: 11.96 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.054e-06/0.3637, allocations: 4 kB / 0.6488 GB, free: 11.96 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.3638, allocations: 0 / 0.6488 GB, free: 11.96 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.466e-06/0.3638, allocations: 3.984 kB / 0.6488 GB, free: 11.96 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007195/0.3645, allocations: 0.6258 MB / 0.6494 GB, free: 11.28 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.3645, allocations: 4 kB / 0.6494 GB, free: 11.28 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001585/0.3647, allocations: 31.98 kB / 0.6494 GB, free: 11.25 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002432/0.3671, allocations: 0.7057 MB / 0.6501 GB, free: 10.53 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.764e-05/0.3672, allocations: 11.94 kB / 0.6501 GB, free: 10.52 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006329/0.3735, allocations: 4.634 MB / 0.6547 GB, free: 5.602 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.3735, allocations: 0 / 0.6547 GB, free: 5.602 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003969/0.3775, allocations: 1.325 MB / 0.656 GB, free: 4.242 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001522/0.3777, allocations: 132.6 kB / 0.6561 GB, free: 4.094 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.821e-05/0.3777, allocations: 8 kB / 0.6561 GB, free: 4.086 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004428/0.3782, allocations: 43.95 kB / 0.6561 GB, free: 4.043 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002773/0.3785, allocations: 107.8 kB / 0.6562 GB, free: 3.938 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.57e-05/0.3785, allocations: 12 kB / 0.6562 GB, free: 3.926 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003129/0.3788, allocations: 295.1 kB / 0.6565 GB, free: 3.637 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3789, allocations: 0 / 0.6565 GB, free: 3.637 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0005924/0.3795, allocations: 183.7 kB / 0.6567 GB, free: 3.457 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.0001594/0.3796, allocations: 107.2 kB / 0.6568 GB, free: 3.344 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003068/0.3827, allocations: 1.285 MB / 0.6581 GB, free: 1.992 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.3827, allocations: 0 / 0.6581 GB, free: 1.992 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002247/0.385, allocations: 1 MB / 0.659 GB, free: 0.9258 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003883/0.3854, allocations: 44.16 kB / 0.6591 GB, free: 0.8828 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002144/0.3875, allocations: 0.9677 MB / 0.66 GB, free: 15.89 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004479/0.388, allocations: 0.859 MB / 0.6609 GB, free: 15 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0001269/0.3881, allocations: 31.28 kB / 0.6609 GB, free: 14.97 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.374e-05/0.3882, allocations: 35.42 kB / 0.6609 GB, free: 14.94 MB / 478.1 MB Notification: Performance of SimCode: time 5.1e-07/0.3882, allocations: 0 / 0.6609 GB, free: 14.94 MB / 478.1 MB Notification: Performance of Templates: time 0.01588/0.4041, allocations: 9.606 MB / 0.6703 GB, free: 5.328 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)