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/Complex 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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/Complex 4.0.0+maint.om/package.mo): time 0.00529/0.00529, allocations: 172.8 kB / 15.12 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.186/1.186, allocations: 223.2 MB / 239 MB, free: 1.793 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009629/0.0009628, allocations: 91.95 kB / 290.2 MB, free: 13.94 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4078/0.4078, allocations: 79.44 MB / 420.8 MB, free: 43.66 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003245/0.0003245, allocations: 15.98 kB / 0.489 GB, free: 2.039 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3157/0.316, allocations: 69.5 MB / 0.5569 GB, free: 38.98 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1047/0.4208, allocations: 93.98 MB / 0.6487 GB, free: 11.63 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001979/0.421, allocations: 83.95 kB / 0.6488 GB, free: 11.55 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03395/0.455, allocations: 14.28 MB / 0.6627 GB, free: 13.2 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.455, allocations: 0 / 0.6627 GB, free: 13.2 MB / 474.7 MB Notification: Performance of Transformations before backend: time 2.75e-05/0.455, allocations: 13.53 kB / 0.6627 GB, free: 13.19 MB / 474.7 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.002659/0.4577, allocations: 1.228 MB / 0.6639 GB, free: 11.91 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.513e-05/0.4577, allocations: 11.97 kB / 0.6639 GB, free: 11.89 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001552/0.4593, allocations: 310.6 kB / 0.6642 GB, free: 11.59 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005317/0.4598, allocations: 438.8 kB / 0.6647 GB, free: 11.12 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002073/0.4601, allocations: 205.8 kB / 0.6648 GB, free: 10.89 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.765e-05/0.4602, allocations: 56.33 kB / 0.6649 GB, free: 10.83 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00134/0.4615, allocations: 0.7365 MB / 0.6656 GB, free: 10.09 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.327e-05/0.4615, allocations: 0 / 0.6656 GB, free: 10.09 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.526e-05/0.4616, allocations: 23.98 kB / 0.6656 GB, free: 10.07 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.165e-05/0.4616, allocations: 12 kB / 0.6657 GB, free: 10.05 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00134/0.463, allocations: 0.7273 MB / 0.6664 GB, free: 9.324 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003388/0.4664, allocations: 2.183 MB / 0.6685 GB, free: 7.066 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00763/0.474, allocations: 2.747 MB / 0.6712 GB, free: 4.203 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.987e-05/0.4741, allocations: 12.64 kB / 0.6712 GB, free: 4.191 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001045/0.4752, allocations: 0.5704 MB / 0.6717 GB, free: 3.609 MB / 474.7 MB Notification: Performance of pre-optimization done (n=75): time 2.415e-06/0.4752, allocations: 0 / 0.6717 GB, free: 3.609 MB / 474.7 MB Notification: Performance of matching and sorting (n=75): time 0.01295/0.4881, allocations: 4.29 MB / 0.6759 GB, free: 15.25 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.339e-05/0.4882, allocations: 60.06 kB / 0.676 GB, free: 15.18 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005457/0.4888, allocations: 450.3 kB / 0.6764 GB, free: 14.73 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 7.179e-05/0.4888, allocations: 49.7 kB / 0.6765 GB, free: 14.68 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002038/0.489, allocations: 320.6 kB / 0.6768 GB, free: 14.36 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002053/0.4893, allocations: 252.5 kB / 0.677 GB, free: 14.11 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.452e-05/0.4893, allocations: 16 kB / 0.677 GB, free: 14.09 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000134/0.4895, allocations: 386.7 kB / 0.6774 GB, free: 13.7 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008342/0.4903, allocations: 441.8 kB / 0.6778 GB, free: 13.27 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000872/0.4912, allocations: 0.5419 MB / 0.6784 GB, free: 12.7 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008519/0.492, allocations: 472.3 kB / 0.6788 GB, free: 12.24 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.4921, allocations: 0 / 0.6788 GB, free: 12.24 MB / 490.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.007011/0.4991, allocations: 2.647 MB / 0.6814 GB, free: 9.574 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.178e-05/0.4991, allocations: 4.625 kB / 0.6814 GB, free: 9.57 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.488e-06/0.4991, allocations: 4 kB / 0.6814 GB, free: 9.566 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003965/0.5031, allocations: 1.192 MB / 0.6826 GB, free: 8.367 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005223/0.5036, allocations: 111.8 kB / 0.6827 GB, free: 8.258 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008765/0.5124, allocations: 4.662 MB / 0.6872 GB, free: 3.469 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008031/0.5132, allocations: 127.3 kB / 0.6873 GB, free: 3.344 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.943e-05/0.5133, allocations: 27.98 kB / 0.6874 GB, free: 3.316 MB / 490.7 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.0003638/0.5137, allocations: 200.9 kB / 0.6876 GB, free: 3.113 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001117/0.5138, allocations: 75.06 kB / 0.6876 GB, free: 3.039 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007099/0.5209, allocations: 2.599 MB / 0.6902 GB, free: 424 kB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.834e-06/0.5209, allocations: 8 kB / 0.6902 GB, free: 416 kB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.5209, allocations: 0 / 0.6902 GB, free: 416 kB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.775e-06/0.5209, allocations: 3.984 kB / 0.6902 GB, free: 412 kB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007986/0.5289, allocations: 3.587 MB / 0.6937 GB, free: 12.72 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.479e-06/0.529, allocations: 0 / 0.6937 GB, free: 12.72 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004154/0.5294, allocations: 83.8 kB / 0.6938 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003857/0.5332, allocations: 1.177 MB / 0.6949 GB, free: 11.45 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.954e-05/0.5333, allocations: 16 kB / 0.6949 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008497/0.5418, allocations: 4.633 MB / 0.6995 GB, free: 6.672 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.5419, allocations: 4.031 kB / 0.6995 GB, free: 6.668 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008129/0.55, allocations: 3.197 MB / 0.7026 GB, free: 3.445 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002639/0.5503, allocations: 152.1 kB / 0.7027 GB, free: 3.277 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.854e-05/0.5504, allocations: 19.98 kB / 0.7027 GB, free: 3.258 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006003/0.551, allocations: 75.94 kB / 0.7028 GB, free: 3.184 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003872/0.5514, allocations: 160.4 kB / 0.703 GB, free: 3.023 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.27e-05/0.5515, allocations: 16 kB / 0.703 GB, free: 3.008 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0003951/0.5519, allocations: 350.8 kB / 0.7033 GB, free: 2.668 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5519, allocations: 0 / 0.7033 GB, free: 2.668 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0008365/0.5527, allocations: 283.7 kB / 0.7036 GB, free: 2.391 MB / 0.4948 GB 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.0002384/0.553, allocations: 139.8 kB / 0.7037 GB, free: 2.242 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0039/0.5569, allocations: 1.759 MB / 0.7054 GB, free: 444 kB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.5569, allocations: 0.5 kB / 0.7054 GB, free: 444 kB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.002759/0.5596, allocations: 1.228 MB / 0.7066 GB, free: 15.15 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003407/0.56, allocations: 43 kB / 0.7067 GB, free: 15.11 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002227/0.5622, allocations: 1.506 MB / 0.7082 GB, free: 13.59 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004636/0.5627, allocations: 0.9505 MB / 0.7091 GB, free: 12.61 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0002091/0.5629, allocations: 44.45 kB / 0.7091 GB, free: 12.56 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001205/0.5631, allocations: 35.44 kB / 0.7092 GB, free: 12.53 MB / 0.5105 GB Notification: Performance of SimCode: time 6.91e-07/0.5631, allocations: 4 kB / 0.7092 GB, free: 12.52 MB / 0.5105 GB Notification: Performance of Templates: time 0.01733/0.5804, allocations: 12.06 MB / 0.7209 GB, free: 480 kB / 0.5105 GB 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)