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.000908/0.000908, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.283/1.283, allocations: 223.2 MB / 238.9 MB, free: 5.637 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.001329/0.001329, allocations: 181.1 kB / 290.2 MB, free: 2.324 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4451/0.4451, allocations: 79.45 MB / 420.7 MB, free: 4.008 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003707/0.0003707, allocations: 12 kB / 0.489 GB, free: 5.633 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1206/0.121, allocations: 69.52 MB / 0.5569 GB, free: 60 kB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Branches.Generic.ULTC): time 0.1968/0.3178, allocations: 3.808 MB / 0.5606 GB, free: 38.11 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001498/0.3193, allocations: 1.233 MB / 0.5618 GB, free: 37.95 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001837/0.3195, allocations: 7.344 kB / 0.5618 GB, free: 37.95 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002448/0.3198, allocations: 115.6 kB / 0.5619 GB, free: 37.9 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003926/0.3202, allocations: 240 kB / 0.5621 GB, free: 37.88 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008486/0.321, allocations: 473.2 kB / 0.5626 GB, free: 37.84 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005074/0.3216, allocations: 0.5299 MB / 0.5631 GB, free: 37.81 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002308/0.3218, allocations: 165.5 kB / 0.5633 GB, free: 37.77 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002146/0.322, allocations: 290.5 kB / 0.5635 GB, free: 37.71 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003272/0.3223, allocations: 362 kB / 0.5639 GB, free: 37.62 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.968e-05/0.3224, allocations: 34 kB / 0.5639 GB, free: 37.62 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000209/0.3226, allocations: 87.48 kB / 0.564 GB, free: 37.62 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 9.356e-05/0.3227, allocations: 132 kB / 0.5641 GB, free: 37.59 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001135/0.3229, allocations: 154.1 kB / 0.5643 GB, free: 37.54 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005012/0.3234, allocations: 0.6455 MB / 0.5649 GB, free: 37.48 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.044e-06/0.3234, allocations: 0 / 0.5649 GB, free: 37.48 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3234, allocations: 0 / 0.5649 GB, free: 37.48 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.285e-06/0.3234, allocations: 0 / 0.5649 GB, free: 37.48 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.003528/0.3269, allocations: 1.466 MB / 0.5663 GB, free: 36.86 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.024e-05/0.327, allocations: 9.656 kB / 0.5664 GB, free: 36.86 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002341/0.3293, allocations: 429.3 kB / 0.5668 GB, free: 36.81 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005071/0.3298, allocations: 484.4 kB / 0.5672 GB, free: 36.54 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001743/0.33, allocations: 203.5 kB / 0.5674 GB, free: 36.38 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.306e-05/0.3301, allocations: 54.97 kB / 0.5675 GB, free: 36.38 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001239/0.3313, allocations: 0.7327 MB / 0.5682 GB, free: 36.33 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.488e-05/0.3314, allocations: 1.406 kB / 0.5682 GB, free: 36.33 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.672e-05/0.3314, allocations: 27.7 kB / 0.5682 GB, free: 36.32 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.027e-05/0.3315, allocations: 11.78 kB / 0.5682 GB, free: 36.32 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001245/0.3327, allocations: 0.7241 MB / 0.5689 GB, free: 36.32 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.003162/0.3359, allocations: 2.389 MB / 0.5713 GB, free: 35.57 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007203/0.3431, allocations: 2.747 MB / 0.5739 GB, free: 34.6 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.609e-05/0.3432, allocations: 10.64 kB / 0.574 GB, free: 34.6 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009601/0.3441, allocations: 0.5637 MB / 0.5745 GB, free: 34.38 MB / 430.1 MB Notification: Performance of pre-optimization done (n=75): time 2.645e-06/0.3441, allocations: 0 / 0.5745 GB, free: 34.38 MB / 430.1 MB Notification: Performance of matching and sorting (n=75): time 0.01219/0.3563, allocations: 4.325 MB / 0.5787 GB, free: 33.32 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.994e-05/0.3564, allocations: 60.12 kB / 0.5788 GB, free: 33.25 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004261/0.3568, allocations: 0.5084 MB / 0.5793 GB, free: 33.01 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.58e-05/0.3569, allocations: 44.31 kB / 0.5793 GB, free: 32.97 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001484/0.357, allocations: 320.3 kB / 0.5796 GB, free: 32.71 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001515/0.3572, allocations: 251 kB / 0.5799 GB, free: 32.52 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.285e-05/0.3572, allocations: 15 kB / 0.5799 GB, free: 32.51 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.759e-05/0.3573, allocations: 388.6 kB / 0.5803 GB, free: 32.16 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007886/0.3581, allocations: 446.9 kB / 0.5807 GB, free: 32.02 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008752/0.359, allocations: 0.5351 MB / 0.5812 GB, free: 31.77 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008719/0.3599, allocations: 478.3 kB / 0.5817 GB, free: 31.57 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.3599, allocations: 1.188 kB / 0.5817 GB, free: 31.57 MB / 430.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.006984/0.3669, allocations: 2.656 MB / 0.5843 GB, free: 30.91 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.196e-05/0.3669, allocations: 5.281 kB / 0.5843 GB, free: 30.91 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.156e-05/0.3669, allocations: 3.734 kB / 0.5843 GB, free: 30.91 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00393/0.3709, allocations: 1.183 MB / 0.5854 GB, free: 30.69 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004825/0.3714, allocations: 114.4 kB / 0.5855 GB, free: 30.68 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008615/0.38, allocations: 4.667 MB / 0.5901 GB, free: 28.2 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00079/0.3808, allocations: 130.7 kB / 0.5902 GB, free: 28.14 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.826e-05/0.3809, allocations: 30.17 kB / 0.5902 GB, free: 28.13 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.000317/0.3812, allocations: 206.3 kB / 0.5904 GB, free: 27.96 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.946e-05/0.3813, allocations: 72.59 kB / 0.5905 GB, free: 27.92 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006987/0.3883, allocations: 2.595 MB / 0.593 GB, free: 27.28 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.666e-06/0.3883, allocations: 8.25 kB / 0.593 GB, free: 27.28 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.107e-06/0.3883, allocations: 8.812 kB / 0.5931 GB, free: 27.27 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.456e-06/0.3883, allocations: 4.562 kB / 0.5931 GB, free: 27.27 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008072/0.3964, allocations: 3.607 MB / 0.5966 GB, free: 25.98 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.329e-06/0.3964, allocations: 0 / 0.5966 GB, free: 25.98 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004099/0.3969, allocations: 82.91 kB / 0.5967 GB, free: 25.97 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004027/0.4009, allocations: 1.176 MB / 0.5978 GB, free: 25.75 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.778e-05/0.401, allocations: 13.86 kB / 0.5978 GB, free: 25.74 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00856/0.4095, allocations: 4.631 MB / 0.6023 GB, free: 23.25 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.4096, allocations: 0.7969 kB / 0.6023 GB, free: 23.25 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008403/0.418, allocations: 3.221 MB / 0.6055 GB, free: 22.29 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000214/0.4182, allocations: 153.2 kB / 0.6056 GB, free: 22.15 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001012/0.4183, allocations: 16.3 kB / 0.6057 GB, free: 22.14 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000591/0.4189, allocations: 77.09 kB / 0.6057 GB, free: 22.12 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004346/0.4194, allocations: 157.4 kB / 0.6059 GB, free: 22.1 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.304e-05/0.4194, allocations: 18.22 kB / 0.6059 GB, free: 22.1 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003891/0.4198, allocations: 350.1 kB / 0.6062 GB, free: 21.94 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4198, allocations: 0 / 0.6062 GB, free: 21.94 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0008712/0.4207, allocations: 271.5 kB / 0.6065 GB, free: 21.89 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.0001754/0.4209, allocations: 124.6 kB / 0.6066 GB, free: 21.79 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004157/0.4251, allocations: 1.751 MB / 0.6083 GB, free: 21.04 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.4251, allocations: 0 / 0.6083 GB, free: 21.04 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002859/0.4279, allocations: 1.233 MB / 0.6095 GB, free: 20.46 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003929/0.4283, allocations: 52.39 kB / 0.6096 GB, free: 20.42 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002476/0.4308, allocations: 1.524 MB / 0.6111 GB, free: 19.38 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003927/0.4312, allocations: 0.9403 MB / 0.612 GB, free: 18.52 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002175/0.4315, allocations: 64.42 kB / 0.612 GB, free: 18.47 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001276/0.4316, allocations: 49.83 kB / 0.6121 GB, free: 18.43 MB / 430.1 MB Notification: Performance of SimCode: time 5.72e-07/0.4316, allocations: 0 / 0.6121 GB, free: 18.43 MB / 430.1 MB Notification: Performance of Templates: time 0.01555/0.4472, allocations: 12.08 MB / 0.6239 GB, free: 7.777 MB / 430.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)