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.00135/0.00135, allocations: 109.8 kB / 16.41 MB, free: 6.035 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.424/1.424, allocations: 222.9 MB / 240.1 MB, free: 4.379 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.001617/0.001616, allocations: 188.5 kB / 290.4 MB, free: 2.109 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5444/0.5444, allocations: 91.9 MB / 432.4 MB, free: 9.191 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001497/0.001497, allocations: 84.3 kB / 0.5734 GB, free: 33.5 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1674/0.1689, allocations: 71.28 MB / 0.643 GB, free: 3.633 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Branches.Generic.ULTC): time 0.005801/0.1748, allocations: 4.391 MB / 0.6473 GB, free: 15.21 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.002933/0.1778, allocations: 1.247 MB / 0.6485 GB, free: 13.96 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006736/0.1785, allocations: 4 kB / 0.6485 GB, free: 13.96 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006096/0.1791, allocations: 146.8 kB / 0.6486 GB, free: 13.82 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001007/0.1801, allocations: 226 kB / 0.6488 GB, free: 13.59 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001613/0.1818, allocations: 0.5802 MB / 0.6494 GB, free: 13.02 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001223/0.183, allocations: 0.8135 MB / 0.6502 GB, free: 12.2 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000387/0.1834, allocations: 197.8 kB / 0.6504 GB, free: 11.99 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000372/0.1838, allocations: 338.5 kB / 0.6507 GB, free: 11.66 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004849/0.1843, allocations: 414 kB / 0.6511 GB, free: 11.25 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 9.584e-05/0.1844, allocations: 64 kB / 0.6512 GB, free: 11.19 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003386/0.1847, allocations: 139.9 kB / 0.6513 GB, free: 11.05 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001417/0.1849, allocations: 167.3 kB / 0.6515 GB, free: 10.89 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004117/0.1853, allocations: 389.7 kB / 0.6518 GB, free: 10.51 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009418/0.1863, allocations: 0.9147 MB / 0.6527 GB, free: 9.59 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.1863, allocations: 0 / 0.6527 GB, free: 9.59 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.1863, allocations: 0 / 0.6527 GB, free: 9.59 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.145e-05/0.1863, allocations: 0 / 0.6527 GB, free: 9.59 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.004422/0.1907, allocations: 1.572 MB / 0.6543 GB, free: 7.965 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.309e-05/0.1908, allocations: 12.03 kB / 0.6543 GB, free: 7.953 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002546/0.1933, allocations: 427.1 kB / 0.6547 GB, free: 7.535 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007302/0.1941, allocations: 0.4981 MB / 0.6552 GB, free: 6.996 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002513/0.1943, allocations: 201.7 kB / 0.6554 GB, free: 6.77 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001076/0.1945, allocations: 55.94 kB / 0.6554 GB, free: 6.715 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001365/0.1958, allocations: 0.6975 MB / 0.6561 GB, free: 6.008 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.663e-05/0.1959, allocations: 0 / 0.6561 GB, free: 6.008 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.001e-05/0.1959, allocations: 23.98 kB / 0.6561 GB, free: 5.984 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.548e-05/0.196, allocations: 19.92 kB / 0.6561 GB, free: 5.965 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001452/0.1974, allocations: 0.6805 MB / 0.6568 GB, free: 5.285 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003806/0.2012, allocations: 2.148 MB / 0.6589 GB, free: 3.062 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0076/0.2088, allocations: 2.259 MB / 0.6611 GB, free: 0.6836 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009171/0.2098, allocations: 493.4 kB / 0.6616 GB, free: 208 kB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.2e-05/0.2099, allocations: 8.656 kB / 0.6616 GB, free: 200 kB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001126/0.211, allocations: 0.5313 MB / 0.6621 GB, free: 15.65 MB / 478.1 MB Notification: Performance of pre-optimization done (n=75): time 3.045e-06/0.211, allocations: 0 / 0.6621 GB, free: 15.65 MB / 478.1 MB Notification: Performance of matching and sorting (n=75): time 0.01287/0.2239, allocations: 3.596 MB / 0.6656 GB, free: 11.98 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.179e-05/0.224, allocations: 60.06 kB / 0.6657 GB, free: 11.91 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006545/0.2246, allocations: 0.5147 MB / 0.6662 GB, free: 11.39 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 6.916e-05/0.2247, allocations: 41.7 kB / 0.6662 GB, free: 11.34 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002561/0.225, allocations: 332.6 kB / 0.6665 GB, free: 11.01 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002453/0.2252, allocations: 244.4 kB / 0.6668 GB, free: 10.77 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002317/0.2255, allocations: 126.6 kB / 0.6669 GB, free: 10.63 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000193/0.2257, allocations: 382.8 kB / 0.6672 GB, free: 10.25 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000861/0.2265, allocations: 409.8 kB / 0.6676 GB, free: 9.852 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009263/0.2275, allocations: 0.5068 MB / 0.6681 GB, free: 9.312 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008498/0.236, allocations: 2.522 MB / 0.6706 GB, free: 6.754 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.521e-06/0.236, allocations: 0 / 0.6706 GB, free: 6.754 MB / 478.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.006979/0.243, allocations: 2.241 MB / 0.6728 GB, free: 4.496 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.775e-05/0.243, allocations: 8 kB / 0.6728 GB, free: 4.488 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.091e-05/0.243, allocations: 3.938 kB / 0.6728 GB, free: 4.484 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003773/0.2468, allocations: 0.9976 MB / 0.6738 GB, free: 3.477 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005397/0.2474, allocations: 107.8 kB / 0.6739 GB, free: 3.371 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009081/0.2565, allocations: 4.507 MB / 0.6783 GB, free: 14.73 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007457/0.2572, allocations: 91.38 kB / 0.6784 GB, free: 14.64 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.847e-05/0.2573, allocations: 31.98 kB / 0.6784 GB, free: 14.61 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.0003823/0.2577, allocations: 215.2 kB / 0.6786 GB, free: 14.39 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001209/0.2578, allocations: 75.06 kB / 0.6787 GB, free: 14.32 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006905/0.2647, allocations: 2.181 MB / 0.6808 GB, free: 12.11 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.394e-06/0.2647, allocations: 4 kB / 0.6808 GB, free: 12.11 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.2648, allocations: 4 kB / 0.6808 GB, free: 12.1 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.098e-05/0.2648, allocations: 3.984 kB / 0.6808 GB, free: 12.1 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008062/0.2729, allocations: 3.198 MB / 0.6839 GB, free: 8.812 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/0.2729, allocations: 0 / 0.6839 GB, free: 8.812 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003904/0.2733, allocations: 71.91 kB / 0.684 GB, free: 8.742 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003703/0.277, allocations: 1.001 MB / 0.685 GB, free: 7.734 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.796e-05/0.2771, allocations: 19.94 kB / 0.685 GB, free: 7.715 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008881/0.286, allocations: 4.451 MB / 0.6893 GB, free: 3.125 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.286, allocations: 0 / 0.6893 GB, free: 3.125 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007865/0.2939, allocations: 2.768 MB / 0.692 GB, free: 332 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002177/0.2941, allocations: 152.1 kB / 0.6922 GB, free: 160 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.454e-05/0.2942, allocations: 19.94 kB / 0.6922 GB, free: 140 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005761/0.2948, allocations: 55.94 kB / 0.6923 GB, free: 84 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004235/0.2953, allocations: 160.4 kB / 0.6924 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.21e-05/0.2953, allocations: 20 kB / 0.6924 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004106/0.2957, allocations: 350.8 kB / 0.6928 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2957, allocations: 0 / 0.6928 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0008706/0.2966, allocations: 271.7 kB / 0.693 GB, free: 15.3 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.0002657/0.2969, allocations: 127.3 kB / 0.6931 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003862/0.3008, allocations: 1.593 MB / 0.6947 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.3008, allocations: 4.062 kB / 0.6947 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.002641/0.3034, allocations: 1.107 MB / 0.6958 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005046/0.3039, allocations: 68.23 kB / 0.6959 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002461/0.3064, allocations: 1.313 MB / 0.6971 GB, free: 10.94 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000518/0.3069, allocations: 0.9276 MB / 0.698 GB, free: 9.98 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001869/0.3071, allocations: 55.42 kB / 0.6981 GB, free: 9.93 MB / 0.4981 GB Notification: Performance of SimCode: time 8.61e-07/0.3071, allocations: 0 / 0.6981 GB, free: 9.93 MB / 0.4981 GB Notification: Performance of Templates: time 0.02135/0.3285, allocations: 18.1 MB / 0.7158 GB, free: 7.797 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)