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.007811/0.007811, allocations: 104.8 kB / 15.73 MB, free: 6.035 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.374/1.374, 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.001285/0.001285, allocations: 184.5 kB / 289.7 MB, free: 2.273 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.514/0.514, allocations: 91.9 MB / 431.7 MB, free: 9.195 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001472/0.001472, allocations: 79.28 kB / 0.5727 GB, free: 33.62 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1148/0.1163, allocations: 71.28 MB / 0.6423 GB, free: 3.629 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Events.TestBreaker): time 0.004281/0.1206, allocations: 3.671 MB / 0.6459 GB, free: 15.93 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001997/0.1226, allocations: 1.087 MB / 0.6469 GB, free: 14.84 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003685/0.123, allocations: 11.94 kB / 0.647 GB, free: 14.83 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004291/0.1234, allocations: 131 kB / 0.6471 GB, free: 14.7 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005427/0.124, allocations: 206.5 kB / 0.6473 GB, free: 14.5 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001194/0.1252, allocations: 0.5285 MB / 0.6478 GB, free: 13.97 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007129/0.1259, allocations: 0.642 MB / 0.6484 GB, free: 13.33 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002641/0.1262, allocations: 149.9 kB / 0.6486 GB, free: 13.18 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003282/0.1266, allocations: 282.7 kB / 0.6488 GB, free: 12.9 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004193/0.127, allocations: 310.5 kB / 0.6491 GB, free: 12.6 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 8.807e-05/0.1271, allocations: 44 kB / 0.6492 GB, free: 12.55 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000218/0.1273, allocations: 108 kB / 0.6493 GB, free: 12.45 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 9.872e-05/0.1274, allocations: 119.5 kB / 0.6494 GB, free: 12.33 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002554/0.1277, allocations: 282.2 kB / 0.6497 GB, free: 12.05 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007368/0.1284, allocations: 0.72 MB / 0.6504 GB, free: 11.33 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.1284, allocations: 0 / 0.6504 GB, free: 11.33 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1284, allocations: 0 / 0.6504 GB, free: 11.33 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.602e-05/0.1285, allocations: 0 / 0.6504 GB, free: 11.33 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.003362/0.1318, allocations: 1.229 MB / 0.6516 GB, free: 10.05 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.1319, allocations: 12.03 kB / 0.6516 GB, free: 10.04 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001775/0.1337, allocations: 295.8 kB / 0.6519 GB, free: 9.75 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006346/0.1343, allocations: 441.6 kB / 0.6523 GB, free: 9.281 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001881/0.1345, allocations: 189.6 kB / 0.6525 GB, free: 9.062 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.865e-05/0.1346, allocations: 36 kB / 0.6525 GB, free: 9.027 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001099/0.1357, allocations: 0.5642 MB / 0.653 GB, free: 8.453 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/0.1357, allocations: 0 / 0.653 GB, free: 8.453 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.22e-05/0.1358, allocations: 16 kB / 0.6531 GB, free: 8.438 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.097e-05/0.1358, allocations: 12 kB / 0.6531 GB, free: 8.426 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00101/0.1368, allocations: 487.2 kB / 0.6535 GB, free: 7.949 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.002813/0.1396, allocations: 2.082 MB / 0.6556 GB, free: 5.66 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0113/0.1509, allocations: 2.046 MB / 0.6576 GB, free: 3.594 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006171/0.1516, allocations: 282.3 kB / 0.6578 GB, free: 3.312 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.984e-05/0.1516, allocations: 4 kB / 0.6578 GB, free: 3.309 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000752/0.1524, allocations: 367 kB / 0.6582 GB, free: 2.93 MB / 462.1 MB Notification: Performance of pre-optimization done (n=40): time 2.104e-06/0.1524, allocations: 0 / 0.6582 GB, free: 2.93 MB / 462.1 MB Notification: Performance of matching and sorting (n=40): time 0.007246/0.1597, allocations: 2.198 MB / 0.6603 GB, free: 0.6406 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.264e-05/0.1597, allocations: 88.98 kB / 0.6604 GB, free: 0.5352 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005018/0.1602, allocations: 425.8 kB / 0.6608 GB, free: 108 kB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.569e-05/0.1603, allocations: 29.7 kB / 0.6608 GB, free: 72 kB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002234/0.1605, allocations: 284.1 kB / 0.6611 GB, free: 15.79 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001271/0.1607, allocations: 130 kB / 0.6612 GB, free: 15.66 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001626/0.1608, allocations: 78.03 kB / 0.6613 GB, free: 15.58 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001357/0.161, allocations: 358.8 kB / 0.6617 GB, free: 15.22 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005975/0.1616, allocations: 260.7 kB / 0.6619 GB, free: 14.96 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006105/0.1622, allocations: 302.8 kB / 0.6622 GB, free: 14.66 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001153/0.1634, allocations: 0.5497 MB / 0.6627 GB, free: 14.11 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.646e-06/0.1634, allocations: 0 / 0.6627 GB, free: 14.11 MB / 478.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.004226/0.1676, allocations: 1.338 MB / 0.664 GB, free: 12.75 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.521e-05/0.1676, allocations: 4 kB / 0.664 GB, free: 12.75 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.736e-06/0.1677, allocations: 0 / 0.664 GB, free: 12.75 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002708/0.1704, allocations: 0.7136 MB / 0.6647 GB, free: 12.02 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002423/0.1706, allocations: 39.92 kB / 0.6648 GB, free: 11.98 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007328/0.178, allocations: 4.658 MB / 0.6693 GB, free: 7.043 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005933/0.1786, allocations: 71.61 kB / 0.6694 GB, free: 6.973 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.884e-05/0.1787, allocations: 11.94 kB / 0.6694 GB, free: 6.961 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.0002846/0.179, allocations: 173.7 kB / 0.6696 GB, free: 6.781 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001081/0.1791, allocations: 47.44 kB / 0.6696 GB, free: 6.734 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004225/0.1833, allocations: 1.326 MB / 0.6709 GB, free: 5.391 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.623e-06/0.1833, allocations: 4 kB / 0.6709 GB, free: 5.387 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.1833, allocations: 4 kB / 0.6709 GB, free: 5.383 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.354e-06/0.1833, allocations: 3.984 kB / 0.6709 GB, free: 5.379 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007168/0.1841, allocations: 0.6257 MB / 0.6715 GB, free: 4.703 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.489e-06/0.1841, allocations: 0 / 0.6715 GB, free: 4.703 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001708/0.1843, allocations: 31.92 kB / 0.6716 GB, free: 4.672 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002604/0.1869, allocations: 0.7018 MB / 0.6723 GB, free: 3.957 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.122e-05/0.1869, allocations: 12 kB / 0.6723 GB, free: 3.945 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006968/0.1939, allocations: 4.621 MB / 0.6768 GB, free: 15.04 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.1939, allocations: 4 kB / 0.6768 GB, free: 15.04 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004207/0.1981, allocations: 1.325 MB / 0.6781 GB, free: 13.68 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001454/0.1983, allocations: 132.4 kB / 0.6782 GB, free: 13.53 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.893e-05/0.1984, allocations: 8 kB / 0.6782 GB, free: 13.52 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004745/0.1989, allocations: 43.95 kB / 0.6782 GB, free: 13.48 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002782/0.1992, allocations: 99.8 kB / 0.6783 GB, free: 13.38 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.418e-05/0.1992, allocations: 11.98 kB / 0.6784 GB, free: 13.37 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0003366/0.1995, allocations: 291.1 kB / 0.6786 GB, free: 13.09 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1996, allocations: 0 / 0.6786 GB, free: 13.09 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0006285/0.2002, allocations: 187.7 kB / 0.6788 GB, free: 12.91 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.0001672/0.2004, allocations: 107.1 kB / 0.6789 GB, free: 12.79 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003278/0.2037, allocations: 1.291 MB / 0.6802 GB, free: 11.43 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.2037, allocations: 0 / 0.6802 GB, free: 11.43 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002397/0.2061, allocations: 0.985 MB / 0.6811 GB, free: 10.38 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003927/0.2065, allocations: 56.7 kB / 0.6812 GB, free: 10.32 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002023/0.2085, allocations: 0.9526 MB / 0.6821 GB, free: 9.34 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004063/0.2089, allocations: 0.8629 MB / 0.683 GB, free: 8.449 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001249/0.2091, allocations: 35.22 kB / 0.683 GB, free: 8.418 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.612e-05/0.2092, allocations: 31.44 kB / 0.683 GB, free: 8.387 MB / 494.1 MB Notification: Performance of SimCode: time 2.51e-07/0.2092, allocations: 0 / 0.683 GB, free: 8.387 MB / 494.1 MB Notification: Performance of Templates: time 0.01563/0.2248, allocations: 9.587 MB / 0.6924 GB, free: 14.8 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)