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.0007553/0.0007553, allocations: 90.83 kB / 15.36 MB, free: 0.7383 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.362/1.362, allocations: 223.3 MB / 239.3 MB, free: 5.531 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.000977/0.0009773, allocations: 191.4 kB / 290.6 MB, free: 2.188 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5336/0.5336, allocations: 91.92 MB / 433.6 MB, free: 10.29 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005417/0.0005418, allocations: 12 kB / 0.5048 GB, free: 7.297 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4075/0.408, allocations: 72.46 MB / 0.5755 GB, free: 36.76 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Events.TestBreaker): time 0.002907/0.411, allocations: 3.483 MB / 0.5789 GB, free: 34.66 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001584/0.4126, allocations: 1.104 MB / 0.58 GB, free: 33.88 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002042/0.4128, allocations: 11.81 kB / 0.58 GB, free: 33.87 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000306/0.4131, allocations: 106.8 kB / 0.5801 GB, free: 33.82 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003007/0.4134, allocations: 139.1 kB / 0.5802 GB, free: 33.72 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009047/0.4144, allocations: 485.6 kB / 0.5807 GB, free: 33.45 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004801/0.4148, allocations: 0.6123 MB / 0.5813 GB, free: 33.14 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002152/0.4151, allocations: 137 kB / 0.5814 GB, free: 33.08 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002016/0.4153, allocations: 241.2 kB / 0.5817 GB, free: 32.97 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002899/0.4156, allocations: 291 kB / 0.5819 GB, free: 32.83 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 4.822e-05/0.4156, allocations: 27.44 kB / 0.582 GB, free: 32.83 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001676/0.4158, allocations: 83.19 kB / 0.582 GB, free: 32.81 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 6.534e-05/0.4159, allocations: 97.02 kB / 0.5821 GB, free: 32.75 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001738/0.4161, allocations: 294.7 kB / 0.5824 GB, free: 32.55 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004894/0.4166, allocations: 0.6686 MB / 0.5831 GB, free: 32.28 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.916e-06/0.4166, allocations: 0 / 0.5831 GB, free: 32.28 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.4166, allocations: 0 / 0.5831 GB, free: 32.28 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.177e-06/0.4166, allocations: 0.5625 kB / 0.5831 GB, free: 32.28 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.002901/0.4195, allocations: 1.158 MB / 0.5842 GB, free: 31.64 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.777e-05/0.4195, allocations: 8.625 kB / 0.5842 GB, free: 31.64 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001662/0.4212, allocations: 293.5 kB / 0.5845 GB, free: 31.58 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005076/0.4217, allocations: 437.4 kB / 0.5849 GB, free: 31.23 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001672/0.4219, allocations: 196 kB / 0.5851 GB, free: 31.06 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.988e-05/0.422, allocations: 37.19 kB / 0.5851 GB, free: 31.05 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001022/0.423, allocations: 0.5903 MB / 0.5857 GB, free: 30.82 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.581e-05/0.423, allocations: 0 / 0.5857 GB, free: 30.82 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.877e-05/0.4231, allocations: 18.5 kB / 0.5857 GB, free: 30.8 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.372e-05/0.4231, allocations: 12.88 kB / 0.5857 GB, free: 30.8 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000921/0.424, allocations: 0.4985 MB / 0.5862 GB, free: 30.64 MB / 430.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.002422/0.4265, allocations: 2.122 MB / 0.5883 GB, free: 29.04 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01182/0.4383, allocations: 2.815 MB / 0.591 GB, free: 28.68 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000677/0.439, allocations: 303.3 kB / 0.5913 GB, free: 28.56 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.591e-05/0.4391, allocations: 4.625 kB / 0.5913 GB, free: 28.56 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007895/0.4399, allocations: 394.4 kB / 0.5917 GB, free: 28.39 MB / 430.1 MB Notification: Performance of pre-optimization done (n=40): time 3.176e-06/0.4399, allocations: 0 / 0.5917 GB, free: 28.39 MB / 430.1 MB Notification: Performance of matching and sorting (n=40): time 0.007328/0.4472, allocations: 2.617 MB / 0.5943 GB, free: 27.48 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.935e-05/0.4473, allocations: 85.33 kB / 0.5944 GB, free: 27.38 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004647/0.4478, allocations: 416.2 kB / 0.5948 GB, free: 27.19 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.83e-05/0.4478, allocations: 36.05 kB / 0.5948 GB, free: 27.15 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000159/0.448, allocations: 281.6 kB / 0.5951 GB, free: 26.92 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001021/0.4481, allocations: 133.7 kB / 0.5952 GB, free: 26.81 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.334e-05/0.4481, allocations: 40.11 kB / 0.5952 GB, free: 26.79 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.623e-05/0.4482, allocations: 354.2 kB / 0.5956 GB, free: 26.45 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006121/0.4488, allocations: 290.1 kB / 0.5958 GB, free: 26.36 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006115/0.4495, allocations: 338.1 kB / 0.5962 GB, free: 26.22 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001175/0.4506, allocations: 0.5988 MB / 0.5967 GB, free: 25.97 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.4507, allocations: 0 / 0.5967 GB, free: 25.97 MB / 430.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.004409/0.4551, allocations: 1.586 MB / 0.5983 GB, free: 25.53 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.065e-05/0.4551, allocations: 6 kB / 0.5983 GB, free: 25.53 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.233e-06/0.4551, allocations: 0 / 0.5983 GB, free: 25.53 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002746/0.4579, allocations: 0.8358 MB / 0.5991 GB, free: 25.34 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002315/0.4581, allocations: 46.14 kB / 0.5992 GB, free: 25.34 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006271/0.4644, allocations: 4.463 MB / 0.6035 GB, free: 22 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005757/0.465, allocations: 85.31 kB / 0.6036 GB, free: 21.97 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.512e-05/0.465, allocations: 13.08 kB / 0.6036 GB, free: 21.97 MB / 430.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.0002315/0.4653, allocations: 175.7 kB / 0.6038 GB, free: 21.81 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.938e-05/0.4654, allocations: 49.72 kB / 0.6038 GB, free: 21.79 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004415/0.4698, allocations: 1.568 MB / 0.6054 GB, free: 21.36 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.152e-06/0.4698, allocations: 4.125 kB / 0.6054 GB, free: 21.36 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.4698, allocations: 1.375 kB / 0.6054 GB, free: 21.36 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/0.4698, allocations: 3.062 kB / 0.6054 GB, free: 21.36 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007028/0.4705, allocations: 0.6309 MB / 0.606 GB, free: 20.97 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/0.4705, allocations: 0.7031 kB / 0.606 GB, free: 20.97 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001596/0.4707, allocations: 36.92 kB / 0.606 GB, free: 20.96 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00273/0.4734, allocations: 0.829 MB / 0.6068 GB, free: 20.78 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.974e-05/0.4735, allocations: 15.25 kB / 0.6068 GB, free: 20.77 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006074/0.4796, allocations: 4.43 MB / 0.6112 GB, free: 17.44 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.4796, allocations: 2.078 kB / 0.6112 GB, free: 17.44 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004457/0.4841, allocations: 1.559 MB / 0.6127 GB, free: 16.99 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001392/0.4842, allocations: 141.4 kB / 0.6128 GB, free: 16.85 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.193e-05/0.4843, allocations: 10.78 kB / 0.6128 GB, free: 16.84 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004643/0.4847, allocations: 60.88 kB / 0.6129 GB, free: 16.83 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003024/0.4851, allocations: 105.4 kB / 0.613 GB, free: 16.81 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.336e-05/0.4851, allocations: 11.81 kB / 0.613 GB, free: 16.81 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003247/0.4854, allocations: 286.9 kB / 0.6133 GB, free: 16.67 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4854, allocations: 0 / 0.6133 GB, free: 16.67 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0006447/0.4861, allocations: 184.9 kB / 0.6135 GB, free: 16.64 MB / 430.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.0001519/0.4862, allocations: 112.8 kB / 0.6136 GB, free: 16.54 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003171/0.4894, allocations: 1.379 MB / 0.6149 GB, free: 15.81 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.4894, allocations: 0 / 0.6149 GB, free: 15.81 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002334/0.4918, allocations: 1.052 MB / 0.6159 GB, free: 15.2 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004393/0.4922, allocations: 46.34 kB / 0.616 GB, free: 15.17 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00194/0.4942, allocations: 1.184 MB / 0.6171 GB, free: 14.43 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003134/0.4945, allocations: 0.8584 MB / 0.618 GB, free: 13.73 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001226/0.4946, allocations: 37.28 kB / 0.618 GB, free: 13.72 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.189e-05/0.4947, allocations: 27.98 kB / 0.618 GB, free: 13.71 MB / 430.1 MB Notification: Performance of SimCode: time 7.91e-07/0.4947, allocations: 0 / 0.618 GB, free: 13.71 MB / 430.1 MB Notification: Performance of Templates: time 0.01382/0.5086, allocations: 8.33 MB / 0.6262 GB, free: 8.566 MB / 430.1 MB 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)