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.001092/0.001092, allocations: 109.2 kB / 16.37 MB, free: 6.473 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.273/1.273, allocations: 222.9 MB / 240 MB, free: 4.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.001168/0.001168, allocations: 184.5 kB / 290.3 MB, free: 2.316 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.485/0.485, allocations: 91.89 MB / 432.4 MB, free: 9.211 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001382/0.001382, allocations: 75.89 kB / 0.5033 GB, free: 7.012 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3186/0.32, allocations: 71.27 MB / 0.5729 GB, free: 37.25 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Branches.Generic.ULTC): time 0.004354/0.3244, allocations: 4.373 MB / 0.5772 GB, free: 34.86 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002006/0.3265, allocations: 1.258 MB / 0.5784 GB, free: 33.97 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004445/0.3269, allocations: 6.5 kB / 0.5784 GB, free: 33.97 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004057/0.3274, allocations: 143.3 kB / 0.5785 GB, free: 33.89 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005851/0.328, allocations: 227.9 kB / 0.5787 GB, free: 33.73 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001064/0.329, allocations: 0.5831 MB / 0.5793 GB, free: 33.4 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005942/0.3296, allocations: 0.806 MB / 0.5801 GB, free: 32.98 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002523/0.3299, allocations: 206.1 kB / 0.5803 GB, free: 32.89 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002159/0.3301, allocations: 336.6 kB / 0.5806 GB, free: 32.73 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003436/0.3305, allocations: 416.5 kB / 0.581 GB, free: 32.52 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 7.072e-05/0.3306, allocations: 61.69 kB / 0.5811 GB, free: 32.52 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002325/0.3308, allocations: 134.1 kB / 0.5812 GB, free: 32.49 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 9.343e-05/0.3309, allocations: 167.9 kB / 0.5814 GB, free: 32.38 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002254/0.3311, allocations: 396.4 kB / 0.5817 GB, free: 32.12 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006085/0.3317, allocations: 0.9227 MB / 0.5826 GB, free: 31.7 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.3318, allocations: 0 / 0.5826 GB, free: 31.7 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3318, allocations: 2.469 kB / 0.5826 GB, free: 31.7 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.588e-06/0.3318, allocations: 0 / 0.5826 GB, free: 31.7 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.003568/0.3354, allocations: 1.568 MB / 0.5842 GB, free: 30.88 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.405e-05/0.3354, allocations: 11.53 kB / 0.5842 GB, free: 30.88 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002328/0.3377, allocations: 424.7 kB / 0.5846 GB, free: 30.8 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004954/0.3382, allocations: 0.5047 MB / 0.5851 GB, free: 30.4 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001611/0.3384, allocations: 200.2 kB / 0.5853 GB, free: 30.22 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.579e-05/0.3385, allocations: 52.95 kB / 0.5853 GB, free: 30.2 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001138/0.3396, allocations: 0.7006 MB / 0.586 GB, free: 29.93 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/0.3397, allocations: 0 / 0.586 GB, free: 29.93 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.67e-05/0.3397, allocations: 20.16 kB / 0.586 GB, free: 29.92 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.065e-05/0.3397, allocations: 16.69 kB / 0.586 GB, free: 29.91 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001232/0.341, allocations: 0.6868 MB / 0.5867 GB, free: 29.69 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003058/0.3441, allocations: 2.137 MB / 0.5888 GB, free: 28.49 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007095/0.3512, allocations: 2.273 MB / 0.591 GB, free: 27.54 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001051/0.3523, allocations: 483.4 kB / 0.5915 GB, free: 27.36 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.645e-05/0.3524, allocations: 7.75 kB / 0.5915 GB, free: 27.36 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001218/0.3536, allocations: 0.5316 MB / 0.592 GB, free: 27.14 MB / 430.1 MB Notification: Performance of pre-optimization done (n=75): time 3.767e-06/0.3536, allocations: 0 / 0.592 GB, free: 27.14 MB / 430.1 MB Notification: Performance of matching and sorting (n=75): time 0.01255/0.3662, allocations: 3.603 MB / 0.5955 GB, free: 26.14 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.803e-05/0.3662, allocations: 60.48 kB / 0.5956 GB, free: 26.08 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005895/0.3668, allocations: 0.5157 MB / 0.5961 GB, free: 25.84 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.441e-05/0.3669, allocations: 39.78 kB / 0.5961 GB, free: 25.8 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000163/0.3671, allocations: 322.8 kB / 0.5964 GB, free: 25.54 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001695/0.3672, allocations: 248.4 kB / 0.5967 GB, free: 25.35 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002182/0.3675, allocations: 129.2 kB / 0.5968 GB, free: 25.28 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.393e-05/0.3676, allocations: 384.6 kB / 0.5972 GB, free: 24.93 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007743/0.3684, allocations: 402.4 kB / 0.5976 GB, free: 24.79 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008402/0.3692, allocations: 0.5067 MB / 0.598 GB, free: 24.54 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008452/0.3777, allocations: 2.525 MB / 0.6005 GB, free: 23.77 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.574e-06/0.3777, allocations: 2 kB / 0.6005 GB, free: 23.77 MB / 430.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.006821/0.3845, allocations: 2.24 MB / 0.6027 GB, free: 23.15 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.31e-05/0.3846, allocations: 6.875 kB / 0.6027 GB, free: 23.15 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.148e-05/0.3846, allocations: 5.312 kB / 0.6027 GB, free: 23.15 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003729/0.3883, allocations: 0.9978 MB / 0.6037 GB, free: 22.95 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005381/0.3889, allocations: 109.3 kB / 0.6038 GB, free: 22.94 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008366/0.3973, allocations: 4.509 MB / 0.6082 GB, free: 20.32 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008083/0.3981, allocations: 102.2 kB / 0.6083 GB, free: 20.27 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.39e-05/0.3982, allocations: 28.36 kB / 0.6083 GB, free: 20.26 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.0003274/0.3985, allocations: 216.1 kB / 0.6085 GB, free: 20.08 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001057/0.3986, allocations: 76.2 kB / 0.6086 GB, free: 20.04 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006665/0.4053, allocations: 2.181 MB / 0.6107 GB, free: 19.44 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.174e-05/0.4053, allocations: 7.5 kB / 0.6107 GB, free: 19.44 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.69e-06/0.4053, allocations: 1.344 kB / 0.6107 GB, free: 19.44 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.588e-05/0.4054, allocations: 3.891 kB / 0.6107 GB, free: 19.44 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007944/0.4133, allocations: 3.19 MB / 0.6139 GB, free: 18.18 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.198e-06/0.4134, allocations: 0.75 kB / 0.6139 GB, free: 18.18 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004398/0.4138, allocations: 76.31 kB / 0.6139 GB, free: 18.17 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003462/0.4173, allocations: 1.002 MB / 0.6149 GB, free: 17.7 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.205e-05/0.4174, allocations: 15.62 kB / 0.6149 GB, free: 17.68 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007608/0.425, allocations: 4.458 MB / 0.6193 GB, free: 14.21 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.425, allocations: 4 kB / 0.6193 GB, free: 14.2 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006635/0.4317, allocations: 2.757 MB / 0.622 GB, free: 11.42 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002182/0.4319, allocations: 156 kB / 0.6221 GB, free: 11.25 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.902e-05/0.432, allocations: 16 kB / 0.6221 GB, free: 11.23 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005432/0.4326, allocations: 63.86 kB / 0.6222 GB, free: 11.17 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003684/0.433, allocations: 156.4 kB / 0.6223 GB, free: 11.02 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.976e-05/0.433, allocations: 16 kB / 0.6224 GB, free: 11 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003078/0.4333, allocations: 354.8 kB / 0.6227 GB, free: 10.66 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4333, allocations: 0 / 0.6227 GB, free: 10.66 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0007518/0.4341, allocations: 267.7 kB / 0.623 GB, free: 10.4 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.0001723/0.4343, allocations: 129.4 kB / 0.6231 GB, free: 10.26 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003331/0.4376, allocations: 1.601 MB / 0.6246 GB, free: 8.602 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.4376, allocations: 0 / 0.6246 GB, free: 8.602 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002368/0.44, allocations: 1.127 MB / 0.6257 GB, free: 7.418 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004911/0.4405, allocations: 62.06 kB / 0.6258 GB, free: 7.355 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001876/0.4424, allocations: 1.264 MB / 0.627 GB, free: 6.066 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002418/0.4426, allocations: 0.9276 MB / 0.6279 GB, free: 5.109 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001783/0.4428, allocations: 56.94 kB / 0.628 GB, free: 5.055 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001169/0.4429, allocations: 47.44 kB / 0.628 GB, free: 5.012 MB / 430.1 MB Notification: Performance of SimCode: time 5.31e-07/0.443, allocations: 0 / 0.628 GB, free: 5.012 MB / 430.1 MB Notification: Performance of Templates: time 0.01903/0.462, allocations: 14.11 MB / 0.6418 GB, free: 6.898 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 cvode -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Branches.Generic.ULTC.pipe 2>&1)