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: "" <> 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001194/0.001194, allocations: 99.55 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.342/1.342, allocations: 223.2 MB / 238.9 MB, free: 5.672 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.001021/0.001021, allocations: 196.5 kB / 290.2 MB, free: 2.359 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4339/0.4339, allocations: 79.45 MB / 420.7 MB, free: 4.035 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003784/0.0003785, allocations: 12 kB / 0.4891 GB, free: 5.508 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3089/0.3093, allocations: 69.51 MB / 0.557 GB, free: 37.78 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Branches.Generic.ULTC): time 0.003093/0.3125, allocations: 3.806 MB / 0.5607 GB, free: 37.53 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001564/0.314, allocations: 1.238 MB / 0.5619 GB, free: 37.36 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001916/0.3142, allocations: 8.844 kB / 0.5619 GB, free: 37.36 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002486/0.3145, allocations: 104.5 kB / 0.562 GB, free: 37.32 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004303/0.3149, allocations: 246.7 kB / 0.5622 GB, free: 37.3 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009314/0.3159, allocations: 477.2 kB / 0.5627 GB, free: 37.25 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005773/0.3165, allocations: 0.5327 MB / 0.5632 GB, free: 37.23 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002484/0.3167, allocations: 164.5 kB / 0.5634 GB, free: 37.19 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002334/0.317, allocations: 292.5 kB / 0.5636 GB, free: 37.12 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003764/0.3174, allocations: 357 kB / 0.564 GB, free: 37.04 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 6.753e-05/0.3174, allocations: 38.81 kB / 0.564 GB, free: 37.04 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002233/0.3177, allocations: 81.36 kB / 0.5641 GB, free: 37.04 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001013/0.3178, allocations: 135.1 kB / 0.5642 GB, free: 37.01 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001127/0.3179, allocations: 152.4 kB / 0.5644 GB, free: 36.95 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005383/0.3184, allocations: 0.6484 MB / 0.565 GB, free: 36.9 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.945e-06/0.3184, allocations: 0 / 0.565 GB, free: 36.9 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3185, allocations: 4.562 kB / 0.565 GB, free: 36.89 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.034e-05/0.3185, allocations: 0 / 0.565 GB, free: 36.89 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.003716/0.3222, allocations: 1.464 MB / 0.5664 GB, free: 36.27 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.3222, allocations: 10.53 kB / 0.5664 GB, free: 36.27 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001189/0.3224, allocations: 100.3 kB / 0.5665 GB, free: 36.23 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002456/0.3248, allocations: 428.7 kB / 0.567 GB, free: 36.19 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005641/0.3254, allocations: 489.8 kB / 0.5674 GB, free: 35.91 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001917/0.3256, allocations: 200.5 kB / 0.5676 GB, free: 35.75 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.021e-05/0.3257, allocations: 60.81 kB / 0.5677 GB, free: 35.75 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001297/0.327, allocations: 0.7247 MB / 0.5684 GB, free: 35.7 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.427e-05/0.327, allocations: 3.812 kB / 0.5684 GB, free: 35.7 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.941e-05/0.3271, allocations: 31.64 kB / 0.5684 GB, free: 35.7 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.295e-05/0.3271, allocations: 12.59 kB / 0.5684 GB, free: 35.7 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001297/0.3284, allocations: 0.723 MB / 0.5691 GB, free: 35.69 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.00333/0.3318, allocations: 2.385 MB / 0.5715 GB, free: 34.95 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007535/0.3393, allocations: 2.747 MB / 0.5741 GB, free: 34.15 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.375e-05/0.3394, allocations: 10.98 kB / 0.5742 GB, free: 34.15 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009998/0.3404, allocations: 0.5619 MB / 0.5747 GB, free: 33.94 MB / 430.1 MB Notification: Performance of pre-optimization done (n=75): time 2.385e-06/0.3404, allocations: 0 / 0.5747 GB, free: 33.94 MB / 430.1 MB Notification: Performance of matching and sorting (n=75): time 0.01278/0.3532, allocations: 4.328 MB / 0.5789 GB, free: 32.86 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.305e-05/0.3533, allocations: 60.06 kB / 0.579 GB, free: 32.8 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000498/0.3538, allocations: 0.5103 MB / 0.5795 GB, free: 32.56 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.139e-05/0.3539, allocations: 45.3 kB / 0.5795 GB, free: 32.52 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001522/0.354, allocations: 321.8 kB / 0.5798 GB, free: 32.26 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001615/0.3542, allocations: 253 kB / 0.5801 GB, free: 32.07 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.521e-05/0.3543, allocations: 15.06 kB / 0.5801 GB, free: 32.05 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.831e-05/0.3543, allocations: 380.2 kB / 0.5805 GB, free: 31.71 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007994/0.3551, allocations: 449.2 kB / 0.5809 GB, free: 31.56 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008713/0.356, allocations: 0.5368 MB / 0.5814 GB, free: 31.31 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009045/0.3569, allocations: 480.4 kB / 0.5819 GB, free: 31.12 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.3569, allocations: 1.125 kB / 0.5819 GB, free: 31.12 MB / 430.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.007254/0.3642, allocations: 2.648 MB / 0.5844 GB, free: 30.46 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.099e-05/0.3642, allocations: 6.438 kB / 0.5845 GB, free: 30.46 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/0.3643, allocations: 2.125 kB / 0.5845 GB, free: 30.46 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004046/0.3683, allocations: 1.184 MB / 0.5856 GB, free: 30.24 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004844/0.3688, allocations: 109.2 kB / 0.5857 GB, free: 30.23 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008558/0.3774, allocations: 4.677 MB / 0.5903 GB, free: 27.73 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007885/0.3782, allocations: 122.4 kB / 0.5904 GB, free: 27.68 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.759e-05/0.3783, allocations: 31.14 kB / 0.5904 GB, free: 27.68 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.0003272/0.3786, allocations: 200.1 kB / 0.5906 GB, free: 27.51 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001154/0.3787, allocations: 80.31 kB / 0.5907 GB, free: 27.46 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007169/0.3859, allocations: 2.594 MB / 0.5932 GB, free: 26.82 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.405e-05/0.3859, allocations: 10.03 kB / 0.5932 GB, free: 26.82 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.386, allocations: 3.422 kB / 0.5932 GB, free: 26.82 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.417e-05/0.386, allocations: 4.844 kB / 0.5932 GB, free: 26.82 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008426/0.3944, allocations: 3.612 MB / 0.5968 GB, free: 25.53 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.817e-06/0.3945, allocations: 0 / 0.5968 GB, free: 25.53 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000458/0.3949, allocations: 74.88 kB / 0.5968 GB, free: 25.52 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004201/0.3991, allocations: 1.185 MB / 0.598 GB, free: 25.3 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.85e-05/0.3992, allocations: 20.83 kB / 0.598 GB, free: 25.28 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008893/0.4081, allocations: 4.622 MB / 0.6025 GB, free: 22.8 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.4082, allocations: 0 / 0.6025 GB, free: 22.8 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00861/0.4168, allocations: 3.218 MB / 0.6057 GB, free: 21.84 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002139/0.417, allocations: 155.3 kB / 0.6058 GB, free: 21.7 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001053/0.4172, allocations: 15.19 kB / 0.6058 GB, free: 21.69 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006026/0.4178, allocations: 86.23 kB / 0.6059 GB, free: 21.67 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004082/0.4182, allocations: 155.8 kB / 0.6061 GB, free: 21.64 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.397e-05/0.4182, allocations: 19 kB / 0.6061 GB, free: 21.64 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003855/0.4186, allocations: 349.8 kB / 0.6064 GB, free: 21.48 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4186, allocations: 3.031 kB / 0.6064 GB, free: 21.48 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0008465/0.4195, allocations: 267.5 kB / 0.6067 GB, free: 21.44 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.008464/0.428, allocations: 3.786 MB / 0.6104 GB, free: 19.94 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003681/0.4317, allocations: 1.746 MB / 0.6121 GB, free: 18.53 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.4317, allocations: 4 kB / 0.6121 GB, free: 18.52 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002596/0.4343, allocations: 1.238 MB / 0.6133 GB, free: 17.38 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004063/0.4347, allocations: 57.91 kB / 0.6134 GB, free: 17.32 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01156/0.4463, allocations: 7.625 MB / 0.6208 GB, free: 10.5 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003365/0.4467, allocations: 0.9484 MB / 0.6217 GB, free: 9.605 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002155/0.4469, allocations: 60.94 kB / 0.6218 GB, free: 9.543 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002576/0.4471, allocations: 259.4 kB / 0.622 GB, free: 9.289 MB / 430.1 MB Notification: Performance of SimCode: time 7.21e-07/0.4472, allocations: 0 / 0.622 GB, free: 9.289 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02781/0.475, allocations: 18.26 MB / 0.6399 GB, free: 7.398 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001528/0.4752, allocations: 195.6 kB / 0.64 GB, free: 7.16 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.031/2.506, allocations: 2.734 kB / 0.6401 GB, free: 7.16 MB / 446.1 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) Environment - environmentSimulation: