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.000846/0.0008458, allocations: 87.3 kB / 15.06 MB, free: 1.082 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.257/1.257, allocations: 223.3 MB / 239 MB, free: 5.594 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.001005/0.001005, allocations: 176.5 kB / 290.3 MB, free: 2.281 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4908/0.4908, allocations: 91.92 MB / 433.3 MB, free: 10.41 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003345/0.0003346, allocations: 16 kB / 0.5042 GB, free: 7.652 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2927/0.2931, allocations: 72.47 MB / 0.5749 GB, free: 36.41 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Branches.Generic.ULTC): time 0.003045/0.2962, allocations: 4.007 MB / 0.5788 GB, free: 34.12 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00184/0.298, allocations: 1.215 MB / 0.58 GB, free: 33.25 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004536/0.2985, allocations: 11.66 kB / 0.58 GB, free: 33.25 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003384/0.2989, allocations: 103.5 kB / 0.5801 GB, free: 33.2 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005532/0.2994, allocations: 206.9 kB / 0.5803 GB, free: 33.06 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001107/0.3005, allocations: 482.7 kB / 0.5808 GB, free: 32.78 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006919/0.3012, allocations: 0.7421 MB / 0.5815 GB, free: 32.39 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002846/0.3015, allocations: 165.2 kB / 0.5817 GB, free: 32.31 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003111/0.3019, allocations: 285.9 kB / 0.582 GB, free: 32.18 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004392/0.3023, allocations: 368.8 kB / 0.5823 GB, free: 32.01 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 7.023e-05/0.3024, allocations: 34.59 kB / 0.5823 GB, free: 32.01 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002433/0.3026, allocations: 96.16 kB / 0.5824 GB, free: 31.99 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 8.081e-05/0.3027, allocations: 133 kB / 0.5826 GB, free: 31.91 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001185/0.3028, allocations: 154.3 kB / 0.5827 GB, free: 31.81 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000446/0.3033, allocations: 0.6774 MB / 0.5834 GB, free: 31.59 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.3033, allocations: 0.5312 kB / 0.5834 GB, free: 31.59 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.3033, allocations: 3.969 kB / 0.5834 GB, free: 31.59 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.196e-05/0.3033, allocations: 0 / 0.5834 GB, free: 31.59 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.003246/0.3066, allocations: 1.467 MB / 0.5848 GB, free: 30.86 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.598e-05/0.3066, allocations: 7.781 kB / 0.5848 GB, free: 30.86 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002205/0.3088, allocations: 423.4 kB / 0.5852 GB, free: 30.78 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004784/0.3093, allocations: 486.2 kB / 0.5857 GB, free: 30.42 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001667/0.3095, allocations: 209.4 kB / 0.5859 GB, free: 30.23 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.457e-05/0.3096, allocations: 49.66 kB / 0.5859 GB, free: 30.22 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001152/0.3108, allocations: 0.7358 MB / 0.5866 GB, free: 29.95 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.33e-05/0.3108, allocations: 7.938 kB / 0.5866 GB, free: 29.95 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.575e-05/0.3108, allocations: 22.8 kB / 0.5867 GB, free: 29.93 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.457e-06/0.3108, allocations: 14.47 kB / 0.5867 GB, free: 29.93 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001194/0.312, allocations: 0.7257 MB / 0.5874 GB, free: 29.69 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002983/0.315, allocations: 2.184 MB / 0.5895 GB, free: 28.48 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006777/0.3218, allocations: 2.745 MB / 0.5922 GB, free: 27.47 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008588/0.3227, allocations: 0.5099 MB / 0.5927 GB, free: 27.29 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.672e-05/0.3228, allocations: 12.22 kB / 0.5927 GB, free: 27.29 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009833/0.3238, allocations: 0.5612 MB / 0.5933 GB, free: 27.08 MB / 430.1 MB Notification: Performance of pre-optimization done (n=75): time 2.474e-06/0.3238, allocations: 0 / 0.5933 GB, free: 27.08 MB / 430.1 MB Notification: Performance of matching and sorting (n=75): time 0.01185/0.3356, allocations: 4.322 MB / 0.5975 GB, free: 26.01 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.296e-05/0.3357, allocations: 59.56 kB / 0.5975 GB, free: 25.95 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004986/0.3362, allocations: 0.5194 MB / 0.5981 GB, free: 25.7 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.114e-05/0.3363, allocations: 41.89 kB / 0.5981 GB, free: 25.66 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001651/0.3364, allocations: 319.4 kB / 0.5984 GB, free: 25.4 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001685/0.3366, allocations: 252.3 kB / 0.5986 GB, free: 25.2 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.463e-05/0.3367, allocations: 15.06 kB / 0.5986 GB, free: 25.19 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.206e-05/0.3368, allocations: 384.1 kB / 0.599 GB, free: 24.85 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008097/0.3376, allocations: 446.3 kB / 0.5994 GB, free: 24.7 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008891/0.3385, allocations: 0.54 MB / 0.6 GB, free: 24.45 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008178/0.3393, allocations: 478.9 kB / 0.6004 GB, free: 24.26 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.3393, allocations: 0 / 0.6004 GB, free: 24.26 MB / 430.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.006485/0.3458, allocations: 2.651 MB / 0.603 GB, free: 23.59 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.3458, allocations: 6.594 kB / 0.603 GB, free: 23.59 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/0.3458, allocations: 3.422 kB / 0.603 GB, free: 23.59 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003594/0.3494, allocations: 1.183 MB / 0.6042 GB, free: 23.37 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000441/0.3499, allocations: 111.8 kB / 0.6043 GB, free: 23.36 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00764/0.3575, allocations: 4.475 MB / 0.6087 GB, free: 20.93 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007014/0.3583, allocations: 128.9 kB / 0.6088 GB, free: 20.87 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.562e-05/0.3583, allocations: 27.8 kB / 0.6088 GB, free: 20.86 MB / 430.1 MB Warning: Assuming fixed start value for the following 4 variables: ultc.y2l0:DISCRETE(fixed = true ) "Loop breaker for when-clauses" type: Boolean ultc.y3l0:DISCRETE(fixed = true ) "Loop breaker for when-clauses" type: Boolean load.xq:VARIABLE(start = 0.0 fixed = true protected = true ) type: Real load.xp: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 ($whenCondition1,$whenCondition2,$PRE.ultc.y2l0,$PRE.ultc.y3l0,ultc.zeroCrossing.y,$PRE.ultc.zeroCrossing.disable,ultc.zeroCrossing.disable,$PRE.ultc.zeroCrossing.u_pos,ultc.zeroCrossing.u_pos,$PRE.ultc.zeroCrossing.enable,ultc.zeroCrossing.enable,$PRE.ultc.m,ultc.m,ultc.y2l0,ultc.y3l0) * 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 (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {10 11} Notification: Performance of prepare postOptimizeDAE: time 0.0002938/0.3586, allocations: 203.7 kB / 0.609 GB, free: 20.69 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.381e-05/0.3587, allocations: 72.89 kB / 0.6091 GB, free: 20.66 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006545/0.3653, allocations: 2.601 MB / 0.6116 GB, free: 20 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.226e-06/0.3653, allocations: 8.141 kB / 0.6116 GB, free: 20 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.3653, allocations: 1.344 kB / 0.6116 GB, free: 20 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.708e-06/0.3653, allocations: 4.172 kB / 0.6116 GB, free: 20 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007445/0.3728, allocations: 3.618 MB / 0.6152 GB, free: 18.69 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.539e-06/0.3728, allocations: 0 / 0.6152 GB, free: 18.69 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003769/0.3732, allocations: 78.52 kB / 0.6152 GB, free: 18.68 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003496/0.3767, allocations: 1.182 MB / 0.6164 GB, free: 18.23 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.49e-05/0.3768, allocations: 25.23 kB / 0.6164 GB, free: 18.21 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007205/0.384, allocations: 4.432 MB / 0.6207 GB, free: 14.16 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.384, allocations: 0 / 0.6207 GB, free: 14.16 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006631/0.3907, allocations: 3.226 MB / 0.6239 GB, free: 10.91 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00012/0.3908, allocations: 156 kB / 0.624 GB, free: 10.74 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.106e-05/0.3909, allocations: 16 kB / 0.6241 GB, free: 10.73 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005058/0.3914, allocations: 75.94 kB / 0.6241 GB, free: 10.65 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003126/0.3917, allocations: 156.4 kB / 0.6243 GB, free: 10.5 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.532e-05/0.3918, allocations: 20 kB / 0.6243 GB, free: 10.48 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002862/0.3921, allocations: 350.8 kB / 0.6246 GB, free: 10.14 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3921, allocations: 0 / 0.6246 GB, free: 10.14 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0007025/0.3928, allocations: 267.8 kB / 0.6249 GB, free: 9.879 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 (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {10 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001427/0.3929, allocations: 118.3 kB / 0.625 GB, free: 9.758 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003103/0.396, allocations: 1.753 MB / 0.6267 GB, free: 7.945 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.396, allocations: 0 / 0.6267 GB, free: 7.945 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002201/0.3983, allocations: 1.248 MB / 0.6279 GB, free: 6.645 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004216/0.3987, allocations: 61.95 kB / 0.628 GB, free: 6.582 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00166/0.4004, allocations: 1.5 MB / 0.6294 GB, free: 5.059 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002197/0.4006, allocations: 0.9353 MB / 0.6304 GB, free: 4.098 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001942/0.4008, allocations: 60.94 kB / 0.6304 GB, free: 4.039 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001143/0.4009, allocations: 47.42 kB / 0.6305 GB, free: 3.996 MB / 430.1 MB Notification: Performance of SimCode: time 2.2e-07/0.4009, allocations: 0 / 0.6305 GB, free: 3.996 MB / 430.1 MB Notification: Performance of Templates: time 0.01603/0.4169, allocations: 12.09 MB / 0.6423 GB, free: 7.906 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 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Branches.Generic.ULTC.pipe 2>&1)