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.001507/0.001507, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.397/1.397, allocations: 222.9 MB / 239 MB, free: 4.727 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.001714/0.001714, allocations: 196.1 kB / 289.3 MB, free: 2.465 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5853/0.5853, allocations: 91.9 MB / 431.3 MB, free: 9.395 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00171/0.00171, allocations: 88.19 kB / 0.5015 GB, free: 7.945 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4939/0.4956, allocations: 71.26 MB / 0.5711 GB, free: 36.62 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Branches.Generic.ULTC): time 0.004851/0.5005, allocations: 4.665 MB / 0.5756 GB, free: 34.03 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002283/0.5028, allocations: 1.276 MB / 0.5769 GB, free: 33.46 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002459/0.5031, allocations: 4.906 kB / 0.5769 GB, free: 33.46 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003972/0.5035, allocations: 116.7 kB / 0.577 GB, free: 33.41 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004796/0.504, allocations: 187.5 kB / 0.5772 GB, free: 33.28 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001114/0.5051, allocations: 0.5414 MB / 0.5777 GB, free: 32.96 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.000702/0.5058, allocations: 0.806 MB / 0.5785 GB, free: 32.54 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003427/0.5062, allocations: 209.4 kB / 0.5787 GB, free: 32.45 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00029/0.5065, allocations: 328.9 kB / 0.579 GB, free: 32.28 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004147/0.5069, allocations: 419 kB / 0.5794 GB, free: 32.07 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.094e-05/0.507, allocations: 64.66 kB / 0.5795 GB, free: 32.07 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002909/0.5073, allocations: 126.5 kB / 0.5796 GB, free: 32.05 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001215/0.5074, allocations: 169.6 kB / 0.5798 GB, free: 31.94 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002867/0.5077, allocations: 396.2 kB / 0.5801 GB, free: 31.68 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008146/0.5085, allocations: 0.9057 MB / 0.581 GB, free: 31.26 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.153e-06/0.5086, allocations: 4 kB / 0.581 GB, free: 31.26 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.535e-06/0.5086, allocations: 0.5312 kB / 0.581 GB, free: 31.26 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.323e-05/0.5086, allocations: 3.812 kB / 0.581 GB, free: 31.26 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.004012/0.5126, allocations: 1.568 MB / 0.5826 GB, free: 30.43 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.049e-05/0.5127, allocations: 10.81 kB / 0.5826 GB, free: 30.43 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001136/0.5128, allocations: 97.81 kB / 0.5827 GB, free: 30.36 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002362/0.5152, allocations: 429.5 kB / 0.5831 GB, free: 30.27 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005707/0.5157, allocations: 0.5092 MB / 0.5836 GB, free: 29.87 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002012/0.5159, allocations: 196.1 kB / 0.5838 GB, free: 29.69 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.936e-05/0.5161, allocations: 52.47 kB / 0.5838 GB, free: 29.68 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001358/0.5174, allocations: 0.6987 MB / 0.5845 GB, free: 29.41 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.626e-05/0.5174, allocations: 0 / 0.5845 GB, free: 29.41 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.52e-05/0.5175, allocations: 20.75 kB / 0.5845 GB, free: 29.4 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.651e-05/0.5175, allocations: 17.03 kB / 0.5845 GB, free: 29.39 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001458/0.519, allocations: 0.684 MB / 0.5852 GB, free: 29.16 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003599/0.5226, allocations: 2.153 MB / 0.5873 GB, free: 27.96 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007322/0.5299, allocations: 2.272 MB / 0.5895 GB, free: 27 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009926/0.531, allocations: 488.2 kB / 0.59 GB, free: 26.82 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.854e-05/0.5311, allocations: 11.22 kB / 0.59 GB, free: 26.82 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001232/0.5323, allocations: 0.5302 MB / 0.5905 GB, free: 26.61 MB / 430.1 MB Notification: Performance of pre-optimization done (n=75): time 4.118e-06/0.5323, allocations: 0 / 0.5905 GB, free: 26.61 MB / 430.1 MB Notification: Performance of matching and sorting (n=75): time 0.01318/0.5455, allocations: 3.593 MB / 0.594 GB, free: 25.62 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.741e-05/0.5456, allocations: 63.62 kB / 0.5941 GB, free: 25.55 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006733/0.5463, allocations: 0.5128 MB / 0.5946 GB, free: 25.32 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001002/0.5464, allocations: 44.31 kB / 0.5946 GB, free: 25.28 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001999/0.5466, allocations: 325.4 kB / 0.5949 GB, free: 25.01 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002153/0.5468, allocations: 247 kB / 0.5952 GB, free: 24.82 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002362/0.5471, allocations: 130 kB / 0.5953 GB, free: 24.75 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001108/0.5472, allocations: 380.5 kB / 0.5957 GB, free: 24.41 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008882/0.5481, allocations: 408.6 kB / 0.596 GB, free: 24.26 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009648/0.5491, allocations: 0.5049 MB / 0.5965 GB, free: 24.02 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009515/0.5586, allocations: 2.543 MB / 0.599 GB, free: 23.22 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-05/0.5587, allocations: 5.344 kB / 0.599 GB, free: 23.22 MB / 430.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.008207/0.5669, allocations: 2.232 MB / 0.6012 GB, free: 22.61 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.46e-05/0.567, allocations: 5.656 kB / 0.6012 GB, free: 22.61 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.737e-05/0.567, allocations: 6.5 kB / 0.6012 GB, free: 22.61 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004249/0.5713, allocations: 1.01 MB / 0.6022 GB, free: 22.4 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006585/0.5719, allocations: 108.9 kB / 0.6023 GB, free: 22.39 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01043/0.5824, allocations: 4.503 MB / 0.6067 GB, free: 19.77 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001042/0.5835, allocations: 98.47 kB / 0.6068 GB, free: 19.73 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001641/0.5837, allocations: 27.86 kB / 0.6068 GB, free: 19.72 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.0006033/0.5843, allocations: 209.8 kB / 0.607 GB, free: 19.54 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002666/0.5846, allocations: 76.16 kB / 0.6071 GB, free: 19.5 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007821/0.5924, allocations: 2.176 MB / 0.6092 GB, free: 18.91 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.549e-05/0.5924, allocations: 7.75 kB / 0.6092 GB, free: 18.91 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.32e-05/0.5925, allocations: 1.734 kB / 0.6092 GB, free: 18.91 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.771e-05/0.5925, allocations: 3.328 kB / 0.6092 GB, free: 18.91 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009543/0.602, allocations: 3.197 MB / 0.6124 GB, free: 17.64 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.145e-05/0.6021, allocations: 0 / 0.6124 GB, free: 17.64 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004837/0.6026, allocations: 77.27 kB / 0.6124 GB, free: 17.63 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004284/0.6069, allocations: 0.9998 MB / 0.6134 GB, free: 17.43 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000134/0.607, allocations: 13.81 kB / 0.6134 GB, free: 17.42 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009557/0.6166, allocations: 4.474 MB / 0.6178 GB, free: 14.13 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.816e-06/0.6166, allocations: 0 / 0.6178 GB, free: 14.13 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007478/0.6241, allocations: 2.767 MB / 0.6205 GB, free: 11.33 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002764/0.6244, allocations: 156 kB / 0.6206 GB, free: 11.16 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001891/0.6246, allocations: 16 kB / 0.6207 GB, free: 11.14 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007158/0.6254, allocations: 55.94 kB / 0.6207 GB, free: 11.09 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004505/0.6258, allocations: 152.4 kB / 0.6209 GB, free: 10.94 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.068e-05/0.6259, allocations: 23.98 kB / 0.6209 GB, free: 10.92 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004423/0.6264, allocations: 354.8 kB / 0.6212 GB, free: 10.57 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6264, allocations: 0 / 0.6212 GB, free: 10.57 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001163/0.6275, allocations: 263.8 kB / 0.6215 GB, free: 10.32 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.007586/0.6351, allocations: 3.337 MB / 0.6247 GB, free: 6.941 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003969/0.6391, allocations: 1.624 MB / 0.6263 GB, free: 5.262 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.548e-06/0.6392, allocations: 3.938 kB / 0.6263 GB, free: 5.258 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00261/0.6418, allocations: 1.111 MB / 0.6274 GB, free: 4.09 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007641/0.6426, allocations: 73.14 kB / 0.6275 GB, free: 4.016 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02059/0.6632, allocations: 9.251 MB / 0.6365 GB, free: 10.59 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006257/0.6638, allocations: 0.9276 MB / 0.6374 GB, free: 9.633 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002967/0.6642, allocations: 56.95 kB / 0.6375 GB, free: 9.574 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004045/0.6646, allocations: 267.3 kB / 0.6377 GB, free: 9.312 MB / 446.1 MB Notification: Performance of SimCode: time 6.81e-07/0.6646, allocations: 0 / 0.6377 GB, free: 9.312 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04925/0.7138, allocations: 19.73 MB / 0.657 GB, free: 5.723 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002061/0.7141, allocations: 219.9 kB / 0.6572 GB, free: 5.469 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.517/3.232, allocations: 0 / 0.6572 GB, free: 5.469 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)