Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Events.TestBreaker.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) 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 3.2.3+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 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Running command: translateModel(OpenIPSL.Tests.Events.TestBreaker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Events.TestBreaker") translateModel(OpenIPSL.Tests.Events.TestBreaker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Events.TestBreaker") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.08341/0.08341, allocations: 12.6 MB / 28.91 MB, free: 0.5898 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001164/0.001164, allocations: 103.5 kB / 32.5 MB, free: 3.539 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.47/1.47, allocations: 205.1 MB / 241.1 MB, free: 12.37 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001875/0.001875, allocations: 184.5 kB / 291.4 MB, free: 13.38 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.459/0.459, allocations: 78.5 MB / 420 MB, free: 11.27 MB / 302.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002577/0.002577, allocations: 143 kB / 0.5565 GB, free: 28.48 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1423/0.1449, allocations: 68.12 MB / 0.623 GB, free: 15.46 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Events.TestBreaker): time 0.004436/0.1494, allocations: 3.665 MB / 0.6266 GB, free: 11.78 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002183/0.1516, allocations: 1.142 MB / 0.6277 GB, free: 10.63 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002462/0.1519, allocations: 11.94 kB / 0.6277 GB, free: 10.62 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004006/0.1523, allocations: 131 kB / 0.6278 GB, free: 10.49 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003899/0.1527, allocations: 174.5 kB / 0.628 GB, free: 10.32 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001148/0.1539, allocations: 0.5139 MB / 0.6285 GB, free: 9.805 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006562/0.1545, allocations: 0.6459 MB / 0.6291 GB, free: 9.156 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000277/0.1548, allocations: 157.8 kB / 0.6293 GB, free: 8.988 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002605/0.1551, allocations: 274.7 kB / 0.6296 GB, free: 8.719 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000402/0.1555, allocations: 310.5 kB / 0.6298 GB, free: 8.414 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.79e-05/0.1556, allocations: 44 kB / 0.6299 GB, free: 8.371 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002125/0.1558, allocations: 115.9 kB / 0.63 GB, free: 8.258 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.135e-05/0.1559, allocations: 115.5 kB / 0.6301 GB, free: 8.145 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002247/0.1561, allocations: 290.2 kB / 0.6304 GB, free: 7.859 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007003/0.1568, allocations: 0.6968 MB / 0.6311 GB, free: 7.16 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.1568, allocations: 0 / 0.6311 GB, free: 7.16 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.1568, allocations: 0 / 0.6311 GB, free: 7.16 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.197e-06/0.1569, allocations: 0 / 0.6311 GB, free: 7.16 MB / 446.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.003293/0.1602, allocations: 1.248 MB / 0.6323 GB, free: 5.859 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/0.1602, allocations: 11.98 kB / 0.6323 GB, free: 5.848 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001655/0.1619, allocations: 284 kB / 0.6326 GB, free: 5.57 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006349/0.1625, allocations: 449.6 kB / 0.633 GB, free: 5.094 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002034/0.1627, allocations: 193.6 kB / 0.6332 GB, free: 4.871 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.495e-05/0.1628, allocations: 40 kB / 0.6332 GB, free: 4.832 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001094/0.1639, allocations: 0.5564 MB / 0.6338 GB, free: 4.266 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/0.1639, allocations: 3.938 kB / 0.6338 GB, free: 4.262 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.225e-05/0.164, allocations: 20 kB / 0.6338 GB, free: 4.242 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.06e-05/0.164, allocations: 8 kB / 0.6338 GB, free: 4.234 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009642/0.165, allocations: 483.2 kB / 0.6343 GB, free: 3.762 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.002772/0.1677, allocations: 2.078 MB / 0.6363 GB, free: 1.48 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01101/0.1788, allocations: 2.061 MB / 0.6383 GB, free: 15.4 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006365/0.1794, allocations: 277.5 kB / 0.6386 GB, free: 15.12 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.234e-05/0.1795, allocations: 4 kB / 0.6386 GB, free: 15.12 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000787/0.1803, allocations: 371.8 kB / 0.6389 GB, free: 14.74 MB / 462.1 MB Notification: Performance of pre-optimization done (n=40): time 2.475e-06/0.1803, allocations: 0 / 0.6389 GB, free: 14.74 MB / 462.1 MB Notification: Performance of matching and sorting (n=40): time 0.007031/0.1874, allocations: 2.185 MB / 0.6411 GB, free: 12.46 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.492e-05/0.1875, allocations: 101 kB / 0.6412 GB, free: 12.34 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005525/0.188, allocations: 410 kB / 0.6415 GB, free: 11.93 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.766e-05/0.1881, allocations: 37.7 kB / 0.6416 GB, free: 11.89 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002273/0.1883, allocations: 276 kB / 0.6418 GB, free: 11.62 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001478/0.1885, allocations: 130.1 kB / 0.642 GB, free: 11.49 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001653/0.1887, allocations: 74.03 kB / 0.642 GB, free: 11.41 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001421/0.1888, allocations: 358.8 kB / 0.6424 GB, free: 11.05 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000575/0.1894, allocations: 260.7 kB / 0.6426 GB, free: 10.8 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005962/0.19, allocations: 310.7 kB / 0.6429 GB, free: 10.48 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001131/0.1911, allocations: 0.5466 MB / 0.6435 GB, free: 9.93 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.1912, allocations: 0 / 0.6435 GB, free: 9.93 MB / 462.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.004098/0.1953, allocations: 1.335 MB / 0.6448 GB, free: 8.574 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.621e-05/0.1953, allocations: 8 kB / 0.6448 GB, free: 8.566 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/0.1953, allocations: 3.938 kB / 0.6448 GB, free: 8.562 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002635/0.198, allocations: 0.7057 MB / 0.6455 GB, free: 7.844 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002608/0.1982, allocations: 47.92 kB / 0.6455 GB, free: 7.797 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007189/0.2054, allocations: 4.667 MB / 0.6501 GB, free: 2.848 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005776/0.206, allocations: 63.7 kB / 0.6501 GB, free: 2.785 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.991e-05/0.2061, allocations: 19.98 kB / 0.6501 GB, free: 2.766 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.0003002/0.2064, allocations: 161.8 kB / 0.6503 GB, free: 2.598 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001269/0.2066, allocations: 47.44 kB / 0.6503 GB, free: 2.551 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00416/0.2107, allocations: 1.32 MB / 0.6516 GB, free: 1.207 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.403e-06/0.2107, allocations: 4 kB / 0.6516 GB, free: 1.203 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.254e-06/0.2108, allocations: 4.25 kB / 0.6516 GB, free: 1.199 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.737e-06/0.2108, allocations: 3.984 kB / 0.6516 GB, free: 1.195 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008193/0.2116, allocations: 0.6296 MB / 0.6523 GB, free: 0.5156 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.319e-06/0.2116, allocations: 0 / 0.6523 GB, free: 0.5156 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001677/0.2118, allocations: 31.92 kB / 0.6523 GB, free: 496 kB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002516/0.2143, allocations: 0.7057 MB / 0.653 GB, free: 15.77 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.443e-05/0.2144, allocations: 4 kB / 0.653 GB, free: 15.76 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00692/0.2213, allocations: 4.626 MB / 0.6575 GB, free: 10.86 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.2213, allocations: 0 / 0.6575 GB, free: 10.86 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004135/0.2255, allocations: 1.322 MB / 0.6588 GB, free: 9.504 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001696/0.2257, allocations: 128.4 kB / 0.6589 GB, free: 9.359 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.69e-05/0.2257, allocations: 8 kB / 0.6589 GB, free: 9.352 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004667/0.2262, allocations: 47.89 kB / 0.659 GB, free: 9.305 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002934/0.2265, allocations: 107.8 kB / 0.6591 GB, free: 9.199 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.396e-05/0.2266, allocations: 12 kB / 0.6591 GB, free: 9.188 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0003434/0.2269, allocations: 287.1 kB / 0.6594 GB, free: 8.91 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2269, allocations: 0 / 0.6594 GB, free: 8.91 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0006828/0.2276, allocations: 183.7 kB / 0.6595 GB, free: 8.73 MB / 478.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.0001876/0.2278, allocations: 111.4 kB / 0.6596 GB, free: 8.613 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003226/0.231, allocations: 1.297 MB / 0.6609 GB, free: 7.246 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.2311, allocations: 4 kB / 0.6609 GB, free: 7.242 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002343/0.2334, allocations: 0.9967 MB / 0.6619 GB, free: 6.176 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000437/0.2339, allocations: 53.28 kB / 0.6619 GB, free: 6.125 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002208/0.2361, allocations: 0.9744 MB / 0.6629 GB, free: 5.117 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004694/0.2366, allocations: 0.8551 MB / 0.6637 GB, free: 4.238 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001126/0.2367, allocations: 31.44 kB / 0.6637 GB, free: 4.207 MB / 478.1 MB Notification: Performance of SimCode: time 6.01e-07/0.2367, allocations: 4 kB / 0.6638 GB, free: 4.203 MB / 478.1 MB Notification: Performance of Templates: time 0.01932/0.256, allocations: 15.88 MB / 0.6793 GB, free: 4.293 MB / 494.1 MB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Events.TestBreaker.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Events.TestBreaker.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Events.TestBreaker.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Events.TestBreaker.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Events.TestBreaker.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Events.TestBreaker -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Events.TestBreaker.pipe 2>&1)