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: translateModel(OpenIPSL.Tests.Branches.Generic.ULTC,tolerance=0.0001,outputFormat="empty",numberOfIntervals=70000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Branches.Generic.ULTC") translateModel(OpenIPSL.Tests.Branches.Generic.ULTC,tolerance=0.0001,outputFormat="empty",numberOfIntervals=70000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Branches.Generic.ULTC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00134/0.00134, allocations: 107.3 kB / 15.33 MB, free: 0.5078 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.408/1.408, allocations: 222.9 MB / 239 MB, free: 4.723 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.001449/0.001449, allocations: 204.4 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.5757/0.5757, allocations: 91.89 MB / 431.3 MB, free: 9.406 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001447/0.001447, allocations: 83.88 kB / 0.5014 GB, free: 8.051 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3937/0.3951, allocations: 71.26 MB / 0.571 GB, free: 36.99 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Branches.Generic.ULTC): time 0.005564/0.4008, allocations: 4.657 MB / 0.5755 GB, free: 34.41 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002649/0.4035, allocations: 1.283 MB / 0.5768 GB, free: 33.52 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002987/0.4038, allocations: 8.969 kB / 0.5768 GB, free: 33.52 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004303/0.4042, allocations: 107.7 kB / 0.5769 GB, free: 33.48 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005303/0.4048, allocations: 194.4 kB / 0.5771 GB, free: 33.34 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0012/0.406, allocations: 0.5421 MB / 0.5776 GB, free: 33.02 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006846/0.4067, allocations: 0.7991 MB / 0.5784 GB, free: 32.61 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003255/0.407, allocations: 209.2 kB / 0.5786 GB, free: 32.52 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002729/0.4073, allocations: 331 kB / 0.5789 GB, free: 32.35 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000436/0.4077, allocations: 423.9 kB / 0.5793 GB, free: 32.14 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.266e-05/0.4079, allocations: 62.59 kB / 0.5794 GB, free: 32.14 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003365/0.4082, allocations: 130.7 kB / 0.5795 GB, free: 32.11 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000123/0.4083, allocations: 173.3 kB / 0.5796 GB, free: 32 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002889/0.4086, allocations: 393.7 kB / 0.58 GB, free: 31.75 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007998/0.4094, allocations: 0.911 MB / 0.5809 GB, free: 31.32 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.379e-06/0.4094, allocations: 0 / 0.5809 GB, free: 31.32 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.4095, allocations: 5.25 kB / 0.5809 GB, free: 31.32 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.196e-05/0.4095, allocations: 0 / 0.5809 GB, free: 31.32 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.00394/0.4134, allocations: 1.568 MB / 0.5825 GB, free: 30.49 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.897e-05/0.4135, allocations: 11.38 kB / 0.5825 GB, free: 30.49 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002445/0.4159, allocations: 430.6 kB / 0.5829 GB, free: 30.4 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006042/0.4165, allocations: 0.4998 MB / 0.5834 GB, free: 30.01 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000192/0.4167, allocations: 201.1 kB / 0.5836 GB, free: 29.83 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.239e-05/0.4168, allocations: 55.47 kB / 0.5836 GB, free: 29.81 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001323/0.4182, allocations: 0.6971 MB / 0.5843 GB, free: 29.55 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.549e-05/0.4182, allocations: 0 / 0.5843 GB, free: 29.55 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.018e-05/0.4183, allocations: 23.34 kB / 0.5843 GB, free: 29.53 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.808e-05/0.4183, allocations: 18.44 kB / 0.5843 GB, free: 29.52 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001314/0.4196, allocations: 0.678 MB / 0.585 GB, free: 29.3 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00342/0.4231, allocations: 2.151 MB / 0.5871 GB, free: 28.1 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007514/0.4306, allocations: 2.277 MB / 0.5893 GB, free: 27.14 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001028/0.4317, allocations: 480.4 kB / 0.5898 GB, free: 26.96 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.603e-05/0.4318, allocations: 12.06 kB / 0.5898 GB, free: 26.96 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001131/0.4329, allocations: 0.5305 MB / 0.5903 GB, free: 26.75 MB / 430.1 MB Notification: Performance of pre-optimization done (n=75): time 2.985e-06/0.4329, allocations: 0 / 0.5903 GB, free: 26.75 MB / 430.1 MB Notification: Performance of matching and sorting (n=75): time 0.01312/0.446, allocations: 3.597 MB / 0.5938 GB, free: 25.76 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.68e-05/0.4461, allocations: 59.59 kB / 0.5939 GB, free: 25.7 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007175/0.4468, allocations: 0.5148 MB / 0.5944 GB, free: 25.46 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001253/0.447, allocations: 44.78 kB / 0.5944 GB, free: 25.41 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002064/0.4472, allocations: 323.6 kB / 0.5947 GB, free: 25.15 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002263/0.4474, allocations: 248.2 kB / 0.595 GB, free: 24.96 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002488/0.4477, allocations: 127.8 kB / 0.5951 GB, free: 24.89 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001179/0.4478, allocations: 386.4 kB / 0.5954 GB, free: 24.54 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008414/0.4487, allocations: 406.5 kB / 0.5958 GB, free: 24.4 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009701/0.4496, allocations: 0.4974 MB / 0.5963 GB, free: 24.16 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009373/0.459, allocations: 2.539 MB / 0.5988 GB, free: 23.37 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.226e-05/0.4591, allocations: 1.156 kB / 0.5988 GB, free: 23.37 MB / 430.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.007654/0.4667, allocations: 2.234 MB / 0.601 GB, free: 22.76 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.186e-05/0.4668, allocations: 9.281 kB / 0.601 GB, free: 22.75 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.514e-05/0.4668, allocations: 6.484 kB / 0.601 GB, free: 22.75 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00419/0.471, allocations: 1.005 MB / 0.602 GB, free: 22.55 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006052/0.4716, allocations: 117.2 kB / 0.6021 GB, free: 22.53 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009596/0.4813, allocations: 4.498 MB / 0.6065 GB, free: 19.91 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009236/0.4822, allocations: 102.8 kB / 0.6066 GB, free: 19.87 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001336/0.4824, allocations: 27.05 kB / 0.6066 GB, free: 19.86 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.0005063/0.4829, allocations: 212 kB / 0.6068 GB, free: 19.68 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002067/0.4831, allocations: 75.55 kB / 0.6069 GB, free: 19.64 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00738/0.4905, allocations: 2.174 MB / 0.609 GB, free: 19.05 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.337e-05/0.4905, allocations: 6.688 kB / 0.609 GB, free: 19.05 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.538e-06/0.4905, allocations: 5.031 kB / 0.609 GB, free: 19.05 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.823e-05/0.4906, allocations: 4.891 kB / 0.609 GB, free: 19.05 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009304/0.4999, allocations: 3.201 MB / 0.6121 GB, free: 17.78 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.028e-05/0.4999, allocations: 0.9844 kB / 0.6122 GB, free: 17.78 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004673/0.5004, allocations: 80.47 kB / 0.6122 GB, free: 17.77 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00409/0.5045, allocations: 0.9964 MB / 0.6132 GB, free: 17.56 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001289/0.5046, allocations: 13.53 kB / 0.6132 GB, free: 17.55 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00893/0.5136, allocations: 4.468 MB / 0.6176 GB, free: 14.41 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.5136, allocations: 0 / 0.6176 GB, free: 14.41 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007614/0.5212, allocations: 2.767 MB / 0.6203 GB, free: 11.62 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000251/0.5215, allocations: 164.1 kB / 0.6204 GB, free: 11.44 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001765/0.5217, allocations: 16 kB / 0.6204 GB, free: 11.42 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007002/0.5224, allocations: 51.94 kB / 0.6205 GB, free: 11.37 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004292/0.5229, allocations: 152.4 kB / 0.6206 GB, free: 11.22 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.449e-05/0.523, allocations: 19.98 kB / 0.6207 GB, free: 11.2 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004027/0.5234, allocations: 358.8 kB / 0.621 GB, free: 10.86 MB / 430.1 MB Notification: Performance of sort global known variables: time 6.41e-07/0.5234, allocations: 4 kB / 0.621 GB, free: 10.85 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001113/0.5245, allocations: 267.8 kB / 0.6213 GB, free: 10.59 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.0002587/0.5248, allocations: 123.2 kB / 0.6214 GB, free: 10.46 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003995/0.5288, allocations: 1.624 MB / 0.623 GB, free: 8.781 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.5288, allocations: 0 / 0.623 GB, free: 8.781 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002593/0.5314, allocations: 1.123 MB / 0.6241 GB, free: 7.602 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000694/0.5321, allocations: 61.81 kB / 0.6241 GB, free: 7.539 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002402/0.5345, allocations: 1.549 MB / 0.6256 GB, free: 5.969 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002932/0.5348, allocations: 0.9237 MB / 0.6265 GB, free: 5.02 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002417/0.5351, allocations: 60.92 kB / 0.6266 GB, free: 4.961 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000139/0.5352, allocations: 47.44 kB / 0.6266 GB, free: 4.918 MB / 430.1 MB Notification: Performance of SimCode: time 5.81e-07/0.5352, allocations: 0 / 0.6266 GB, free: 4.918 MB / 430.1 MB Notification: Performance of Templates: time 0.02074/0.556, allocations: 13.47 MB / 0.6398 GB, free: 7.441 MB / 446.1 MB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Branches.Generic.ULTC.makefile (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 & ./OpenIPSL_dev_OpenIPSL.Tests.Branches.Generic.ULTC -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Branches.Generic.ULTC.pipe 2>&1)