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.001442/0.001442, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.503/1.503, allocations: 222.9 MB / 238.8 MB, free: 4.77 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.001863/0.001863, allocations: 192.5 kB / 289.1 MB, free: 2.516 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5457/0.5457, allocations: 91.89 MB / 431.2 MB, free: 9.449 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001626/0.001626, allocations: 67.89 kB / 0.5012 GB, free: 8.188 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5055/0.5072, allocations: 71.27 MB / 0.5708 GB, free: 36.46 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Branches.Generic.ULTC): time 0.004602/0.5118, allocations: 4.66 MB / 0.5753 GB, free: 33.88 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002432/0.5143, allocations: 1.289 MB / 0.5766 GB, free: 33.32 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002854/0.5146, allocations: 7.969 kB / 0.5766 GB, free: 33.32 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003821/0.515, allocations: 107.8 kB / 0.5767 GB, free: 33.28 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005045/0.5155, allocations: 197.8 kB / 0.5769 GB, free: 33.16 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001151/0.5167, allocations: 0.5497 MB / 0.5774 GB, free: 32.84 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006291/0.5173, allocations: 0.7655 MB / 0.5782 GB, free: 32.46 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002744/0.5176, allocations: 175.6 kB / 0.5784 GB, free: 32.38 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002359/0.5178, allocations: 313.5 kB / 0.5787 GB, free: 32.23 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003756/0.5182, allocations: 406.5 kB / 0.579 GB, free: 32.03 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.173e-05/0.5183, allocations: 41.84 kB / 0.5791 GB, free: 32.03 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002894/0.5186, allocations: 106 kB / 0.5792 GB, free: 32.01 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001149/0.5187, allocations: 147 kB / 0.5793 GB, free: 31.92 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002841/0.519, allocations: 371.5 kB / 0.5797 GB, free: 31.68 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006786/0.5197, allocations: 0.8866 MB / 0.5805 GB, free: 31.28 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.5197, allocations: 10.91 kB / 0.5806 GB, free: 31.27 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.5197, allocations: 0 / 0.5806 GB, free: 31.27 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.789e-06/0.5198, allocations: 0 / 0.5806 GB, free: 31.27 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.004023/0.5238, allocations: 1.564 MB / 0.5821 GB, free: 30.45 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.37e-05/0.5238, allocations: 11.7 kB / 0.5821 GB, free: 30.45 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002445/0.5263, allocations: 426 kB / 0.5825 GB, free: 30.36 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005905/0.5269, allocations: 0.5023 MB / 0.583 GB, free: 29.97 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002003/0.5271, allocations: 201.8 kB / 0.5832 GB, free: 29.79 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.447e-05/0.5272, allocations: 52 kB / 0.5832 GB, free: 29.77 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001307/0.5285, allocations: 0.6964 MB / 0.5839 GB, free: 29.51 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.314e-05/0.5286, allocations: 4 kB / 0.5839 GB, free: 29.5 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.466e-05/0.5286, allocations: 22 kB / 0.5839 GB, free: 29.49 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.459e-05/0.5287, allocations: 21.66 kB / 0.584 GB, free: 29.48 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001373/0.53, allocations: 0.6823 MB / 0.5846 GB, free: 29.25 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003448/0.5335, allocations: 2.153 MB / 0.5867 GB, free: 28.05 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007492/0.541, allocations: 2.264 MB / 0.5889 GB, free: 27.1 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001111/0.5421, allocations: 484.6 kB / 0.5894 GB, free: 26.92 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.548e-05/0.5422, allocations: 9 kB / 0.5894 GB, free: 26.92 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001217/0.5435, allocations: 0.5319 MB / 0.5899 GB, free: 26.71 MB / 430.1 MB Notification: Performance of pre-optimization done (n=75): time 3.667e-06/0.5435, allocations: 0 / 0.5899 GB, free: 26.71 MB / 430.1 MB Notification: Performance of matching and sorting (n=75): time 0.01362/0.5571, allocations: 3.595 MB / 0.5934 GB, free: 25.72 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.037e-05/0.5572, allocations: 63.34 kB / 0.5935 GB, free: 25.66 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000735/0.5579, allocations: 0.5158 MB / 0.594 GB, free: 25.42 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001196/0.558, allocations: 37.8 kB / 0.594 GB, free: 25.38 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001955/0.5582, allocations: 331.6 kB / 0.5944 GB, free: 25.11 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002286/0.5585, allocations: 249.6 kB / 0.5946 GB, free: 24.91 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002392/0.5587, allocations: 129.4 kB / 0.5947 GB, free: 24.84 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001188/0.5588, allocations: 384.3 kB / 0.5951 GB, free: 24.5 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000883/0.5597, allocations: 403.7 kB / 0.5955 GB, free: 24.36 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000943/0.5607, allocations: 0.5028 MB / 0.596 GB, free: 24.12 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009287/0.57, allocations: 2.517 MB / 0.5984 GB, free: 23.34 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.328e-06/0.57, allocations: 1.25 kB / 0.5984 GB, free: 23.34 MB / 430.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.007682/0.5777, allocations: 2.246 MB / 0.6006 GB, free: 22.72 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.386e-05/0.5778, allocations: 5.438 kB / 0.6006 GB, free: 22.72 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.81e-05/0.5778, allocations: 2.125 kB / 0.6006 GB, free: 22.72 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004433/0.5822, allocations: 0.999 MB / 0.6016 GB, free: 22.52 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007106/0.583, allocations: 113.2 kB / 0.6017 GB, free: 22.51 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0103/0.5933, allocations: 4.136 MB / 0.6057 GB, free: 20.11 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00107/0.5944, allocations: 104.2 kB / 0.6058 GB, free: 20.07 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.038e-05/0.5945, allocations: 26.08 kB / 0.6059 GB, free: 20.06 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.0004752/0.595, allocations: 210.4 kB / 0.6061 GB, free: 19.88 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001425/0.5951, allocations: 79.22 kB / 0.6061 GB, free: 19.84 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007894/0.603, allocations: 2.173 MB / 0.6083 GB, free: 19.25 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-05/0.6031, allocations: 7.531 kB / 0.6083 GB, free: 19.25 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.096e-05/0.6031, allocations: 1.656 kB / 0.6083 GB, free: 19.25 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.004e-05/0.6031, allocations: 4.375 kB / 0.6083 GB, free: 19.25 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008569/0.6117, allocations: 3.193 MB / 0.6114 GB, free: 17.98 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-05/0.6117, allocations: 5 kB / 0.6114 GB, free: 17.98 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004897/0.6122, allocations: 80.77 kB / 0.6115 GB, free: 17.97 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003849/0.6161, allocations: 0.9959 MB / 0.6124 GB, free: 17.77 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001515/0.6163, allocations: 17.86 kB / 0.6125 GB, free: 17.75 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008144/0.6244, allocations: 4.088 MB / 0.6165 GB, free: 15.1 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.6245, allocations: 1.781 kB / 0.6165 GB, free: 15.1 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00737/0.6318, allocations: 2.769 MB / 0.6192 GB, free: 12.49 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002504/0.6321, allocations: 156.3 kB / 0.6193 GB, free: 12.32 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001162/0.6322, allocations: 16 kB / 0.6193 GB, free: 12.3 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005719/0.6328, allocations: 59.88 kB / 0.6194 GB, free: 12.25 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004406/0.6333, allocations: 148.4 kB / 0.6195 GB, free: 12.1 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.958e-05/0.6333, allocations: 16 kB / 0.6195 GB, free: 12.09 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003262/0.6336, allocations: 358.8 kB / 0.6199 GB, free: 11.74 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6337, allocations: 4 kB / 0.6199 GB, free: 11.73 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000854/0.6345, allocations: 263.8 kB / 0.6201 GB, free: 11.48 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.000179/0.6347, allocations: 123.1 kB / 0.6203 GB, free: 11.35 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00352/0.6382, allocations: 1.585 MB / 0.6218 GB, free: 9.707 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.6382, allocations: 4 kB / 0.6218 GB, free: 9.703 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002494/0.6407, allocations: 1.099 MB / 0.6229 GB, free: 8.547 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006094/0.6414, allocations: 65.03 kB / 0.6229 GB, free: 8.484 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002237/0.6436, allocations: 1.543 MB / 0.6244 GB, free: 6.922 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002759/0.6439, allocations: 0.9392 MB / 0.6254 GB, free: 5.957 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002196/0.6441, allocations: 56.95 kB / 0.6254 GB, free: 5.902 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001249/0.6443, allocations: 47.42 kB / 0.6255 GB, free: 5.859 MB / 430.1 MB Notification: Performance of SimCode: time 1.273e-06/0.6443, allocations: 0 / 0.6255 GB, free: 5.859 MB / 430.1 MB Notification: Performance of Templates: time 0.01827/0.6625, allocations: 12.65 MB / 0.6378 GB, free: 9.203 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)