Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Branches.Generic.ULTC.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.Branches.Generic.ULTC,tolerance=0.0001,outputFormat="empty",numberOfIntervals=70000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Branches.Generic.ULTC") translateModel(OpenIPSL.Tests.Branches.Generic.ULTC,tolerance=0.0001,outputFormat="empty",numberOfIntervals=70000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Branches.Generic.ULTC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001446/0.001446, allocations: 114.3 kB / 16.37 MB, free: 5.539 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.317/1.317, allocations: 222.9 MB / 240 MB, free: 4.363 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.001194/0.001194, allocations: 192.5 kB / 290.3 MB, free: 2.086 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4884/0.4884, allocations: 91.9 MB / 432.4 MB, free: 9.191 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001434/0.001434, allocations: 75.88 kB / 0.5033 GB, free: 6.984 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2863/0.2877, allocations: 71.25 MB / 0.5729 GB, free: 37 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Branches.Generic.ULTC): time 0.003726/0.2915, allocations: 4.39 MB / 0.5772 GB, free: 34.59 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001636/0.2931, allocations: 1.254 MB / 0.5784 GB, free: 33.83 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001976/0.2934, allocations: 3.375 kB / 0.5784 GB, free: 33.83 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002989/0.2937, allocations: 149.6 kB / 0.5785 GB, free: 33.75 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004156/0.2941, allocations: 227 kB / 0.5788 GB, free: 33.59 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001039/0.2951, allocations: 0.5808 MB / 0.5793 GB, free: 33.25 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005397/0.2957, allocations: 0.809 MB / 0.5801 GB, free: 32.84 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002526/0.296, allocations: 199.1 kB / 0.5803 GB, free: 32.75 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002152/0.2962, allocations: 335.3 kB / 0.5806 GB, free: 32.59 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003496/0.2965, allocations: 420.1 kB / 0.581 GB, free: 32.38 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 7.646e-05/0.2966, allocations: 62.84 kB / 0.5811 GB, free: 32.38 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002355/0.2969, allocations: 135 kB / 0.5812 GB, free: 32.35 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001071/0.297, allocations: 171.3 kB / 0.5814 GB, free: 32.23 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002424/0.2972, allocations: 389.1 kB / 0.5817 GB, free: 31.98 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006493/0.2979, allocations: 0.9248 MB / 0.5826 GB, free: 31.55 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.2979, allocations: 1.688 kB / 0.5826 GB, free: 31.55 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.2979, allocations: 0 / 0.5826 GB, free: 31.55 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.045e-05/0.2979, allocations: 2.5 kB / 0.5826 GB, free: 31.55 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: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.003824/0.3018, allocations: 1.565 MB / 0.5842 GB, free: 30.75 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.123e-05/0.3018, allocations: 10.81 kB / 0.5842 GB, free: 30.75 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002446/0.3042, allocations: 429.5 kB / 0.5846 GB, free: 30.66 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005472/0.3048, allocations: 0.5 MB / 0.5851 GB, free: 30.27 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001687/0.305, allocations: 203.5 kB / 0.5853 GB, free: 30.08 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.546e-05/0.3051, allocations: 56.69 kB / 0.5853 GB, free: 30.06 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001198/0.3063, allocations: 0.6994 MB / 0.586 GB, free: 29.79 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.459e-05/0.3063, allocations: 0 / 0.586 GB, free: 29.79 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.273e-05/0.3064, allocations: 26.53 kB / 0.586 GB, free: 29.77 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.625e-05/0.3064, allocations: 17.31 kB / 0.5861 GB, free: 29.77 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001336/0.3077, allocations: 0.6752 MB / 0.5867 GB, free: 29.55 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003529/0.3113, allocations: 2.143 MB / 0.5888 GB, free: 28.35 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007073/0.3184, allocations: 2.272 MB / 0.591 GB, free: 27.39 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001002/0.3194, allocations: 485.2 kB / 0.5915 GB, free: 27.21 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.296e-05/0.3195, allocations: 10.92 kB / 0.5915 GB, free: 27.21 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001123/0.3207, allocations: 0.5252 MB / 0.592 GB, free: 27 MB / 430.1 MB Notification: Performance of pre-optimization done (n=75): time 3.737e-06/0.3207, allocations: 0 / 0.592 GB, free: 27 MB / 430.1 MB Notification: Performance of matching and sorting (n=75): time 0.01231/0.333, allocations: 3.604 MB / 0.5955 GB, free: 26 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.334e-05/0.3331, allocations: 59.92 kB / 0.5956 GB, free: 25.94 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005868/0.3337, allocations: 0.5117 MB / 0.5961 GB, free: 25.71 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.459e-05/0.3338, allocations: 44.11 kB / 0.5961 GB, free: 25.66 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001707/0.3339, allocations: 324.6 kB / 0.5964 GB, free: 25.4 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001659/0.3341, allocations: 248 kB / 0.5967 GB, free: 25.21 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002187/0.3343, allocations: 129.6 kB / 0.5968 GB, free: 25.14 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.148e-05/0.3344, allocations: 382.6 kB / 0.5972 GB, free: 24.79 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007963/0.3352, allocations: 411.3 kB / 0.5976 GB, free: 24.65 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008299/0.3361, allocations: 0.4958 MB / 0.598 GB, free: 24.41 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008511/0.3446, allocations: 2.53 MB / 0.6005 GB, free: 23.62 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.261e-06/0.3446, allocations: 1.219 kB / 0.6005 GB, free: 23.62 MB / 430.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.006755/0.3514, allocations: 2.237 MB / 0.6027 GB, free: 23.02 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.311e-05/0.3514, allocations: 9.5 kB / 0.6027 GB, free: 23.01 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.153e-05/0.3514, allocations: 7.25 kB / 0.6027 GB, free: 23.01 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003793/0.3552, allocations: 0.9962 MB / 0.6037 GB, free: 22.81 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005237/0.3558, allocations: 113.3 kB / 0.6038 GB, free: 22.8 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008729/0.3645, allocations: 4.515 MB / 0.6082 GB, free: 20.17 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007967/0.3653, allocations: 97.28 kB / 0.6083 GB, free: 20.12 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.683e-05/0.3654, allocations: 24.05 kB / 0.6083 GB, free: 20.12 MB / 430.1 MB Warning: Assuming fixed start value for the following 4 variables: ultc.y3l0:DISCRETE(fixed = true ) "Loop breaker for when-clauses" type: Boolean ultc.y2l0:DISCRETE(fixed = true ) "Loop breaker for when-clauses" type: Boolean load.xp:VARIABLE(start = 0.0 fixed = true protected = true ) type: Real load.xq:VARIABLE(start = 0.0 fixed = true protected = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.ultc.zeroCrossing.enable,$PRE.ultc.zeroCrossing.u_pos,$PRE.ultc.zeroCrossing.disable,$PRE.ultc.y3l0,$PRE.ultc.y2l0,ultc.zeroCrossing.enable,ultc.zeroCrossing.u_pos,ultc.zeroCrossing.disable,ultc.zeroCrossing.y,$whenCondition2,$whenCondition1,ultc.y3l0,ultc.y2l0,ultc.m,$PRE.ultc.m) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * 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): 1 system {(10,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0003599/0.3658, allocations: 209.6 kB / 0.6085 GB, free: 19.95 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001387/0.3659, allocations: 74.62 kB / 0.6086 GB, free: 19.91 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006908/0.3729, allocations: 2.185 MB / 0.6107 GB, free: 19.3 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.094e-05/0.3729, allocations: 7.812 kB / 0.6107 GB, free: 19.3 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.3729, allocations: 1.969 kB / 0.6107 GB, free: 19.3 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.473e-05/0.3729, allocations: 3.422 kB / 0.6107 GB, free: 19.3 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008025/0.381, allocations: 3.182 MB / 0.6138 GB, free: 18.05 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.58e-06/0.381, allocations: 5.094 kB / 0.6139 GB, free: 18.05 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004129/0.3814, allocations: 75.66 kB / 0.6139 GB, free: 18.04 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003635/0.3851, allocations: 1.002 MB / 0.6149 GB, free: 17.65 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.238e-05/0.3852, allocations: 15.88 kB / 0.6149 GB, free: 17.64 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008098/0.3933, allocations: 4.467 MB / 0.6193 GB, free: 14.15 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.3933, allocations: 0 / 0.6193 GB, free: 14.15 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006979/0.4003, allocations: 2.761 MB / 0.622 GB, free: 11.37 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002244/0.4005, allocations: 156 kB / 0.6221 GB, free: 11.2 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001507/0.4007, allocations: 19.94 kB / 0.6221 GB, free: 11.18 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006302/0.4013, allocations: 55.94 kB / 0.6222 GB, free: 11.12 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003973/0.4017, allocations: 152.4 kB / 0.6223 GB, free: 10.97 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.208e-05/0.4018, allocations: 23.98 kB / 0.6224 GB, free: 10.95 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003283/0.4022, allocations: 350.8 kB / 0.6227 GB, free: 10.61 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.4022, allocations: 0 / 0.6227 GB, free: 10.61 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0008385/0.403, allocations: 267.8 kB / 0.623 GB, free: 10.35 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (ultc.x1,load.xp,load.xq) * Number of discrete variables: 8 ($whenCondition1,$whenCondition2,ultc.m,ultc.y2l0,ultc.y3l0,ultc.zeroCrossing.y,ultc.zeroCrossing.disable,ultc.zeroCrossing.u_pos) * Number of discrete states: 5 (ultc.zeroCrossing.u_pos,ultc.zeroCrossing.disable,ultc.y2l0,ultc.y3l0,ultc.m) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (53): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * 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): 1 system {(10,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002023/0.4032, allocations: 133.1 kB / 0.6231 GB, free: 10.21 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00353/0.4068, allocations: 1.601 MB / 0.6246 GB, free: 8.547 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.4068, allocations: 0.5 kB / 0.6246 GB, free: 8.547 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002553/0.4093, allocations: 1.119 MB / 0.6257 GB, free: 7.371 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005897/0.41, allocations: 62.98 kB / 0.6258 GB, free: 7.305 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00215/0.4121, allocations: 1.262 MB / 0.627 GB, free: 6.02 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002736/0.4124, allocations: 0.9276 MB / 0.6279 GB, free: 5.062 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002059/0.4126, allocations: 56.95 kB / 0.628 GB, free: 5.008 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001288/0.4128, allocations: 55.42 kB / 0.628 GB, free: 4.957 MB / 430.1 MB Notification: Performance of SimCode: time 5.62e-07/0.4128, allocations: 0 / 0.628 GB, free: 4.957 MB / 430.1 MB Notification: Performance of Templates: time 0.02107/0.4338, allocations: 14.1 MB / 0.6418 GB, free: 6.852 MB / 446.1 MB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Branches.Generic.ULTC.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Branches.Generic.ULTC.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Branches.Generic.ULTC.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Branches.Generic.ULTC.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Branches.Generic.ULTC.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Branches.Generic.ULTC -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Branches.Generic.ULTC.pipe 2>&1)