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.001464/0.001464, allocations: 107.8 kB / 16.41 MB, free: 6.457 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.4/1.4, allocations: 222.9 MB / 240.1 MB, free: 4.5 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.00125/0.00125, allocations: 192.5 kB / 290.4 MB, free: 2.227 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5123/0.5123, allocations: 91.91 MB / 432.4 MB, free: 9.168 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001474/0.001474, allocations: 73.05 kB / 0.5734 GB, free: 33.53 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1064/0.1079, allocations: 71.28 MB / 0.643 GB, free: 3.594 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Branches.Generic.ULTC): time 0.004818/0.1127, allocations: 4.386 MB / 0.6473 GB, free: 15.18 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.002048/0.1148, allocations: 1.243 MB / 0.6485 GB, free: 13.93 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002009/0.115, allocations: 8 kB / 0.6485 GB, free: 13.93 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003246/0.1153, allocations: 142.8 kB / 0.6486 GB, free: 13.79 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004828/0.1158, allocations: 262 kB / 0.6489 GB, free: 13.53 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001192/0.117, allocations: 0.5857 MB / 0.6494 GB, free: 12.95 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007264/0.1178, allocations: 0.8096 MB / 0.6502 GB, free: 12.13 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002989/0.1181, allocations: 209.7 kB / 0.6504 GB, free: 11.91 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002951/0.1184, allocations: 334.5 kB / 0.6508 GB, free: 11.59 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004624/0.1188, allocations: 418 kB / 0.6512 GB, free: 11.18 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 9.081e-05/0.1189, allocations: 60 kB / 0.6512 GB, free: 11.12 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002853/0.1192, allocations: 135.9 kB / 0.6513 GB, free: 10.98 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001399/0.1194, allocations: 175.3 kB / 0.6515 GB, free: 10.81 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003299/0.1197, allocations: 389.7 kB / 0.6519 GB, free: 10.43 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008293/0.1206, allocations: 0.9108 MB / 0.6528 GB, free: 9.516 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.1206, allocations: 0 / 0.6528 GB, free: 9.516 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1206, allocations: 4 kB / 0.6528 GB, free: 9.512 MB / 462.1 MB Notification: Performance of Transformations before backend: time 8.976e-06/0.1206, allocations: 0 / 0.6528 GB, free: 9.512 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.004467/0.1251, allocations: 1.572 MB / 0.6543 GB, free: 7.887 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.703e-05/0.1251, allocations: 8.031 kB / 0.6543 GB, free: 7.879 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0027/0.1278, allocations: 427.1 kB / 0.6547 GB, free: 7.461 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006099/0.1285, allocations: 0.4981 MB / 0.6552 GB, free: 6.922 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002174/0.1287, allocations: 197.8 kB / 0.6554 GB, free: 6.699 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001097/0.1288, allocations: 59.94 kB / 0.6555 GB, free: 6.641 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001457/0.1303, allocations: 0.7013 MB / 0.6561 GB, free: 5.93 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.364e-05/0.1303, allocations: 0 / 0.6561 GB, free: 5.93 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.069e-05/0.1304, allocations: 20 kB / 0.6562 GB, free: 5.91 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.467e-05/0.1304, allocations: 19.94 kB / 0.6562 GB, free: 5.891 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001433/0.1318, allocations: 0.6766 MB / 0.6568 GB, free: 5.215 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0036/0.1354, allocations: 2.148 MB / 0.6589 GB, free: 2.992 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00824/0.1437, allocations: 2.263 MB / 0.6611 GB, free: 0.6094 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001007/0.1447, allocations: 491.1 kB / 0.6616 GB, free: 132 kB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.614e-05/0.1448, allocations: 8.656 kB / 0.6616 GB, free: 124 kB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001185/0.146, allocations: 0.5196 MB / 0.6621 GB, free: 15.59 MB / 478.1 MB Notification: Performance of pre-optimization done (n=75): time 2.765e-06/0.146, allocations: 0 / 0.6621 GB, free: 15.59 MB / 478.1 MB Notification: Performance of matching and sorting (n=75): time 0.01388/0.1599, allocations: 3.608 MB / 0.6657 GB, free: 11.91 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.567e-05/0.1599, allocations: 56.06 kB / 0.6657 GB, free: 11.84 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000547/0.1605, allocations: 0.5108 MB / 0.6662 GB, free: 11.32 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 7.64e-05/0.1606, allocations: 45.69 kB / 0.6662 GB, free: 11.27 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002294/0.1608, allocations: 324.6 kB / 0.6666 GB, free: 10.95 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000219/0.161, allocations: 252.4 kB / 0.6668 GB, free: 10.7 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002444/0.1613, allocations: 122.6 kB / 0.6669 GB, free: 10.57 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001518/0.1615, allocations: 386.8 kB / 0.6673 GB, free: 10.18 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000923/0.1624, allocations: 405.8 kB / 0.6677 GB, free: 9.785 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009797/0.1634, allocations: 0.5029 MB / 0.6682 GB, free: 9.25 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009538/0.1729, allocations: 2.529 MB / 0.6706 GB, free: 6.688 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.891e-06/0.1729, allocations: 4 kB / 0.6706 GB, free: 6.684 MB / 478.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.007701/0.1807, allocations: 2.231 MB / 0.6728 GB, free: 4.434 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.1807, allocations: 8 kB / 0.6728 GB, free: 4.426 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.1807, allocations: 0 / 0.6728 GB, free: 4.426 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004169/0.1849, allocations: 1.005 MB / 0.6738 GB, free: 3.41 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000505/0.1854, allocations: 111.8 kB / 0.6739 GB, free: 3.301 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00954/0.1949, allocations: 4.502 MB / 0.6783 GB, free: 14.66 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007183/0.1957, allocations: 99.38 kB / 0.6784 GB, free: 14.57 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.476e-05/0.1958, allocations: 28 kB / 0.6784 GB, free: 14.54 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.0003343/0.1961, allocations: 215.2 kB / 0.6786 GB, free: 14.32 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001287/0.1962, allocations: 75.06 kB / 0.6787 GB, free: 14.25 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007539/0.2038, allocations: 2.173 MB / 0.6808 GB, free: 12.05 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.114e-05/0.2038, allocations: 3.984 kB / 0.6808 GB, free: 12.04 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.2038, allocations: 4 kB / 0.6808 GB, free: 12.04 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000157/0.204, allocations: 156 kB / 0.681 GB, free: 11.87 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001183/0.2041, allocations: 23.98 kB / 0.681 GB, free: 11.84 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000589/0.2047, allocations: 59.88 kB / 0.6811 GB, free: 11.79 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005725/0.2053, allocations: 252.3 kB / 0.6813 GB, free: 11.54 MB / 494.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003944/0.2092, allocations: 1.35 MB / 0.6826 GB, free: 10.18 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002995/0.2122, allocations: 1.538 MB / 0.6841 GB, free: 8.625 MB / 494.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000895/0.2132, allocations: 393 kB / 0.6845 GB, free: 8.242 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0003716/0.2135, allocations: 354.8 kB / 0.6848 GB, free: 7.898 MB / 494.1 MB Notification: Performance of Backend: time 4.21e-07/0.2135, allocations: 4 kB / 0.6848 GB, free: 7.895 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0037/0.2172, allocations: 1.329 MB / 0.6861 GB, free: 6.504 MB / 494.1 MB Notification: Performance of SimCode: time 0.001925/0.2192, allocations: 1.784 MB / 0.6879 GB, free: 4.668 MB / 494.1 MB Notification: Performance of Templates: time 0.0215/0.2407, allocations: 13.72 MB / 0.7013 GB, free: 6.934 MB / 0.4981 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)