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.001581/0.001581, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.366/1.366, allocations: 222.9 MB / 239.3 MB, free: 4.613 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.001482/0.001482, allocations: 199.5 kB / 289.6 MB, free: 2.328 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5413/0.5413, allocations: 91.9 MB / 431.6 MB, free: 9.328 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001743/0.001743, allocations: 83.88 kB / 0.502 GB, free: 7.676 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3834/0.3851, allocations: 71.27 MB / 0.5716 GB, free: 36.71 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Branches.Generic.ULTC): time 0.004278/0.3895, allocations: 4.38 MB / 0.5759 GB, free: 34.3 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002056/0.3915, allocations: 1.246 MB / 0.5771 GB, free: 33.69 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002561/0.3918, allocations: 7.281 kB / 0.5771 GB, free: 33.69 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003605/0.3922, allocations: 150 kB / 0.5772 GB, free: 33.61 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004944/0.3927, allocations: 229.7 kB / 0.5774 GB, free: 33.43 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001123/0.3939, allocations: 0.5845 MB / 0.578 GB, free: 33.11 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.000566/0.3944, allocations: 0.794 MB / 0.5788 GB, free: 32.7 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002953/0.3947, allocations: 210.2 kB / 0.579 GB, free: 32.61 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002238/0.395, allocations: 335.2 kB / 0.5793 GB, free: 32.43 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003742/0.3954, allocations: 418.6 kB / 0.5797 GB, free: 32.22 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 7.765e-05/0.3954, allocations: 64.12 kB / 0.5798 GB, free: 32.22 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002857/0.3957, allocations: 128.7 kB / 0.5799 GB, free: 32.2 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001092/0.3959, allocations: 172.1 kB / 0.5801 GB, free: 32.08 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002626/0.3961, allocations: 396.3 kB / 0.5804 GB, free: 31.83 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006705/0.3968, allocations: 0.9062 MB / 0.5813 GB, free: 31.41 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/0.3968, allocations: 2.812 kB / 0.5813 GB, free: 31.41 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.3968, allocations: 0 / 0.5813 GB, free: 31.41 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.603e-05/0.3968, allocations: 0 / 0.5813 GB, free: 31.41 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.004024/0.4009, allocations: 1.566 MB / 0.5829 GB, free: 30.6 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.259e-05/0.4009, allocations: 8.062 kB / 0.5829 GB, free: 30.6 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001044/0.401, allocations: 104.1 kB / 0.583 GB, free: 30.52 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002427/0.4035, allocations: 427 kB / 0.5834 GB, free: 30.43 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006491/0.4041, allocations: 0.5022 MB / 0.5839 GB, free: 30.04 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002025/0.4043, allocations: 202.7 kB / 0.5841 GB, free: 29.86 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001003/0.4045, allocations: 53.56 kB / 0.5841 GB, free: 29.84 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001311/0.4058, allocations: 0.6934 MB / 0.5848 GB, free: 29.57 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.598e-05/0.4058, allocations: 4 kB / 0.5848 GB, free: 29.57 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.805e-05/0.4059, allocations: 25.81 kB / 0.5848 GB, free: 29.55 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.549e-05/0.4059, allocations: 14.97 kB / 0.5848 GB, free: 29.55 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001344/0.4072, allocations: 0.6845 MB / 0.5855 GB, free: 29.32 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003489/0.4107, allocations: 2.154 MB / 0.5876 GB, free: 28.12 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007732/0.4185, allocations: 2.266 MB / 0.5898 GB, free: 27.16 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001013/0.4195, allocations: 483.1 kB / 0.5903 GB, free: 26.98 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.688e-05/0.4196, allocations: 12.55 kB / 0.5903 GB, free: 26.98 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00111/0.4208, allocations: 0.5309 MB / 0.5908 GB, free: 26.77 MB / 430.1 MB Notification: Performance of pre-optimization done (n=75): time 3.827e-06/0.4208, allocations: 0 / 0.5908 GB, free: 26.77 MB / 430.1 MB Notification: Performance of matching and sorting (n=75): time 0.01323/0.434, allocations: 3.599 MB / 0.5943 GB, free: 25.78 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.472e-05/0.4341, allocations: 59.19 kB / 0.5944 GB, free: 25.71 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007024/0.4348, allocations: 0.5105 MB / 0.5949 GB, free: 25.48 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.518e-05/0.4349, allocations: 46.47 kB / 0.5949 GB, free: 25.43 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000209/0.4351, allocations: 328.9 kB / 0.5952 GB, free: 25.17 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002259/0.4354, allocations: 252.6 kB / 0.5955 GB, free: 24.97 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002628/0.4356, allocations: 124.8 kB / 0.5956 GB, free: 24.9 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001203/0.4358, allocations: 383.6 kB / 0.596 GB, free: 24.56 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009004/0.4367, allocations: 408.1 kB / 0.5963 GB, free: 24.41 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009152/0.4376, allocations: 0.5026 MB / 0.5968 GB, free: 24.17 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009194/0.4468, allocations: 2.528 MB / 0.5993 GB, free: 23.39 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.059e-05/0.4469, allocations: 1.344 kB / 0.5993 GB, free: 23.39 MB / 430.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.007842/0.4547, allocations: 2.238 MB / 0.6015 GB, free: 22.78 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.245e-05/0.4548, allocations: 6.328 kB / 0.6015 GB, free: 22.78 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.577e-05/0.4548, allocations: 10.38 kB / 0.6015 GB, free: 22.77 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004209/0.459, allocations: 1.002 MB / 0.6025 GB, free: 22.57 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005914/0.4596, allocations: 109 kB / 0.6026 GB, free: 22.55 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009562/0.4692, allocations: 4.515 MB / 0.607 GB, free: 19.93 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00107/0.4703, allocations: 102.3 kB / 0.6071 GB, free: 19.88 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001566/0.4705, allocations: 29.19 kB / 0.6071 GB, free: 19.87 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.000569/0.4711, allocations: 221.3 kB / 0.6073 GB, free: 19.68 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002198/0.4713, allocations: 76.33 kB / 0.6074 GB, free: 19.64 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007786/0.4791, allocations: 2.169 MB / 0.6095 GB, free: 19.05 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.76e-05/0.4791, allocations: 7.312 kB / 0.6095 GB, free: 19.05 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.642e-06/0.4791, allocations: 1.094 kB / 0.6095 GB, free: 19.05 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.037e-05/0.4792, allocations: 4.938 kB / 0.6095 GB, free: 19.05 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009889/0.4891, allocations: 3.192 MB / 0.6127 GB, free: 17.79 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.554e-05/0.4892, allocations: 1.094 kB / 0.6127 GB, free: 17.79 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005685/0.4898, allocations: 84.39 kB / 0.6127 GB, free: 17.78 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004236/0.494, allocations: 0.9965 MB / 0.6137 GB, free: 17.57 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001491/0.4942, allocations: 19.92 kB / 0.6137 GB, free: 17.55 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009087/0.5033, allocations: 4.464 MB / 0.6181 GB, free: 14.21 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.5033, allocations: 3.938 kB / 0.6181 GB, free: 14.21 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007549/0.5109, allocations: 2.763 MB / 0.6208 GB, free: 11.42 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002854/0.5112, allocations: 160 kB / 0.6209 GB, free: 11.24 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001156/0.5113, allocations: 12 kB / 0.6209 GB, free: 11.23 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006082/0.512, allocations: 59.94 kB / 0.621 GB, free: 11.17 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000447/0.5124, allocations: 148.5 kB / 0.6211 GB, free: 11.03 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.13e-05/0.5125, allocations: 27.98 kB / 0.6212 GB, free: 11 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000364/0.5128, allocations: 346.8 kB / 0.6215 GB, free: 10.66 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5128, allocations: 0 / 0.6215 GB, free: 10.66 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0009083/0.5138, allocations: 267.8 kB / 0.6218 GB, free: 10.4 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.007717/0.5215, allocations: 3.334 MB / 0.625 GB, free: 7.031 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004106/0.5256, allocations: 1.624 MB / 0.6266 GB, free: 5.352 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.49e-06/0.5257, allocations: 4 kB / 0.6266 GB, free: 5.348 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002699/0.5284, allocations: 1.111 MB / 0.6277 GB, free: 4.18 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008211/0.5292, allocations: 73.11 kB / 0.6278 GB, free: 4.105 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02188/0.5511, allocations: 8.999 MB / 0.6366 GB, free: 10.94 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007364/0.5519, allocations: 0.9276 MB / 0.6375 GB, free: 9.984 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003576/0.5523, allocations: 60.94 kB / 0.6375 GB, free: 9.922 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004952/0.5528, allocations: 263.3 kB / 0.6378 GB, free: 9.664 MB / 446.1 MB Notification: Performance of SimCode: time 1.332e-06/0.5528, allocations: 4 kB / 0.6378 GB, free: 9.66 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05506/0.6079, allocations: 20.45 MB / 0.6577 GB, free: 5.312 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.23/12.83, allocations: 6.625 kB / 0.6577 GB, free: 5.309 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 & python3 -m fmpy simulate --output-file OpenIPSL_dev_OpenIPSL.Tests.Branches.Generic.ULTC_res.csv --start-time 0 --stop-time 350 --timeout 50 --relative-tolerance 0.0001 --interface-type ModelExchange --solver CVode --output-interval 0.01 OpenIPSL_dev_OpenIPSL_Tests_Branches_Generic_ULTC.fmu > OpenIPSL_dev_OpenIPSL.Tests.Branches.Generic.ULTC.pipe 2>&1)