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.08902/0.08902, allocations: 12.6 MB / 28.85 MB, free: 0.6211 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.001092/0.001092, allocations: 115.4 kB / 32.45 MB, free: 3.562 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.475/1.475, allocations: 205.1 MB / 241 MB, free: 12.39 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.001424/0.001424, allocations: 192.5 kB / 291.3 MB, free: 13.41 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4422/0.4422, allocations: 78.51 MB / 419.9 MB, free: 11.29 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.002608/0.002608, allocations: 139.8 kB / 0.4895 GB, free: 10.09 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3518/0.3544, allocations: 68.11 MB / 0.556 GB, free: 33.03 MB / 398.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Events.TestBreaker): time 0.004602/0.3591, allocations: 3.659 MB / 0.5596 GB, free: 30.39 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002225/0.3613, allocations: 1.142 MB / 0.5607 GB, free: 29.57 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002786/0.3616, allocations: 6.875 kB / 0.5607 GB, free: 29.57 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000398/0.3621, allocations: 130.3 kB / 0.5608 GB, free: 29.49 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003683/0.3624, allocations: 171.9 kB / 0.561 GB, free: 29.34 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001101/0.3635, allocations: 0.5179 MB / 0.5615 GB, free: 28.95 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006195/0.3642, allocations: 0.6432 MB / 0.5621 GB, free: 28.55 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002658/0.3644, allocations: 161.8 kB / 0.5623 GB, free: 28.47 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002603/0.3647, allocations: 276.8 kB / 0.5625 GB, free: 28.3 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000367/0.3651, allocations: 316.3 kB / 0.5628 GB, free: 28.08 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.341e-05/0.3652, allocations: 43.16 kB / 0.5629 GB, free: 28.08 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002206/0.3654, allocations: 106.6 kB / 0.563 GB, free: 28.05 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.702e-05/0.3655, allocations: 121.3 kB / 0.5631 GB, free: 27.95 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002149/0.3657, allocations: 278.6 kB / 0.5633 GB, free: 27.75 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006601/0.3664, allocations: 0.7119 MB / 0.564 GB, free: 27.23 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.3664, allocations: 5.156 kB / 0.564 GB, free: 27.23 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.3664, allocations: 0 / 0.564 GB, free: 27.23 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.347e-06/0.3664, allocations: 4 kB / 0.564 GB, free: 27.22 MB / 398.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.003031/0.3695, allocations: 1.229 MB / 0.5652 GB, free: 26.35 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.377e-05/0.3695, allocations: 13.98 kB / 0.5653 GB, free: 26.35 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001617/0.3711, allocations: 288.9 kB / 0.5655 GB, free: 26.23 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006466/0.3718, allocations: 448 kB / 0.566 GB, free: 25.83 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001712/0.372, allocations: 194.6 kB / 0.5662 GB, free: 25.64 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.193e-05/0.3721, allocations: 43.09 kB / 0.5662 GB, free: 25.62 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000983/0.373, allocations: 0.5556 MB / 0.5667 GB, free: 25.29 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.433e-05/0.3731, allocations: 1.469 kB / 0.5667 GB, free: 25.29 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.468e-05/0.3731, allocations: 22.41 kB / 0.5668 GB, free: 25.27 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.641e-05/0.3731, allocations: 11.12 kB / 0.5668 GB, free: 25.27 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009196/0.3741, allocations: 473.8 kB / 0.5672 GB, free: 25.05 MB / 398.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.002439/0.3765, allocations: 2.079 MB / 0.5692 GB, free: 23.15 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0103/0.3868, allocations: 2.051 MB / 0.5713 GB, free: 22.27 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005751/0.3874, allocations: 280.4 kB / 0.5715 GB, free: 22.12 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.196e-05/0.3875, allocations: 9.734 kB / 0.5715 GB, free: 22.11 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006434/0.3882, allocations: 364.8 kB / 0.5719 GB, free: 21.88 MB / 398.1 MB Notification: Performance of pre-optimization done (n=40): time 2.244e-06/0.3882, allocations: 1.406 kB / 0.5719 GB, free: 21.88 MB / 398.1 MB Notification: Performance of matching and sorting (n=40): time 0.006283/0.3945, allocations: 2.199 MB / 0.574 GB, free: 20.46 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.919e-05/0.3945, allocations: 89.05 kB / 0.5741 GB, free: 20.36 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004575/0.395, allocations: 417.9 kB / 0.5745 GB, free: 19.93 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.504e-05/0.3951, allocations: 33.7 kB / 0.5745 GB, free: 19.89 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001687/0.3952, allocations: 284 kB / 0.5748 GB, free: 19.61 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001085/0.3953, allocations: 130.2 kB / 0.5749 GB, free: 19.48 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000137/0.3955, allocations: 74.03 kB / 0.575 GB, free: 19.41 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.861e-05/0.3956, allocations: 354.8 kB / 0.5753 GB, free: 19.05 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000456/0.3961, allocations: 260.7 kB / 0.5756 GB, free: 18.8 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004622/0.3965, allocations: 310.7 kB / 0.5759 GB, free: 18.48 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008708/0.3974, allocations: 0.5412 MB / 0.5764 GB, free: 17.93 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.3974, allocations: 4 kB / 0.5764 GB, free: 17.93 MB / 398.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.00327/0.4007, allocations: 1.346 MB / 0.5777 GB, free: 16.56 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/0.4007, allocations: 4 kB / 0.5777 GB, free: 16.56 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.4007, allocations: 4 kB / 0.5777 GB, free: 16.55 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00209/0.4028, allocations: 0.7096 MB / 0.5784 GB, free: 15.83 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002128/0.4031, allocations: 47.91 kB / 0.5785 GB, free: 15.79 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005501/0.4086, allocations: 4.666 MB / 0.583 GB, free: 10.85 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000532/0.4091, allocations: 59.7 kB / 0.5831 GB, free: 10.79 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.732e-05/0.4092, allocations: 15.98 kB / 0.5831 GB, free: 10.77 MB / 398.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.0002562/0.4094, allocations: 173.7 kB / 0.5833 GB, free: 10.6 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.416e-05/0.4095, allocations: 47.44 kB / 0.5833 GB, free: 10.55 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003302/0.4128, allocations: 1.317 MB / 0.5846 GB, free: 9.215 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.4128, allocations: 4 kB / 0.5846 GB, free: 9.211 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.4128, allocations: 3.938 kB / 0.5846 GB, free: 9.207 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.4129, allocations: 3.984 kB / 0.5846 GB, free: 9.203 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000547/0.4134, allocations: 0.6296 MB / 0.5852 GB, free: 8.523 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.4134, allocations: 0 / 0.5852 GB, free: 8.523 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001398/0.4136, allocations: 35.92 kB / 0.5853 GB, free: 8.488 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001977/0.4156, allocations: 0.7096 MB / 0.586 GB, free: 7.766 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.474e-05/0.4156, allocations: 8 kB / 0.586 GB, free: 7.758 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005002/0.4206, allocations: 4.618 MB / 0.5905 GB, free: 2.855 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.4206, allocations: 0 / 0.5905 GB, free: 2.855 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003202/0.4238, allocations: 1.325 MB / 0.5918 GB, free: 1.496 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001179/0.424, allocations: 136.2 kB / 0.5919 GB, free: 1.344 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.739e-05/0.424, allocations: 8 kB / 0.5919 GB, free: 1.336 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003717/0.4244, allocations: 39.95 kB / 0.592 GB, free: 1.297 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002416/0.4246, allocations: 111.8 kB / 0.5921 GB, free: 1.188 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.178e-05/0.4247, allocations: 16 kB / 0.5921 GB, free: 1.172 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002463/0.4249, allocations: 283.1 kB / 0.5923 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4249, allocations: 0 / 0.5923 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005637/0.4255, allocations: 183.7 kB / 0.5925 GB, free: 0.7188 MB / 398.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.0001665/0.4257, allocations: 115.2 kB / 0.5926 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002702/0.4284, allocations: 1.275 MB / 0.5939 GB, free: 15.25 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.4284, allocations: 0 / 0.5939 GB, free: 15.25 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002133/0.4306, allocations: 0.9929 MB / 0.5948 GB, free: 14.19 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004229/0.431, allocations: 43.78 kB / 0.5949 GB, free: 14.15 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002048/0.433, allocations: 0.9614 MB / 0.5958 GB, free: 13.16 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004555/0.4335, allocations: 0.8629 MB / 0.5967 GB, free: 12.28 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001214/0.4336, allocations: 31.28 kB / 0.5967 GB, free: 12.25 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.562e-05/0.4337, allocations: 35.42 kB / 0.5967 GB, free: 12.21 MB / 414.1 MB Notification: Performance of SimCode: time 4.11e-07/0.4337, allocations: 0 / 0.5967 GB, free: 12.21 MB / 414.1 MB Notification: Performance of Templates: time 0.01513/0.4489, allocations: 9.491 MB / 0.606 GB, free: 2.738 MB / 414.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 -s cvode -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Events.TestBreaker.pipe 2>&1)