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/Complex 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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/Complex 4.0.0+maint.om/package.mo): time 0.0009959/0.0009959, allocations: 174.9 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.482/1.482, allocations: 221.4 MB / 234.6 MB, free: 14.37 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009616/0.0009616, allocations: 91.31 kB / 285.6 MB, free: 12.97 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4644/0.4644, allocations: 78.9 MB / 415.4 MB, free: 10.23 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.835e-05/2.839e-05, allocations: 0 / 492.8 MB, free: 13.1 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3497/0.3497, allocations: 69.51 MB / 0.5491 GB, free: 19.62 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1201/0.4699, allocations: 93.89 MB / 0.6408 GB, free: 5.723 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002234/0.4702, allocations: 75.95 kB / 0.6409 GB, free: 5.648 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0366/0.5068, allocations: 14.23 MB / 0.6548 GB, free: 7.297 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.5068, allocations: 3.938 kB / 0.6548 GB, free: 7.293 MB / 474.7 MB Notification: Performance of Transformations before backend: time 2.796e-05/0.5069, allocations: 20.16 kB / 0.6548 GB, free: 7.273 MB / 474.7 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.002737/0.5096, allocations: 1.135 MB / 0.6559 GB, free: 6.09 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.583e-05/0.5097, allocations: 11.97 kB / 0.6559 GB, free: 6.078 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00159/0.5113, allocations: 298.7 kB / 0.6562 GB, free: 5.785 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006088/0.5119, allocations: 446.7 kB / 0.6566 GB, free: 5.305 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002377/0.5121, allocations: 209.8 kB / 0.6568 GB, free: 5.07 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.986e-05/0.5122, allocations: 48.34 kB / 0.6569 GB, free: 5.023 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001112/0.5134, allocations: 0.6 MB / 0.6575 GB, free: 4.418 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.417e-05/0.5134, allocations: 0 / 0.6575 GB, free: 4.418 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.669e-05/0.5135, allocations: 23.98 kB / 0.6575 GB, free: 4.395 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.388e-05/0.5135, allocations: 16 kB / 0.6575 GB, free: 4.379 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009954/0.5145, allocations: 0.5675 MB / 0.6581 GB, free: 3.809 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003605/0.5181, allocations: 2.183 MB / 0.6602 GB, free: 1.547 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007922/0.526, allocations: 2.576 MB / 0.6627 GB, free: 14.85 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007822/0.5269, allocations: 391.6 kB / 0.6631 GB, free: 14.46 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.9e-05/0.527, allocations: 8.781 kB / 0.6631 GB, free: 14.45 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007817/0.5277, allocations: 446.1 kB / 0.6635 GB, free: 14 MB / 490.7 MB Notification: Performance of pre-optimization done (n=75): time 3.447e-06/0.5278, allocations: 0 / 0.6635 GB, free: 14 MB / 490.7 MB Notification: Performance of matching and sorting (n=75): time 0.006726/0.5345, allocations: 2.129 MB / 0.6656 GB, free: 11.86 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.225e-05/0.5346, allocations: 68.12 kB / 0.6657 GB, free: 11.78 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006679/0.5352, allocations: 441.1 kB / 0.6661 GB, free: 11.35 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 9.547e-05/0.5353, allocations: 45.69 kB / 0.6661 GB, free: 11.3 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002436/0.5356, allocations: 324.6 kB / 0.6664 GB, free: 10.98 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002646/0.5359, allocations: 248.4 kB / 0.6667 GB, free: 10.73 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.542e-05/0.5359, allocations: 12 kB / 0.6667 GB, free: 10.72 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001611/0.5361, allocations: 386.7 kB / 0.667 GB, free: 10.33 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005177/0.5366, allocations: 313.6 kB / 0.6673 GB, free: 10.02 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006337/0.5372, allocations: 413.1 kB / 0.6677 GB, free: 9.59 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005733/0.5378, allocations: 339.6 kB / 0.6681 GB, free: 9.262 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.5378, allocations: 0 / 0.6681 GB, free: 9.262 MB / 490.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.006395/0.5442, allocations: 2.256 MB / 0.6703 GB, free: 6.988 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.439e-05/0.5443, allocations: 5.875 kB / 0.6703 GB, free: 6.984 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.29e-05/0.5443, allocations: 4 kB / 0.6703 GB, free: 6.98 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003663/0.548, allocations: 0.963 MB / 0.6712 GB, free: 6.008 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005685/0.5486, allocations: 115.8 kB / 0.6713 GB, free: 5.895 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007011/0.5556, allocations: 3.732 MB / 0.675 GB, free: 2.035 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008902/0.5565, allocations: 119.4 kB / 0.6751 GB, free: 1.918 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.437e-05/0.5566, allocations: 24 kB / 0.6751 GB, free: 1.895 MB / 490.7 MB Warning: Assuming fixed start value for the following 4 variables: ultc.y2l0:DISCRETE(fixed = false ) "Loop breaker for when-clauses" type: Boolean ultc.y3l0:DISCRETE(fixed = false ) "Loop breaker for when-clauses" type: Boolean load.xq:VARIABLE(start = 0.0 protected = true ) type: Real load.xp:VARIABLE(start = 0.0 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 ($whenCondition1,$whenCondition2,$PRE.ultc.y2l0,$PRE.ultc.y3l0,ultc.zeroCrossing.y,$PRE.ultc.zeroCrossing.disable,ultc.zeroCrossing.disable,$PRE.ultc.zeroCrossing.u_pos,ultc.zeroCrossing.u_pos,$PRE.ultc.zeroCrossing.enable,ultc.zeroCrossing.enable,$PRE.ultc.m,ultc.m,ultc.y2l0,ultc.y3l0) * Number of discrete 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 (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {10 11} Notification: Performance of prepare postOptimizeDAE: time 0.0002423/0.5568, allocations: 161.4 kB / 0.6753 GB, free: 1.73 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000114/0.557, allocations: 75.06 kB / 0.6753 GB, free: 1.656 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3355/0.8925, allocations: 2.211 MB / 0.6775 GB, free: 112.2 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.721e-05/0.8925, allocations: 11.34 kB / 0.6775 GB, free: 112.2 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.8926, allocations: 1.625 kB / 0.6775 GB, free: 112.2 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.366e-05/0.8926, allocations: 3.328 kB / 0.6775 GB, free: 112.2 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008491/0.9011, allocations: 3.208 MB / 0.6806 GB, free: 111.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.176e-06/0.9011, allocations: 0 / 0.6806 GB, free: 111.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005136/0.9017, allocations: 79.97 kB / 0.6807 GB, free: 111.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003765/0.9054, allocations: 0.9549 MB / 0.6816 GB, free: 111.7 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.551e-05/0.9055, allocations: 20.05 kB / 0.6817 GB, free: 111.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008875/0.9144, allocations: 3.669 MB / 0.6853 GB, free: 110.5 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/0.9145, allocations: 4.469 kB / 0.6853 GB, free: 110.5 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01127/0.9257, allocations: 2.694 MB / 0.6879 GB, free: 110.1 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003355/0.9261, allocations: 155.2 kB / 0.688 GB, free: 110 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001658/0.9263, allocations: 19.53 kB / 0.6881 GB, free: 109.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00102/0.9273, allocations: 79.38 kB / 0.6881 GB, free: 109.9 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006184/0.928, allocations: 149 kB / 0.6883 GB, free: 109.9 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.946e-05/0.9281, allocations: 25.05 kB / 0.6883 GB, free: 109.9 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0006108/0.9287, allocations: 343.4 kB / 0.6886 GB, free: 109.7 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.9287, allocations: 0 / 0.6886 GB, free: 109.7 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001335/0.9301, allocations: 286.2 kB / 0.6889 GB, free: 109.7 MB / 490.7 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) * 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 (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {10 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003142/0.9304, allocations: 135.3 kB / 0.689 GB, free: 109.6 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004806/0.9352, allocations: 1.484 MB / 0.6905 GB, free: 108.9 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.948e-06/0.9352, allocations: 0 / 0.6905 GB, free: 108.9 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003655/0.9389, allocations: 1.094 MB / 0.6915 GB, free: 108.3 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005801/0.9395, allocations: 45.75 kB / 0.6916 GB, free: 108.3 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002653/0.9422, allocations: 0.9129 MB / 0.6925 GB, free: 107.8 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004367/0.9426, allocations: 0.9432 MB / 0.6934 GB, free: 107.1 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0003951/0.943, allocations: 49.45 kB / 0.6934 GB, free: 107.1 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000201/0.9433, allocations: 46.83 kB / 0.6935 GB, free: 107.1 MB / 490.7 MB Notification: Performance of SimCode: time 1.032e-06/0.9433, allocations: 0 / 0.6935 GB, free: 107.1 MB / 490.7 MB Notification: Performance of Templates: time 0.02606/0.9693, allocations: 12.23 MB / 0.7054 GB, free: 101.5 MB / 490.7 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)