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.001616/0.001616, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.452/1.452, allocations: 222.9 MB / 238.9 MB, free: 4.766 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.001744/0.001744, allocations: 192.4 kB / 289.1 MB, free: 2.508 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5395/0.5395, allocations: 91.9 MB / 431.2 MB, free: 9.441 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001687/0.001687, allocations: 83.86 kB / 0.5013 GB, free: 8.062 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.411/0.4127, allocations: 71.26 MB / 0.5709 GB, free: 36.3 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Branches.Generic.ULTC): time 0.004333/0.4171, allocations: 4.662 MB / 0.5755 GB, free: 33.71 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002301/0.4194, allocations: 1.279 MB / 0.5767 GB, free: 33.16 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002758/0.4197, allocations: 5.25 kB / 0.5767 GB, free: 33.16 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003527/0.4201, allocations: 115.6 kB / 0.5768 GB, free: 33.12 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004415/0.4206, allocations: 188.2 kB / 0.577 GB, free: 33 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001069/0.4216, allocations: 0.5547 MB / 0.5775 GB, free: 32.67 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.000574/0.4222, allocations: 0.767 MB / 0.5783 GB, free: 32.28 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002613/0.4225, allocations: 176.9 kB / 0.5785 GB, free: 32.2 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002185/0.4227, allocations: 314.2 kB / 0.5788 GB, free: 32.05 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003481/0.4231, allocations: 398.8 kB / 0.5791 GB, free: 31.86 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 7.585e-05/0.4232, allocations: 42.56 kB / 0.5792 GB, free: 31.86 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002806/0.4234, allocations: 112.5 kB / 0.5793 GB, free: 31.83 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001068/0.4236, allocations: 148.3 kB / 0.5794 GB, free: 31.74 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002584/0.4238, allocations: 370.4 kB / 0.5798 GB, free: 31.51 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006358/0.4245, allocations: 0.8833 MB / 0.5807 GB, free: 31.1 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.4245, allocations: 3.938 kB / 0.5807 GB, free: 31.1 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.4245, allocations: 0 / 0.5807 GB, free: 31.1 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.526e-06/0.4245, allocations: 1.719 kB / 0.5807 GB, free: 31.1 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.004059/0.4286, allocations: 1.57 MB / 0.5822 GB, free: 30.28 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.643e-05/0.4286, allocations: 8.594 kB / 0.5822 GB, free: 30.28 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000103/0.4287, allocations: 98 kB / 0.5823 GB, free: 30.2 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00243/0.4312, allocations: 429.4 kB / 0.5827 GB, free: 30.11 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006049/0.4318, allocations: 0.4996 MB / 0.5832 GB, free: 29.72 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001897/0.432, allocations: 201.3 kB / 0.5834 GB, free: 29.54 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.934e-05/0.4321, allocations: 58.75 kB / 0.5834 GB, free: 29.52 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001294/0.4334, allocations: 0.6925 MB / 0.5841 GB, free: 29.26 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.546e-05/0.4334, allocations: 3.469 kB / 0.5841 GB, free: 29.26 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.412e-05/0.4335, allocations: 25.92 kB / 0.5841 GB, free: 29.24 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.593e-05/0.4335, allocations: 17.22 kB / 0.5842 GB, free: 29.23 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001313/0.4348, allocations: 0.6805 MB / 0.5848 GB, free: 29.01 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003524/0.4384, allocations: 2.156 MB / 0.5869 GB, free: 27.8 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007429/0.4458, allocations: 2.267 MB / 0.5891 GB, free: 26.85 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001055/0.4469, allocations: 484.5 kB / 0.5896 GB, free: 26.67 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.443e-05/0.447, allocations: 8.094 kB / 0.5896 GB, free: 26.67 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001112/0.4481, allocations: 0.5251 MB / 0.5901 GB, free: 26.46 MB / 430.1 MB Notification: Performance of pre-optimization done (n=75): time 3.246e-06/0.4482, allocations: 3.938 kB / 0.5901 GB, free: 26.46 MB / 430.1 MB Notification: Performance of matching and sorting (n=75): time 0.01299/0.4612, allocations: 3.601 MB / 0.5936 GB, free: 25.46 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.268e-05/0.4613, allocations: 63.67 kB / 0.5937 GB, free: 25.4 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006779/0.4619, allocations: 0.5121 MB / 0.5942 GB, free: 25.16 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001433/0.4621, allocations: 46.98 kB / 0.5942 GB, free: 25.12 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002208/0.4623, allocations: 326.5 kB / 0.5946 GB, free: 24.86 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002247/0.4626, allocations: 247.2 kB / 0.5948 GB, free: 24.66 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000237/0.4628, allocations: 124.4 kB / 0.5949 GB, free: 24.59 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001017/0.4629, allocations: 383.8 kB / 0.5953 GB, free: 24.25 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008566/0.4638, allocations: 406.5 kB / 0.5957 GB, free: 24.11 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009182/0.4647, allocations: 0.5032 MB / 0.5962 GB, free: 23.86 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009285/0.474, allocations: 2.53 MB / 0.5986 GB, free: 23.08 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.186e-05/0.474, allocations: 3.938 kB / 0.5986 GB, free: 23.08 MB / 430.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.007478/0.4815, allocations: 2.238 MB / 0.6008 GB, free: 22.46 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.898e-05/0.4816, allocations: 5.406 kB / 0.6008 GB, free: 22.46 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.492e-05/0.4816, allocations: 6.594 kB / 0.6008 GB, free: 22.46 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004029/0.4857, allocations: 0.9959 MB / 0.6018 GB, free: 22.27 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005959/0.4863, allocations: 116.2 kB / 0.6019 GB, free: 22.25 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008529/0.4948, allocations: 4.131 MB / 0.6059 GB, free: 19.86 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009048/0.4958, allocations: 102.2 kB / 0.606 GB, free: 19.81 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.291e-05/0.4958, allocations: 23.33 kB / 0.6061 GB, free: 19.81 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.000362/0.4962, allocations: 214.4 kB / 0.6063 GB, free: 19.63 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001187/0.4963, allocations: 78.75 kB / 0.6063 GB, free: 19.59 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007227/0.5036, allocations: 2.177 MB / 0.6085 GB, free: 18.99 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-05/0.5036, allocations: 7.531 kB / 0.6085 GB, free: 18.99 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.5036, allocations: 1.594 kB / 0.6085 GB, free: 18.99 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.262e-05/0.5037, allocations: 4.781 kB / 0.6085 GB, free: 18.99 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009353/0.513, allocations: 3.192 MB / 0.6116 GB, free: 17.73 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.396e-05/0.5131, allocations: 0.7812 kB / 0.6116 GB, free: 17.73 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005033/0.5136, allocations: 84.69 kB / 0.6117 GB, free: 17.71 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004028/0.5177, allocations: 0.9926 MB / 0.6127 GB, free: 17.51 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000154/0.5178, allocations: 17.7 kB / 0.6127 GB, free: 17.5 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008634/0.5265, allocations: 4.09 MB / 0.6167 GB, free: 14.83 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/0.5265, allocations: 0.5938 kB / 0.6167 GB, free: 14.83 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007753/0.5343, allocations: 2.767 MB / 0.6194 GB, free: 12.38 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002554/0.5346, allocations: 152.1 kB / 0.6195 GB, free: 12.21 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001865/0.5348, allocations: 16 kB / 0.6195 GB, free: 12.2 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006735/0.5355, allocations: 51.94 kB / 0.6196 GB, free: 12.15 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004649/0.536, allocations: 148.4 kB / 0.6197 GB, free: 12 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.866e-05/0.536, allocations: 27.98 kB / 0.6197 GB, free: 11.98 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003727/0.5364, allocations: 354.8 kB / 0.6201 GB, free: 11.63 MB / 430.1 MB Notification: Performance of sort global known variables: time 3.7e-07/0.5364, allocations: 0 / 0.6201 GB, free: 11.63 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0009895/0.5374, allocations: 267.7 kB / 0.6203 GB, free: 11.37 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.007612/0.545, allocations: 3.331 MB / 0.6236 GB, free: 8 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003774/0.5489, allocations: 1.58 MB / 0.6251 GB, free: 6.367 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/0.5489, allocations: 0 / 0.6251 GB, free: 6.367 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00262/0.5515, allocations: 1.115 MB / 0.6262 GB, free: 5.195 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007481/0.5523, allocations: 62.94 kB / 0.6263 GB, free: 5.133 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02037/0.5727, allocations: 9.246 MB / 0.6353 GB, free: 11.72 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005797/0.5733, allocations: 0.9276 MB / 0.6362 GB, free: 10.77 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003467/0.5737, allocations: 60.95 kB / 0.6363 GB, free: 10.7 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004504/0.5741, allocations: 263.3 kB / 0.6365 GB, free: 10.45 MB / 446.1 MB Notification: Performance of SimCode: time 8.72e-07/0.5742, allocations: 0 / 0.6365 GB, free: 10.45 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03983/0.614, allocations: 18.9 MB / 0.655 GB, free: 7.664 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003179/0.6144, allocations: 216.1 kB / 0.6552 GB, free: 7.41 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.376/2.991, allocations: 0 / 0.6552 GB, free: 7.41 MB / 462.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/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)