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.001268/0.001268, 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.372/1.372, allocations: 222.9 MB / 239.3 MB, free: 4.59 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.001413/0.001413, allocations: 199.5 kB / 289.6 MB, free: 2.309 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5489/0.5489, allocations: 91.91 MB / 431.6 MB, free: 9.27 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00174/0.00174, allocations: 75.88 kB / 0.502 GB, free: 7.652 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4319/0.4336, allocations: 71.27 MB / 0.5716 GB, free: 36.66 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Branches.Generic.ULTC): time 0.005169/0.4389, allocations: 4.378 MB / 0.5758 GB, free: 34.25 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002314/0.4412, allocations: 1.251 MB / 0.5771 GB, free: 33.6 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002507/0.4415, allocations: 5.75 kB / 0.5771 GB, free: 33.6 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003899/0.4419, allocations: 146.3 kB / 0.5772 GB, free: 33.52 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004852/0.4424, allocations: 232.3 kB / 0.5774 GB, free: 33.36 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001148/0.4435, allocations: 0.5829 MB / 0.578 GB, free: 33.02 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006448/0.4442, allocations: 0.7998 MB / 0.5788 GB, free: 32.61 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003054/0.4445, allocations: 209.5 kB / 0.579 GB, free: 32.52 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002621/0.4448, allocations: 333.1 kB / 0.5793 GB, free: 32.35 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003544/0.4451, allocations: 416.5 kB / 0.5797 GB, free: 32.14 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.221e-05/0.4452, allocations: 62.38 kB / 0.5798 GB, free: 32.14 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002457/0.4455, allocations: 138.9 kB / 0.5799 GB, free: 32.11 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 9.723e-05/0.4456, allocations: 163.6 kB / 0.58 GB, free: 32 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002366/0.4458, allocations: 395.4 kB / 0.5804 GB, free: 31.75 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006122/0.4464, allocations: 0.9048 MB / 0.5813 GB, free: 31.33 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.4465, allocations: 2.781 kB / 0.5813 GB, free: 31.33 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.4465, allocations: 0.7188 kB / 0.5813 GB, free: 31.33 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.624e-05/0.4465, allocations: 0 / 0.5813 GB, free: 31.33 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.004117/0.4506, allocations: 1.578 MB / 0.5829 GB, free: 30.51 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.353e-05/0.4507, allocations: 9.594 kB / 0.5829 GB, free: 30.51 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001208/0.4508, allocations: 96.72 kB / 0.583 GB, free: 30.43 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002499/0.4533, allocations: 432.9 kB / 0.5834 GB, free: 30.34 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005932/0.4539, allocations: 0.5029 MB / 0.5839 GB, free: 29.95 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000206/0.4541, allocations: 194.3 kB / 0.584 GB, free: 29.77 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.127e-05/0.4542, allocations: 56.28 kB / 0.5841 GB, free: 29.75 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001291/0.4555, allocations: 0.699 MB / 0.5848 GB, free: 29.48 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.538e-05/0.4556, allocations: 0 / 0.5848 GB, free: 29.48 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.801e-05/0.4556, allocations: 20.5 kB / 0.5848 GB, free: 29.47 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.206e-05/0.4557, allocations: 16.81 kB / 0.5848 GB, free: 29.46 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001365/0.457, allocations: 0.6828 MB / 0.5855 GB, free: 29.24 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003648/0.4607, allocations: 2.154 MB / 0.5876 GB, free: 28.04 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007571/0.4683, allocations: 2.271 MB / 0.5898 GB, free: 27.08 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009675/0.4693, allocations: 479 kB / 0.5903 GB, free: 26.9 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.47e-05/0.4693, allocations: 13.69 kB / 0.5903 GB, free: 26.9 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001169/0.4705, allocations: 0.5254 MB / 0.5908 GB, free: 26.69 MB / 430.1 MB Notification: Performance of pre-optimization done (n=75): time 3.086e-06/0.4705, allocations: 4 kB / 0.5908 GB, free: 26.69 MB / 430.1 MB Notification: Performance of matching and sorting (n=75): time 0.01371/0.4842, allocations: 3.596 MB / 0.5943 GB, free: 25.7 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.363e-05/0.4844, allocations: 61.56 kB / 0.5944 GB, free: 25.63 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008199/0.4852, allocations: 0.5184 MB / 0.5949 GB, free: 25.39 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001085/0.4853, allocations: 43.81 kB / 0.5949 GB, free: 25.35 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002128/0.4855, allocations: 318.7 kB / 0.5952 GB, free: 25.09 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002364/0.4858, allocations: 253.4 kB / 0.5955 GB, free: 24.89 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002364/0.486, allocations: 129.3 kB / 0.5956 GB, free: 24.82 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001071/0.4861, allocations: 386.8 kB / 0.5959 GB, free: 24.47 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008565/0.487, allocations: 405 kB / 0.5963 GB, free: 24.33 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009117/0.4879, allocations: 0.5016 MB / 0.5968 GB, free: 24.09 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009592/0.4975, allocations: 2.534 MB / 0.5993 GB, free: 23.3 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.391e-05/0.4976, allocations: 0.9688 kB / 0.5993 GB, free: 23.3 MB / 430.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.008508/0.5061, allocations: 2.238 MB / 0.6015 GB, free: 22.69 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.254e-05/0.5062, allocations: 7.781 kB / 0.6015 GB, free: 22.69 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.819e-05/0.5062, allocations: 7.562 kB / 0.6015 GB, free: 22.69 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004304/0.5105, allocations: 0.9966 MB / 0.6025 GB, free: 22.49 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005258/0.511, allocations: 114 kB / 0.6026 GB, free: 22.47 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01017/0.5212, allocations: 4.515 MB / 0.607 GB, free: 19.84 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001073/0.5223, allocations: 103.3 kB / 0.6071 GB, free: 19.8 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.958e-05/0.5224, allocations: 27.06 kB / 0.6071 GB, free: 19.79 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.0005667/0.523, allocations: 214.6 kB / 0.6073 GB, free: 19.61 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001627/0.5232, allocations: 80.47 kB / 0.6074 GB, free: 19.57 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008002/0.5312, allocations: 2.176 MB / 0.6095 GB, free: 18.97 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.892e-05/0.5312, allocations: 8.5 kB / 0.6095 GB, free: 18.97 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/0.5312, allocations: 5.25 kB / 0.6095 GB, free: 18.96 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.096e-05/0.5313, allocations: 3.562 kB / 0.6095 GB, free: 18.96 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008942/0.5402, allocations: 3.194 MB / 0.6127 GB, free: 17.7 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.078e-05/0.5403, allocations: 0 / 0.6127 GB, free: 17.7 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005111/0.5408, allocations: 76.69 kB / 0.6127 GB, free: 17.7 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004308/0.5451, allocations: 0.9967 MB / 0.6137 GB, free: 17.45 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001099/0.5452, allocations: 19.48 kB / 0.6137 GB, free: 17.43 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008981/0.5542, allocations: 4.459 MB / 0.6181 GB, free: 14.2 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.5543, allocations: 4 kB / 0.6181 GB, free: 14.19 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007642/0.5619, allocations: 2.763 MB / 0.6208 GB, free: 11.4 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002791/0.5622, allocations: 163.9 kB / 0.6209 GB, free: 11.22 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001425/0.5624, allocations: 16 kB / 0.6209 GB, free: 11.2 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006274/0.563, allocations: 51.94 kB / 0.621 GB, free: 11.15 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004292/0.5635, allocations: 156.4 kB / 0.6211 GB, free: 11 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.569e-05/0.5635, allocations: 19.98 kB / 0.6212 GB, free: 10.98 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003931/0.5639, allocations: 354.8 kB / 0.6215 GB, free: 10.64 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5639, allocations: 7.938 kB / 0.6215 GB, free: 10.63 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001004/0.5649, allocations: 263.8 kB / 0.6218 GB, free: 10.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.008135/0.5731, allocations: 3.329 MB / 0.625 GB, free: 7.004 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004079/0.5772, allocations: 1.628 MB / 0.6266 GB, free: 5.32 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.272e-06/0.5772, allocations: 0 / 0.6266 GB, free: 5.32 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002777/0.58, allocations: 1.108 MB / 0.6277 GB, free: 4.156 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000775/0.5808, allocations: 66.92 kB / 0.6278 GB, free: 4.086 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0225/0.6033, allocations: 9 MB / 0.6365 GB, free: 10.92 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006257/0.604, allocations: 0.9276 MB / 0.6374 GB, free: 9.969 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002923/0.6043, allocations: 60.95 kB / 0.6375 GB, free: 9.906 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004042/0.6047, allocations: 267.3 kB / 0.6378 GB, free: 9.645 MB / 446.1 MB Notification: Performance of SimCode: time 1.262e-06/0.6047, allocations: 0 / 0.6378 GB, free: 9.645 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04797/0.6527, allocations: 20.46 MB / 0.6577 GB, free: 5.281 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.31/11.97, allocations: 2.281 kB / 0.6577 GB, free: 5.281 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)