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: "" <> buildModelFMU(OpenIPSL.Tests.Branches.Generic.ULTC,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Branches_Generic_ULTC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Branches.Generic.ULTC,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Branches_Generic_ULTC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001081/0.001081, allocations: 174.1 kB / 12.73 MB, free: 2.59 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.175/1.175, allocations: 221.4 MB / 234.6 MB, free: 14.44 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007652/0.0007653, allocations: 91.91 kB / 285.6 MB, free: 12.98 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4094/0.4094, allocations: 78.9 MB / 415.4 MB, free: 10.26 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.352e-05/3.361e-05, allocations: 8 kB / 492.9 MB, free: 13.01 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2798/0.2799, allocations: 69.49 MB / 0.5492 GB, free: 19.66 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1064/0.3863, allocations: 93.9 MB / 0.6409 GB, free: 5.711 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002451/0.3866, allocations: 79.94 kB / 0.641 GB, free: 5.633 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03544/0.422, allocations: 14.22 MB / 0.6549 GB, free: 7.293 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.4221, allocations: 0 / 0.6549 GB, free: 7.293 MB / 474.7 MB Notification: Performance of Transformations before backend: time 2.613e-05/0.4221, allocations: 20.16 kB / 0.6549 GB, free: 7.273 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.002716/0.4248, allocations: 1.135 MB / 0.656 GB, free: 6.09 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.276e-05/0.4249, allocations: 11.97 kB / 0.656 GB, free: 6.078 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001253/0.425, allocations: 110.5 kB / 0.6561 GB, free: 5.961 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001619/0.4267, allocations: 302.6 kB / 0.6564 GB, free: 5.664 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00059/0.4273, allocations: 442.8 kB / 0.6568 GB, free: 5.188 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002163/0.4275, allocations: 201.8 kB / 0.657 GB, free: 4.961 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.655e-05/0.4276, allocations: 56.28 kB / 0.6571 GB, free: 4.906 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001023/0.4286, allocations: 0.6 MB / 0.6577 GB, free: 4.301 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.401e-05/0.4286, allocations: 0 / 0.6577 GB, free: 4.301 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.52e-05/0.4287, allocations: 24 kB / 0.6577 GB, free: 4.277 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.166e-05/0.4287, allocations: 12 kB / 0.6577 GB, free: 4.266 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000948/0.4297, allocations: 0.5714 MB / 0.6582 GB, free: 3.691 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003624/0.4333, allocations: 2.187 MB / 0.6604 GB, free: 1.426 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007854/0.4412, allocations: 2.58 MB / 0.6629 GB, free: 14.73 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006378/0.4419, allocations: 391.6 kB / 0.6633 GB, free: 14.34 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.578e-05/0.442, allocations: 8.781 kB / 0.6633 GB, free: 14.33 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007289/0.4427, allocations: 446.1 kB / 0.6637 GB, free: 13.88 MB / 490.7 MB Notification: Performance of pre-optimization done (n=75): time 3.136e-06/0.4427, allocations: 0 / 0.6637 GB, free: 13.88 MB / 490.7 MB Notification: Performance of matching and sorting (n=75): time 0.006431/0.4491, allocations: 2.125 MB / 0.6658 GB, free: 11.74 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.035e-05/0.4492, allocations: 60.19 kB / 0.6658 GB, free: 11.67 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000553/0.4498, allocations: 441.1 kB / 0.6663 GB, free: 11.24 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 7.884e-05/0.4499, allocations: 41.7 kB / 0.6663 GB, free: 11.19 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002112/0.4501, allocations: 328.6 kB / 0.6666 GB, free: 10.86 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002174/0.4503, allocations: 248.4 kB / 0.6669 GB, free: 10.62 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.578e-05/0.4504, allocations: 16 kB / 0.6669 GB, free: 10.6 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001355/0.4505, allocations: 386.7 kB / 0.6672 GB, free: 10.21 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004919/0.451, allocations: 309.6 kB / 0.6675 GB, free: 9.91 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005493/0.4516, allocations: 413.1 kB / 0.6679 GB, free: 9.477 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005234/0.4521, allocations: 341.3 kB / 0.6683 GB, free: 9.148 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.4521, allocations: 0 / 0.6683 GB, free: 9.148 MB / 490.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.0063/0.4584, allocations: 2.262 MB / 0.6705 GB, free: 6.867 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.264e-05/0.4585, allocations: 13.72 kB / 0.6705 GB, free: 6.855 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.827e-06/0.4585, allocations: 0 / 0.6705 GB, free: 6.855 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003576/0.4621, allocations: 0.9683 MB / 0.6714 GB, free: 5.879 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006317/0.4627, allocations: 119.8 kB / 0.6715 GB, free: 5.762 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006608/0.4693, allocations: 3.717 MB / 0.6752 GB, free: 1.918 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008444/0.4702, allocations: 115.4 kB / 0.6753 GB, free: 1.805 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.584e-05/0.4703, allocations: 31.98 kB / 0.6753 GB, free: 1.773 MB / 490.7 MB Warning: Assuming fixed start value for the following 4 variables: ultc.y2l0:DISCRETE(fixed = false ) "Loop breaker for when-clauses" type: Boolean ultc.y3l0:DISCRETE(fixed = false ) "Loop breaker for when-clauses" type: Boolean load.xq:VARIABLE(start = 0.0 protected = true ) type: Real load.xp:VARIABLE(start = 0.0 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 () * 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.0002123/0.4705, allocations: 153.4 kB / 0.6755 GB, free: 1.617 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001115/0.4706, allocations: 75.06 kB / 0.6755 GB, free: 1.543 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2732/0.7439, allocations: 2.214 MB / 0.6777 GB, free: 112.4 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.83e-05/0.7439, allocations: 7.594 kB / 0.6777 GB, free: 112.4 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.744, allocations: 1.641 kB / 0.6777 GB, free: 112.4 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.466e-05/0.744, allocations: 4.047 kB / 0.6777 GB, free: 112.4 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008585/0.7526, allocations: 3.203 MB / 0.6808 GB, free: 111.9 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.567e-05/0.7527, allocations: 1.062 kB / 0.6808 GB, free: 111.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005239/0.7532, allocations: 81.5 kB / 0.6809 GB, free: 111.9 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003725/0.7569, allocations: 0.9587 MB / 0.6818 GB, free: 111.9 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001468/0.7571, allocations: 13.25 kB / 0.6819 GB, free: 111.9 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007193/0.7643, allocations: 3.678 MB / 0.6854 GB, free: 110.6 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.7644, allocations: 3.938 kB / 0.6854 GB, free: 110.6 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006438/0.7708, allocations: 2.696 MB / 0.6881 GB, free: 110.3 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001885/0.771, allocations: 151.2 kB / 0.6882 GB, free: 110.1 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.41e-05/0.7711, allocations: 16.06 kB / 0.6882 GB, free: 110.1 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005865/0.7717, allocations: 83.31 kB / 0.6883 GB, free: 110.1 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000368/0.7721, allocations: 157.6 kB / 0.6885 GB, free: 110.1 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.124e-05/0.7721, allocations: 23.22 kB / 0.6885 GB, free: 110.1 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0003139/0.7725, allocations: 340.5 kB / 0.6888 GB, free: 109.9 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.01e-07/0.7725, allocations: 0 / 0.6888 GB, free: 109.9 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0006694/0.7731, allocations: 283.4 kB / 0.6891 GB, free: 109.9 MB / 490.7 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) * 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.00642/0.7796, allocations: 3.271 MB / 0.6923 GB, free: 108.5 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002949/0.7826, allocations: 1.49 MB / 0.6937 GB, free: 107.7 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.7826, allocations: 0 / 0.6937 GB, free: 107.7 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002249/0.7848, allocations: 1.098 MB / 0.6948 GB, free: 107.2 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003968/0.7852, allocations: 44.64 kB / 0.6949 GB, free: 107.1 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001777/0.787, allocations: 1.047 MB / 0.6959 GB, free: 106.6 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002591/0.7873, allocations: 0.942 MB / 0.6968 GB, free: 105.9 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0001926/0.7875, allocations: 44.61 kB / 0.6968 GB, free: 105.9 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002481/0.7878, allocations: 256.8 kB / 0.6971 GB, free: 105.7 MB / 490.7 MB Notification: Performance of SimCode: time 6.11e-07/0.7878, allocations: 4 kB / 0.6971 GB, free: 105.7 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02736/0.8151, allocations: 18.32 MB / 0.715 GB, free: 92.02 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001294/0.8153, allocations: 165.5 kB / 0.7151 GB, free: 91.8 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.293/3.108, allocations: 3.938 kB / 0.7151 GB, free: 91.79 MB / 490.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Branches_Generic_ULTC_fmu --startTime=0 --stopTime=350 --timeout=50 --tolerance=0.0001 OpenIPSL_dev_OpenIPSL_Tests_Branches_Generic_ULTC.fmu > OpenIPSL_dev_OpenIPSL.Tests.Branches.Generic.ULTC.pipe 2>&1)