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.007118/0.007118, allocations: 96.3 kB / 15.73 MB, free: 5.988 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.415/1.415, allocations: 222.9 MB / 239.4 MB, free: 4.535 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.001539/0.001539, allocations: 184.5 kB / 289.7 MB, free: 2.254 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5127/0.5127, allocations: 91.9 MB / 431.7 MB, free: 9.168 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00142/0.00142, allocations: 83.56 kB / 0.5727 GB, free: 33.54 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1363/0.1377, allocations: 71.28 MB / 0.6423 GB, free: 3.617 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Events.TestBreaker): time 0.004426/0.1422, allocations: 3.674 MB / 0.6459 GB, free: 15.92 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.002024/0.1442, allocations: 1.095 MB / 0.647 GB, free: 14.82 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002757/0.1445, allocations: 15.94 kB / 0.647 GB, free: 14.81 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000397/0.1449, allocations: 123 kB / 0.6471 GB, free: 14.69 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004003/0.1454, allocations: 178.4 kB / 0.6473 GB, free: 14.51 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001192/0.1466, allocations: 0.5083 MB / 0.6478 GB, free: 14 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006619/0.1473, allocations: 0.642 MB / 0.6484 GB, free: 13.36 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002678/0.1475, allocations: 149.9 kB / 0.6485 GB, free: 13.21 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002582/0.1478, allocations: 278.8 kB / 0.6488 GB, free: 12.94 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003795/0.1482, allocations: 314.5 kB / 0.6491 GB, free: 12.63 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 6.652e-05/0.1483, allocations: 44 kB / 0.6491 GB, free: 12.59 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002154/0.1485, allocations: 108 kB / 0.6492 GB, free: 12.48 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 9.308e-05/0.1486, allocations: 115.5 kB / 0.6493 GB, free: 12.37 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002246/0.1488, allocations: 286.2 kB / 0.6496 GB, free: 12.09 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007526/0.1496, allocations: 0.7157 MB / 0.6503 GB, free: 11.37 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.1496, allocations: 0 / 0.6503 GB, free: 11.37 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.1496, allocations: 0 / 0.6503 GB, free: 11.37 MB / 462.1 MB Notification: Performance of Transformations before backend: time 8.256e-06/0.1496, allocations: 0 / 0.6503 GB, free: 11.37 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.003114/0.1527, allocations: 1.255 MB / 0.6515 GB, free: 10.06 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.249e-05/0.1528, allocations: 12.03 kB / 0.6516 GB, free: 10.05 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001632/0.1544, allocations: 292.2 kB / 0.6518 GB, free: 9.762 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006309/0.1551, allocations: 450.1 kB / 0.6523 GB, free: 9.285 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001932/0.1553, allocations: 189.6 kB / 0.6524 GB, free: 9.066 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.135e-05/0.1553, allocations: 36 kB / 0.6525 GB, free: 9.031 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001042/0.1564, allocations: 0.5681 MB / 0.653 GB, free: 8.453 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.369e-05/0.1564, allocations: 0 / 0.653 GB, free: 8.453 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.816e-05/0.1565, allocations: 16 kB / 0.653 GB, free: 8.438 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.376e-05/0.1565, allocations: 15.98 kB / 0.6531 GB, free: 8.422 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009441/0.1574, allocations: 487.2 kB / 0.6535 GB, free: 7.945 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.002739/0.1602, allocations: 2.082 MB / 0.6556 GB, free: 5.656 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01038/0.1706, allocations: 2.061 MB / 0.6576 GB, free: 3.574 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006244/0.1712, allocations: 273.6 kB / 0.6578 GB, free: 3.301 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.179e-05/0.1713, allocations: 4 kB / 0.6578 GB, free: 3.297 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007294/0.172, allocations: 371.1 kB / 0.6582 GB, free: 2.914 MB / 462.1 MB Notification: Performance of pre-optimization done (n=40): time 2.184e-06/0.1721, allocations: 0 / 0.6582 GB, free: 2.914 MB / 462.1 MB Notification: Performance of matching and sorting (n=40): time 0.006651/0.1787, allocations: 2.199 MB / 0.6603 GB, free: 0.625 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.263e-05/0.1788, allocations: 85.05 kB / 0.6604 GB, free: 0.5234 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005116/0.1793, allocations: 421.9 kB / 0.6608 GB, free: 100 kB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.077e-05/0.1794, allocations: 29.7 kB / 0.6608 GB, free: 64 kB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002357/0.1796, allocations: 280.5 kB / 0.6611 GB, free: 15.79 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001329/0.1798, allocations: 138.8 kB / 0.6612 GB, free: 15.65 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001526/0.1799, allocations: 74.08 kB / 0.6613 GB, free: 15.57 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001384/0.1801, allocations: 362.8 kB / 0.6617 GB, free: 15.21 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005697/0.1806, allocations: 260.7 kB / 0.6619 GB, free: 14.95 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005893/0.1812, allocations: 302.8 kB / 0.6622 GB, free: 14.65 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001131/0.1824, allocations: 0.5489 MB / 0.6627 GB, free: 14.09 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/0.1824, allocations: 0 / 0.6627 GB, free: 14.09 MB / 478.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.004017/0.1864, allocations: 1.343 MB / 0.664 GB, free: 12.73 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.195e-05/0.1865, allocations: 4 kB / 0.6641 GB, free: 12.73 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.735e-06/0.1865, allocations: 0 / 0.6641 GB, free: 12.73 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002588/0.1891, allocations: 0.7174 MB / 0.6648 GB, free: 12 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002371/0.1893, allocations: 43.92 kB / 0.6648 GB, free: 11.96 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007/0.1963, allocations: 4.672 MB / 0.6694 GB, free: 7.004 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005254/0.1969, allocations: 63.8 kB / 0.6694 GB, free: 6.941 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.671e-05/0.1969, allocations: 12 kB / 0.6694 GB, free: 6.93 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.0002572/0.1972, allocations: 176.5 kB / 0.6696 GB, free: 6.75 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.149e-05/0.1973, allocations: 51.67 kB / 0.6696 GB, free: 6.699 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003933/0.2012, allocations: 1.322 MB / 0.6709 GB, free: 5.359 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.095e-05/0.2013, allocations: 8 kB / 0.6709 GB, free: 5.352 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/0.2013, allocations: 0 / 0.6709 GB, free: 5.352 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.105e-06/0.2013, allocations: 3.984 kB / 0.6709 GB, free: 5.348 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007395/0.202, allocations: 0.622 MB / 0.6716 GB, free: 4.676 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.2021, allocations: 0 / 0.6716 GB, free: 4.676 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001641/0.2022, allocations: 35.92 kB / 0.6716 GB, free: 4.641 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002411/0.2046, allocations: 0.7057 MB / 0.6723 GB, free: 3.922 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.14e-05/0.2047, allocations: 12 kB / 0.6723 GB, free: 3.91 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006773/0.2115, allocations: 4.63 MB / 0.6768 GB, free: 15 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.2115, allocations: 0 / 0.6768 GB, free: 15 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004059/0.2156, allocations: 1.329 MB / 0.6781 GB, free: 13.64 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001818/0.2158, allocations: 132.7 kB / 0.6782 GB, free: 13.49 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.018e-05/0.2159, allocations: 8 kB / 0.6782 GB, free: 13.48 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004402/0.2163, allocations: 43.95 kB / 0.6783 GB, free: 13.44 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003137/0.2166, allocations: 103.8 kB / 0.6784 GB, free: 13.34 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.595e-05/0.2167, allocations: 8 kB / 0.6784 GB, free: 13.33 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0004101/0.2171, allocations: 291.1 kB / 0.6787 GB, free: 13.05 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2171, allocations: 4 kB / 0.6787 GB, free: 13.05 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0007219/0.2178, allocations: 183.7 kB / 0.6788 GB, free: 12.87 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.0002034/0.2181, allocations: 111.1 kB / 0.679 GB, free: 12.75 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003053/0.2211, allocations: 1.295 MB / 0.6802 GB, free: 11.39 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.2211, allocations: 0 / 0.6802 GB, free: 11.39 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002219/0.2234, allocations: 0.9927 MB / 0.6812 GB, free: 10.32 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003971/0.2238, allocations: 49.84 kB / 0.6812 GB, free: 10.27 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002038/0.2258, allocations: 0.963 MB / 0.6822 GB, free: 9.277 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004251/0.2263, allocations: 0.8629 MB / 0.683 GB, free: 8.387 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001307/0.2264, allocations: 35.22 kB / 0.6831 GB, free: 8.355 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.781e-05/0.2265, allocations: 35.42 kB / 0.6831 GB, free: 8.32 MB / 494.1 MB Notification: Performance of SimCode: time 3.21e-07/0.2265, allocations: 0 / 0.6831 GB, free: 8.32 MB / 494.1 MB Notification: Performance of Templates: time 0.01616/0.2427, allocations: 9.599 MB / 0.6925 GB, free: 14.71 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)