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.0008693/0.0008693, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.471/1.471, allocations: 223.3 MB / 239 MB, free: 5.445 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.001236/0.001236, allocations: 176.5 kB / 290.3 MB, free: 2.137 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.593/0.593, allocations: 79.48 MB / 420.8 MB, free: 3.965 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004187/0.0004189, allocations: 15.94 kB / 0.4892 GB, free: 5.457 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4505/0.451, allocations: 69.5 MB / 0.5571 GB, free: 37.77 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Branches.Generic.ULTC): time 0.003837/0.4549, allocations: 3.999 MB / 0.561 GB, free: 37.54 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002483/0.4574, allocations: 1.213 MB / 0.5622 GB, free: 37.37 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002902/0.4577, allocations: 8.688 kB / 0.5622 GB, free: 37.37 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003282/0.458, allocations: 107 kB / 0.5623 GB, free: 37.33 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005045/0.4585, allocations: 202.1 kB / 0.5625 GB, free: 37.25 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001128/0.4597, allocations: 492.4 kB / 0.563 GB, free: 37.19 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007129/0.4604, allocations: 0.7363 MB / 0.5637 GB, free: 37 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002984/0.4607, allocations: 163.5 kB / 0.5638 GB, free: 36.96 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000241/0.461, allocations: 287.8 kB / 0.5641 GB, free: 36.89 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004349/0.4614, allocations: 363.3 kB / 0.5645 GB, free: 36.8 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 7.274e-05/0.4615, allocations: 36.28 kB / 0.5645 GB, free: 36.8 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002783/0.4618, allocations: 94.73 kB / 0.5646 GB, free: 36.79 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001078/0.4619, allocations: 135.8 kB / 0.5647 GB, free: 36.76 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001199/0.462, allocations: 150.6 kB / 0.5648 GB, free: 36.7 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005974/0.4626, allocations: 0.6714 MB / 0.5655 GB, free: 36.62 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.4626, allocations: 1.031 kB / 0.5655 GB, free: 36.62 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.4626, allocations: 5 kB / 0.5655 GB, free: 36.62 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.027e-06/0.4627, allocations: 0 / 0.5655 GB, free: 36.62 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.003548/0.4662, allocations: 1.463 MB / 0.5669 GB, free: 36 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.581e-05/0.4663, allocations: 11.25 kB / 0.5669 GB, free: 36 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001352/0.4664, allocations: 98.53 kB / 0.567 GB, free: 35.96 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002287/0.4687, allocations: 427.8 kB / 0.5675 GB, free: 35.91 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006155/0.4693, allocations: 495.5 kB / 0.5679 GB, free: 35.64 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001973/0.4695, allocations: 204.3 kB / 0.5681 GB, free: 35.48 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.674e-05/0.4696, allocations: 54.44 kB / 0.5682 GB, free: 35.47 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001306/0.4709, allocations: 0.735 MB / 0.5689 GB, free: 35.43 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.638e-05/0.471, allocations: 3.344 kB / 0.5689 GB, free: 35.43 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.901e-05/0.471, allocations: 28.55 kB / 0.5689 GB, free: 35.42 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.745e-05/0.4711, allocations: 11.91 kB / 0.5689 GB, free: 35.42 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00126/0.4723, allocations: 0.7192 MB / 0.5696 GB, free: 35.42 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00368/0.476, allocations: 2.181 MB / 0.5718 GB, free: 34.93 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007339/0.4834, allocations: 2.749 MB / 0.5744 GB, free: 34.26 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001353/0.4848, allocations: 0.5104 MB / 0.5749 GB, free: 34.13 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000117/0.485, allocations: 10.62 kB / 0.575 GB, free: 34.12 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00138/0.4864, allocations: 0.569 MB / 0.5755 GB, free: 33.91 MB / 430.1 MB Notification: Performance of pre-optimization done (n=75): time 4.228e-06/0.4864, allocations: 0 / 0.5755 GB, free: 33.91 MB / 430.1 MB Notification: Performance of matching and sorting (n=75): time 0.0132/0.4996, allocations: 4.324 MB / 0.5797 GB, free: 32.84 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.981e-05/0.4997, allocations: 59.78 kB / 0.5798 GB, free: 32.78 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001011/0.5008, allocations: 0.5155 MB / 0.5803 GB, free: 32.54 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002348/0.501, allocations: 46.17 kB / 0.5803 GB, free: 32.49 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003431/0.5014, allocations: 316.3 kB / 0.5806 GB, free: 32.24 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004683/0.5019, allocations: 254.2 kB / 0.5809 GB, free: 32.04 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001109/0.502, allocations: 14.97 kB / 0.5809 GB, free: 32.03 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002103/0.5022, allocations: 384.5 kB / 0.5813 GB, free: 31.69 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001216/0.5034, allocations: 443.5 kB / 0.5817 GB, free: 31.54 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001295/0.5047, allocations: 0.5442 MB / 0.5822 GB, free: 31.29 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001358/0.5061, allocations: 474.8 kB / 0.5827 GB, free: 31.1 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.444e-05/0.5062, allocations: 3.953 kB / 0.5827 GB, free: 31.09 MB / 430.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.008401/0.5146, allocations: 2.646 MB / 0.5853 GB, free: 30.43 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.934e-05/0.5147, allocations: 6.656 kB / 0.5853 GB, free: 30.43 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.316e-05/0.5147, allocations: 3.75 kB / 0.5853 GB, free: 30.43 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004545/0.5193, allocations: 1.189 MB / 0.5864 GB, free: 30.21 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007488/0.5201, allocations: 110.3 kB / 0.5865 GB, free: 30.2 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01095/0.531, allocations: 4.471 MB / 0.5909 GB, free: 27.78 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001145/0.5323, allocations: 131.5 kB / 0.591 GB, free: 27.73 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002045/0.5325, allocations: 26 kB / 0.5911 GB, free: 27.72 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.0007219/0.5332, allocations: 204.9 kB / 0.5912 GB, free: 27.55 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003059/0.5335, allocations: 71.59 kB / 0.5913 GB, free: 27.52 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008157/0.5417, allocations: 2.606 MB / 0.5939 GB, free: 26.87 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.853e-05/0.5418, allocations: 9.734 kB / 0.5939 GB, free: 26.87 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.047e-05/0.5418, allocations: 0 / 0.5939 GB, free: 26.87 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.418e-05/0.5419, allocations: 3.281 kB / 0.5939 GB, free: 26.87 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0109/0.5528, allocations: 3.617 MB / 0.5974 GB, free: 25.57 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.046e-05/0.5529, allocations: 0 / 0.5974 GB, free: 25.57 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005482/0.5534, allocations: 80.67 kB / 0.5975 GB, free: 25.56 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004328/0.5578, allocations: 1.18 MB / 0.5986 GB, free: 25.34 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001776/0.558, allocations: 17.64 kB / 0.5987 GB, free: 25.33 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01076/0.5688, allocations: 4.425 MB / 0.603 GB, free: 22.91 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.91e-06/0.5689, allocations: 0.6562 kB / 0.603 GB, free: 22.91 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009251/0.5781, allocations: 3.218 MB / 0.6061 GB, free: 21.95 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003006/0.5785, allocations: 157.4 kB / 0.6063 GB, free: 21.8 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002027/0.5787, allocations: 17.95 kB / 0.6063 GB, free: 21.79 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007153/0.5794, allocations: 81.45 kB / 0.6064 GB, free: 21.77 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005801/0.58, allocations: 152.2 kB / 0.6065 GB, free: 21.75 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.947e-05/0.5801, allocations: 26.03 kB / 0.6065 GB, free: 21.74 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005914/0.5807, allocations: 347.1 kB / 0.6069 GB, free: 21.58 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.5807, allocations: 0 / 0.6069 GB, free: 21.58 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001326/0.582, allocations: 268.4 kB / 0.6071 GB, free: 21.54 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.008925/0.591, allocations: 3.793 MB / 0.6108 GB, free: 19.97 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004218/0.5953, allocations: 1.744 MB / 0.6125 GB, free: 18.39 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.999e-06/0.5953, allocations: 8.062 kB / 0.6125 GB, free: 18.38 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00278/0.5981, allocations: 1.236 MB / 0.6137 GB, free: 17.24 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00081/0.5989, allocations: 61.72 kB / 0.6138 GB, free: 17.18 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01386/0.6128, allocations: 6.286 MB / 0.6199 GB, free: 11.67 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004403/0.6133, allocations: 0.9276 MB / 0.6208 GB, free: 10.71 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002899/0.6136, allocations: 62.83 kB / 0.6209 GB, free: 10.65 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000345/0.614, allocations: 263.3 kB / 0.6212 GB, free: 10.39 MB / 430.1 MB Notification: Performance of SimCode: time 1.603e-06/0.614, allocations: 0 / 0.6212 GB, free: 10.39 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04218/0.6562, allocations: 18.29 MB / 0.639 GB, free: 8.473 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002048/0.6564, allocations: 202.4 kB / 0.6392 GB, free: 8.23 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.459/3.116, allocations: 0 / 0.6392 GB, free: 8.23 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: