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.001003/0.001003, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.573/1.573, allocations: 223.3 MB / 239.4 MB, free: 5.52 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.001844/0.001844, allocations: 187.4 kB / 290.6 MB, free: 2.188 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5646/0.5646, allocations: 91.93 MB / 433.6 MB, free: 10.31 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005446/0.0005446, allocations: 12 kB / 0.5049 GB, free: 7.195 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5179/0.5185, allocations: 72.46 MB / 0.5756 GB, free: 36.95 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Branches.Generic.ULTC): time 0.003982/0.5225, allocations: 4.249 MB / 0.5798 GB, free: 34.26 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002698/0.5253, allocations: 1.268 MB / 0.581 GB, free: 33.36 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003607/0.5256, allocations: 6.406 kB / 0.581 GB, free: 33.36 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003921/0.526, allocations: 114.9 kB / 0.5811 GB, free: 33.31 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005205/0.5266, allocations: 192.6 kB / 0.5813 GB, free: 33.18 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001215/0.5278, allocations: 0.5383 MB / 0.5819 GB, free: 32.86 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007529/0.5286, allocations: 0.7707 MB / 0.5826 GB, free: 32.46 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003045/0.5289, allocations: 176.6 kB / 0.5828 GB, free: 32.39 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002625/0.5291, allocations: 291.2 kB / 0.5831 GB, free: 32.25 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003895/0.5295, allocations: 384.5 kB / 0.5834 GB, free: 32.07 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 6.936e-05/0.5296, allocations: 34.34 kB / 0.5835 GB, free: 32.07 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000298/0.5299, allocations: 104.6 kB / 0.5836 GB, free: 32.04 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001009/0.53, allocations: 137.1 kB / 0.5837 GB, free: 31.96 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002818/0.5303, allocations: 383.4 kB / 0.5841 GB, free: 31.7 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007409/0.5311, allocations: 0.8562 MB / 0.5849 GB, free: 31.37 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.5311, allocations: 1.344 kB / 0.5849 GB, free: 31.37 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.5311, allocations: 3.938 kB / 0.5849 GB, free: 31.37 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.127e-06/0.5311, allocations: 0 / 0.5849 GB, free: 31.37 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.004058/0.5352, allocations: 1.456 MB / 0.5863 GB, free: 30.64 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.015e-05/0.5352, allocations: 9.188 kB / 0.5863 GB, free: 30.64 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001475/0.5354, allocations: 98.16 kB / 0.5864 GB, free: 30.57 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002603/0.538, allocations: 435.4 kB / 0.5868 GB, free: 30.49 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006716/0.5387, allocations: 0.4976 MB / 0.5873 GB, free: 30.1 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002258/0.5389, allocations: 211.3 kB / 0.5875 GB, free: 29.91 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001119/0.5391, allocations: 54.88 kB / 0.5876 GB, free: 29.89 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001506/0.5406, allocations: 0.7372 MB / 0.5883 GB, free: 29.63 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.536e-05/0.5406, allocations: 0 / 0.5883 GB, free: 29.63 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.864e-05/0.5407, allocations: 24.94 kB / 0.5883 GB, free: 29.61 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.375e-05/0.5407, allocations: 17.09 kB / 0.5883 GB, free: 29.61 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001577/0.5423, allocations: 0.7275 MB / 0.589 GB, free: 29.38 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003886/0.5462, allocations: 2.188 MB / 0.5912 GB, free: 28.16 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008759/0.555, allocations: 2.75 MB / 0.5939 GB, free: 27.15 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001369/0.5564, allocations: 0.5123 MB / 0.5944 GB, free: 26.97 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.214e-05/0.5565, allocations: 8.719 kB / 0.5944 GB, free: 26.97 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00134/0.5578, allocations: 0.5734 MB / 0.5949 GB, free: 26.75 MB / 430.1 MB Notification: Performance of pre-optimization done (n=75): time 3.878e-06/0.5578, allocations: 0 / 0.5949 GB, free: 26.75 MB / 430.1 MB Notification: Performance of matching and sorting (n=75): time 0.01602/0.5738, allocations: 4.341 MB / 0.5992 GB, free: 25.68 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.854e-05/0.5739, allocations: 60.73 kB / 0.5992 GB, free: 25.61 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008548/0.5748, allocations: 0.5165 MB / 0.5997 GB, free: 25.38 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001661/0.575, allocations: 44.88 kB / 0.5998 GB, free: 25.33 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002513/0.5752, allocations: 321.9 kB / 0.6001 GB, free: 25.07 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002786/0.5755, allocations: 252.6 kB / 0.6003 GB, free: 24.87 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001168/0.5757, allocations: 66.03 kB / 0.6004 GB, free: 24.83 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001448/0.5758, allocations: 384.3 kB / 0.6008 GB, free: 24.49 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001051/0.5769, allocations: 448.4 kB / 0.6012 GB, free: 24.34 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001108/0.578, allocations: 0.5484 MB / 0.6017 GB, free: 24.09 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01028/0.5883, allocations: 2.802 MB / 0.6045 GB, free: 23.28 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.216e-05/0.5883, allocations: 0 / 0.6045 GB, free: 23.28 MB / 430.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.008862/0.5972, allocations: 2.664 MB / 0.6071 GB, free: 22.62 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.812e-05/0.5973, allocations: 9.969 kB / 0.6071 GB, free: 22.61 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.742e-05/0.5973, allocations: 7.219 kB / 0.6071 GB, free: 22.61 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004819/0.6022, allocations: 1.189 MB / 0.6082 GB, free: 22.38 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006772/0.6029, allocations: 119.3 kB / 0.6083 GB, free: 22.36 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01064/0.6135, allocations: 4.47 MB / 0.6127 GB, free: 19.94 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001138/0.6147, allocations: 125 kB / 0.6128 GB, free: 19.89 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.965e-05/0.6148, allocations: 22.78 kB / 0.6129 GB, free: 19.89 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.0004923/0.6153, allocations: 215.1 kB / 0.6131 GB, free: 19.71 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001479/0.6154, allocations: 78.81 kB / 0.6131 GB, free: 19.66 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009066/0.6245, allocations: 2.609 MB / 0.6157 GB, free: 19.01 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.839e-05/0.6246, allocations: 7.156 kB / 0.6157 GB, free: 19.01 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.6246, allocations: 0.8125 kB / 0.6157 GB, free: 19.01 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.961e-05/0.6246, allocations: 5.359 kB / 0.6157 GB, free: 19.01 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01035/0.635, allocations: 3.62 MB / 0.6192 GB, free: 16.3 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.541e-05/0.6351, allocations: 0 / 0.6192 GB, free: 16.3 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005521/0.6356, allocations: 78.44 kB / 0.6193 GB, free: 16.23 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004254/0.6399, allocations: 1.188 MB / 0.6205 GB, free: 15.1 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001126/0.64, allocations: 11.94 kB / 0.6205 GB, free: 15.09 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008836/0.6489, allocations: 4.432 MB / 0.6248 GB, free: 10.53 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.6489, allocations: 4 kB / 0.6248 GB, free: 10.52 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008731/0.6577, allocations: 3.232 MB / 0.628 GB, free: 7.262 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002953/0.658, allocations: 156.1 kB / 0.6281 GB, free: 7.09 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002129/0.6583, allocations: 16 kB / 0.6281 GB, free: 7.074 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007798/0.659, allocations: 79.92 kB / 0.6282 GB, free: 6.996 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004855/0.6595, allocations: 148.4 kB / 0.6283 GB, free: 6.852 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.693e-05/0.6596, allocations: 31.92 kB / 0.6284 GB, free: 6.82 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004616/0.6601, allocations: 350.8 kB / 0.6287 GB, free: 6.48 MB / 430.1 MB Notification: Performance of sort global known variables: time 3.5e-07/0.6601, allocations: 4 kB / 0.6287 GB, free: 6.477 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001136/0.6613, allocations: 271.7 kB / 0.629 GB, free: 6.211 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.008814/0.6701, allocations: 3.789 MB / 0.6327 GB, free: 2.383 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004265/0.6744, allocations: 1.749 MB / 0.6344 GB, free: 0.5781 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.292e-06/0.6744, allocations: 0 / 0.6344 GB, free: 0.5781 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003259/0.6777, allocations: 1.248 MB / 0.6356 GB, free: 15.27 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001019/0.6787, allocations: 68.97 kB / 0.6357 GB, free: 15.2 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02645/0.7052, allocations: 10.18 MB / 0.6456 GB, free: 4.855 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006694/0.706, allocations: 0.9315 MB / 0.6465 GB, free: 3.895 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003523/0.7063, allocations: 56.95 kB / 0.6466 GB, free: 3.836 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004657/0.7068, allocations: 259.3 kB / 0.6468 GB, free: 3.582 MB / 446.1 MB Notification: Performance of SimCode: time 1.072e-06/0.7068, allocations: 0 / 0.6468 GB, free: 3.582 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.042/0.7488, allocations: 18.58 MB / 0.665 GB, free: 1.145 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002479/0.7491, allocations: 213.2 kB / 0.6652 GB, free: 0.8945 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.486/3.235, allocations: 0 / 0.6652 GB, free: 0.8945 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)