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.001888/0.001888, allocations: 107.3 kB / 16.41 MB, free: 6.406 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.439/1.439, allocations: 222.9 MB / 240.1 MB, free: 4.344 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.001786/0.001786, allocations: 196.4 kB / 290.4 MB, free: 2.074 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5985/0.5985, allocations: 91.9 MB / 432.4 MB, free: 9.152 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001469/0.001469, allocations: 74.08 kB / 0.5734 GB, free: 33.38 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1606/0.1621, allocations: 71.29 MB / 0.643 GB, free: 3.586 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Branches.Generic.ULTC): time 0.005384/0.1675, allocations: 4.378 MB / 0.6473 GB, free: 15.18 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.002769/0.1703, allocations: 1.243 MB / 0.6485 GB, free: 13.93 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004101/0.1708, allocations: 4 kB / 0.6485 GB, free: 13.93 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004308/0.1712, allocations: 146.8 kB / 0.6486 GB, free: 13.79 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005948/0.1719, allocations: 234 kB / 0.6488 GB, free: 13.55 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001338/0.1732, allocations: 0.5824 MB / 0.6494 GB, free: 12.98 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008065/0.174, allocations: 0.8058 MB / 0.6502 GB, free: 12.17 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003369/0.1744, allocations: 201.7 kB / 0.6504 GB, free: 11.96 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003122/0.1747, allocations: 338.5 kB / 0.6507 GB, free: 11.62 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004675/0.1752, allocations: 422 kB / 0.6511 GB, free: 11.21 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 9.62e-05/0.1753, allocations: 64 kB / 0.6512 GB, free: 11.15 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003135/0.1756, allocations: 131.9 kB / 0.6513 GB, free: 11.02 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001345/0.1757, allocations: 167.2 kB / 0.6515 GB, free: 10.86 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003211/0.1761, allocations: 389.8 kB / 0.6518 GB, free: 10.47 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009105/0.177, allocations: 0.9186 MB / 0.6527 GB, free: 9.551 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.177, allocations: 0 / 0.6527 GB, free: 9.551 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.177, allocations: 0 / 0.6527 GB, free: 9.551 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.069e-05/0.177, allocations: 0 / 0.6527 GB, free: 9.551 MB / 462.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.004497/0.1815, allocations: 1.568 MB / 0.6543 GB, free: 7.93 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.576e-05/0.1816, allocations: 8.031 kB / 0.6543 GB, free: 7.922 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002583/0.1842, allocations: 431.1 kB / 0.6547 GB, free: 7.5 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000758/0.1849, allocations: 0.498 MB / 0.6552 GB, free: 6.961 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002474/0.1852, allocations: 201.8 kB / 0.6554 GB, free: 6.734 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.941e-05/0.1853, allocations: 52 kB / 0.6554 GB, free: 6.684 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001512/0.1868, allocations: 0.6975 MB / 0.6561 GB, free: 5.977 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.434e-05/0.1869, allocations: 0 / 0.6561 GB, free: 5.977 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.97e-05/0.1869, allocations: 24 kB / 0.6561 GB, free: 5.953 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.684e-05/0.187, allocations: 15.94 kB / 0.6561 GB, free: 5.938 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00139/0.1884, allocations: 0.6844 MB / 0.6568 GB, free: 5.254 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003695/0.1921, allocations: 2.144 MB / 0.6589 GB, free: 3.035 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007739/0.1998, allocations: 2.259 MB / 0.6611 GB, free: 0.6562 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001085/0.201, allocations: 495 kB / 0.6616 GB, free: 176 kB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.746e-05/0.2011, allocations: 16.64 kB / 0.6616 GB, free: 160 kB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001205/0.2023, allocations: 0.5275 MB / 0.6621 GB, free: 15.61 MB / 478.1 MB Notification: Performance of pre-optimization done (n=75): time 3.777e-06/0.2023, allocations: 0 / 0.6621 GB, free: 15.61 MB / 478.1 MB Notification: Performance of matching and sorting (n=75): time 0.01319/0.2155, allocations: 3.596 MB / 0.6656 GB, free: 11.94 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.11e-05/0.2156, allocations: 60.06 kB / 0.6657 GB, free: 11.87 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006621/0.2163, allocations: 0.5108 MB / 0.6662 GB, free: 11.35 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001122/0.2164, allocations: 53.62 kB / 0.6662 GB, free: 11.29 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002497/0.2166, allocations: 320.6 kB / 0.6665 GB, free: 10.97 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002656/0.2169, allocations: 252.3 kB / 0.6668 GB, free: 10.73 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002334/0.2172, allocations: 130.6 kB / 0.6669 GB, free: 10.59 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001757/0.2173, allocations: 382.8 kB / 0.6673 GB, free: 10.21 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000865/0.2182, allocations: 409.8 kB / 0.6676 GB, free: 9.809 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009407/0.2192, allocations: 0.5029 MB / 0.6681 GB, free: 9.273 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009077/0.2282, allocations: 2.522 MB / 0.6706 GB, free: 6.715 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.245e-06/0.2283, allocations: 0 / 0.6706 GB, free: 6.715 MB / 478.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.007531/0.2358, allocations: 2.238 MB / 0.6728 GB, free: 4.461 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.828e-05/0.2359, allocations: 4 kB / 0.6728 GB, free: 4.457 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.469e-05/0.2359, allocations: 7.938 kB / 0.6728 GB, free: 4.449 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004062/0.24, allocations: 0.9936 MB / 0.6738 GB, free: 3.445 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005872/0.2406, allocations: 111.8 kB / 0.6739 GB, free: 3.336 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009977/0.2506, allocations: 4.507 MB / 0.6783 GB, free: 14.69 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000921/0.2516, allocations: 95.38 kB / 0.6784 GB, free: 14.6 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001411/0.2517, allocations: 28 kB / 0.6784 GB, free: 14.57 MB / 494.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.000532/0.2523, allocations: 219.2 kB / 0.6786 GB, free: 14.35 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000209/0.2525, allocations: 75.06 kB / 0.6787 GB, free: 14.27 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007434/0.2599, allocations: 2.169 MB / 0.6808 GB, free: 12.08 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.968e-05/0.26, allocations: 8 kB / 0.6808 GB, free: 12.07 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.179e-05/0.26, allocations: 7.984 kB / 0.6808 GB, free: 12.06 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.395e-05/0.26, allocations: 7.984 kB / 0.6808 GB, free: 12.05 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008806/0.2688, allocations: 3.194 MB / 0.6839 GB, free: 8.773 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.018e-05/0.2689, allocations: 0 / 0.6839 GB, free: 8.773 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004721/0.2694, allocations: 75.89 kB / 0.684 GB, free: 8.699 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004026/0.2734, allocations: 1.001 MB / 0.685 GB, free: 7.691 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001102/0.2736, allocations: 11.98 kB / 0.685 GB, free: 7.68 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009617/0.2832, allocations: 4.455 MB / 0.6893 GB, free: 3.086 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.2832, allocations: 0 / 0.6893 GB, free: 3.086 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008504/0.2917, allocations: 2.772 MB / 0.692 GB, free: 288 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003097/0.2921, allocations: 156 kB / 0.6922 GB, free: 112 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001802/0.2923, allocations: 16 kB / 0.6922 GB, free: 96 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006994/0.293, allocations: 55.94 kB / 0.6923 GB, free: 40 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004857/0.2935, allocations: 152.4 kB / 0.6924 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.32e-05/0.2936, allocations: 23.98 kB / 0.6924 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004955/0.2941, allocations: 350.8 kB / 0.6928 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2941, allocations: 4 kB / 0.6928 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001005/0.2951, allocations: 263.7 kB / 0.693 GB, free: 15.27 MB / 0.4981 GB 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.0002628/0.2954, allocations: 127.2 kB / 0.6931 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0043/0.2997, allocations: 1.597 MB / 0.6947 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/0.2997, allocations: 0.5 kB / 0.6947 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.003113/0.3028, allocations: 1.119 MB / 0.6958 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009078/0.3038, allocations: 68.23 kB / 0.6959 GB, free: 12.24 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003383/0.3072, allocations: 1.305 MB / 0.6971 GB, free: 10.9 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006542/0.3078, allocations: 0.9276 MB / 0.698 GB, free: 9.941 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002399/0.3081, allocations: 51.44 kB / 0.6981 GB, free: 9.895 MB / 0.4981 GB Notification: Performance of SimCode: time 3.567e-06/0.3081, allocations: 0 / 0.6981 GB, free: 9.895 MB / 0.4981 GB Notification: Performance of Templates: time 0.02652/0.3346, allocations: 18.11 MB / 0.7158 GB, free: 7.758 MB / 0.5137 GB 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)