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.001128/0.001127, allocations: 103.4 kB / 15.33 MB, free: 0.5039 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.396/1.396, allocations: 222.9 MB / 239 MB, free: 4.719 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.001226/0.001226, allocations: 200.2 kB / 289.3 MB, free: 2.449 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4952/0.4952, allocations: 91.89 MB / 431.3 MB, free: 9.375 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001589/0.001589, allocations: 75.89 kB / 0.5014 GB, free: 8.039 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3301/0.3317, allocations: 71.27 MB / 0.571 GB, free: 36.62 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Events.TestBreaker): time 0.003514/0.3353, allocations: 3.883 MB / 0.5748 GB, free: 34.55 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0013/0.3366, allocations: 1.112 MB / 0.5758 GB, free: 34.06 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001776/0.3368, allocations: 13.56 kB / 0.5759 GB, free: 34.05 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002831/0.3371, allocations: 99.72 kB / 0.576 GB, free: 34.02 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002735/0.3374, allocations: 146.4 kB / 0.5761 GB, free: 33.93 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008229/0.3382, allocations: 479.8 kB / 0.5765 GB, free: 33.73 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004324/0.3386, allocations: 0.6432 MB / 0.5772 GB, free: 33.4 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002103/0.3388, allocations: 153.7 kB / 0.5773 GB, free: 33.34 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001754/0.339, allocations: 278.2 kB / 0.5776 GB, free: 33.2 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002798/0.3393, allocations: 311.1 kB / 0.5779 GB, free: 33.04 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.492e-05/0.3394, allocations: 46.31 kB / 0.5779 GB, free: 33.04 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001654/0.3396, allocations: 111 kB / 0.578 GB, free: 33.02 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 6.991e-05/0.3396, allocations: 116.2 kB / 0.5781 GB, free: 32.94 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001638/0.3398, allocations: 289.3 kB / 0.5784 GB, free: 32.75 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005347/0.3403, allocations: 0.6983 MB / 0.5791 GB, free: 32.42 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.3404, allocations: 0 / 0.5791 GB, free: 32.42 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.3404, allocations: 0 / 0.5791 GB, free: 32.42 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.456e-06/0.3404, allocations: 6.594 kB / 0.5791 GB, free: 32.41 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.002912/0.3433, allocations: 1.234 MB / 0.5803 GB, free: 31.71 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.34e-05/0.3433, allocations: 8.312 kB / 0.5803 GB, free: 31.71 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001552/0.3449, allocations: 291.3 kB / 0.5806 GB, free: 31.65 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004408/0.3454, allocations: 443.9 kB / 0.581 GB, free: 31.3 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000152/0.3455, allocations: 188.1 kB / 0.5812 GB, free: 31.12 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.101e-05/0.3456, allocations: 43.84 kB / 0.5812 GB, free: 31.11 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009283/0.3465, allocations: 0.5552 MB / 0.5818 GB, free: 30.88 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.593e-05/0.3465, allocations: 0 / 0.5818 GB, free: 30.88 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.264e-05/0.3466, allocations: 21.86 kB / 0.5818 GB, free: 30.87 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.046e-05/0.3466, allocations: 11.59 kB / 0.5818 GB, free: 30.87 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008471/0.3475, allocations: 484.9 kB / 0.5823 GB, free: 30.7 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.002286/0.3498, allocations: 2.093 MB / 0.5843 GB, free: 29.11 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01032/0.3601, allocations: 2.053 MB / 0.5863 GB, free: 28.84 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005406/0.3607, allocations: 277.7 kB / 0.5866 GB, free: 28.73 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.987e-05/0.3607, allocations: 4.406 kB / 0.5866 GB, free: 28.73 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007319/0.3615, allocations: 367.2 kB / 0.5869 GB, free: 28.56 MB / 430.1 MB Notification: Performance of pre-optimization done (n=40): time 1.914e-06/0.3615, allocations: 0 / 0.5869 GB, free: 28.56 MB / 430.1 MB Notification: Performance of matching and sorting (n=40): time 0.006426/0.3679, allocations: 2.193 MB / 0.5891 GB, free: 27.71 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.547e-05/0.368, allocations: 88.77 kB / 0.5892 GB, free: 27.61 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007356/0.3687, allocations: 420.8 kB / 0.5896 GB, free: 27.41 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.483e-05/0.3688, allocations: 31.2 kB / 0.5896 GB, free: 27.37 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002313/0.3691, allocations: 276 kB / 0.5899 GB, free: 27.14 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001704/0.3692, allocations: 132.4 kB / 0.59 GB, free: 27.04 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002273/0.3695, allocations: 80.02 kB / 0.5901 GB, free: 26.99 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.727e-05/0.3696, allocations: 361.2 kB / 0.5904 GB, free: 26.66 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008605/0.3704, allocations: 259 kB / 0.5907 GB, free: 26.57 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008554/0.3713, allocations: 303.5 kB / 0.591 GB, free: 26.44 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001612/0.3729, allocations: 0.548 MB / 0.5915 GB, free: 26.2 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.3729, allocations: 0 / 0.5915 GB, free: 26.2 MB / 430.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.004911/0.3779, allocations: 1.342 MB / 0.5928 GB, free: 25.78 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/0.3779, allocations: 9.5 kB / 0.5928 GB, free: 25.78 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.293e-06/0.3779, allocations: 1.125 kB / 0.5928 GB, free: 25.78 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002448/0.3804, allocations: 0.7125 MB / 0.5935 GB, free: 25.6 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002249/0.3806, allocations: 44.98 kB / 0.5935 GB, free: 25.59 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006135/0.3867, allocations: 4.675 MB / 0.5981 GB, free: 21.99 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005078/0.3873, allocations: 69.33 kB / 0.5982 GB, free: 21.96 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.701e-05/0.3873, allocations: 14.08 kB / 0.5982 GB, free: 21.96 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.0002071/0.3875, allocations: 168.7 kB / 0.5984 GB, free: 21.8 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.348e-05/0.3876, allocations: 51 kB / 0.5984 GB, free: 21.78 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004127/0.3917, allocations: 1.316 MB / 0.5997 GB, free: 21.38 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.3918, allocations: 3.906 kB / 0.5997 GB, free: 21.38 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.3918, allocations: 2.688 kB / 0.5997 GB, free: 21.38 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.3918, allocations: 3.547 kB / 0.5997 GB, free: 21.38 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005883/0.3924, allocations: 0.6309 MB / 0.6003 GB, free: 21 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/0.3924, allocations: 0 / 0.6003 GB, free: 21 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001503/0.3925, allocations: 23.81 kB / 0.6003 GB, free: 21 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002348/0.3949, allocations: 0.7113 MB / 0.601 GB, free: 20.82 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.67e-05/0.3949, allocations: 7.203 kB / 0.601 GB, free: 20.82 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005753/0.4007, allocations: 4.635 MB / 0.6056 GB, free: 17.23 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.4007, allocations: 1.375 kB / 0.6056 GB, free: 17.23 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003896/0.4046, allocations: 1.318 MB / 0.6069 GB, free: 16.8 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.511e-05/0.4047, allocations: 133.5 kB / 0.607 GB, free: 16.66 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.764e-05/0.4048, allocations: 11.05 kB / 0.607 GB, free: 16.66 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004155/0.4052, allocations: 41.62 kB / 0.607 GB, free: 16.65 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000255/0.4055, allocations: 115.8 kB / 0.6071 GB, free: 16.61 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.136e-05/0.4055, allocations: 9.25 kB / 0.6071 GB, free: 16.61 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002725/0.4058, allocations: 290.3 kB / 0.6074 GB, free: 16.47 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4058, allocations: 0 / 0.6074 GB, free: 16.47 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005624/0.4064, allocations: 185.1 kB / 0.6076 GB, free: 16.44 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.0001231/0.4065, allocations: 104.4 kB / 0.6077 GB, free: 16.34 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002792/0.4093, allocations: 1.293 MB / 0.609 GB, free: 15.62 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.4093, allocations: 0 / 0.609 GB, free: 15.62 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002095/0.4114, allocations: 0.996 MB / 0.6099 GB, free: 15 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003684/0.4118, allocations: 50.11 kB / 0.61 GB, free: 14.97 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001847/0.4137, allocations: 1.165 MB / 0.6111 GB, free: 14.24 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002908/0.414, allocations: 0.8548 MB / 0.612 GB, free: 13.54 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001209/0.4141, allocations: 37.95 kB / 0.612 GB, free: 13.53 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.585e-05/0.4142, allocations: 33.05 kB / 0.612 GB, free: 13.52 MB / 430.1 MB Notification: Performance of SimCode: time 6.61e-07/0.4142, allocations: 0 / 0.612 GB, free: 13.52 MB / 430.1 MB Notification: Performance of Templates: time 0.01353/0.4277, allocations: 9.047 MB / 0.6209 GB, free: 10.39 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)