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.00592/0.00592, allocations: 106 kB / 15.74 MB, free: 5.578 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.32/1.32, allocations: 222.9 MB / 239.4 MB, free: 4.57 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.00127/0.00127, allocations: 192.5 kB / 289.7 MB, free: 2.281 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5067/0.5067, allocations: 91.89 MB / 431.7 MB, free: 9.184 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001502/0.001502, allocations: 82.03 kB / 0.5727 GB, free: 33.8 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1211/0.1226, allocations: 71.27 MB / 0.6423 GB, free: 3.637 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Branches.Generic.ULTC): time 0.005083/0.1278, allocations: 4.396 MB / 0.6466 GB, free: 15.21 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.002513/0.1303, allocations: 1.239 MB / 0.6478 GB, free: 13.97 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002776/0.1306, allocations: 11.94 kB / 0.6478 GB, free: 13.96 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003724/0.131, allocations: 146.8 kB / 0.648 GB, free: 13.82 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005087/0.1316, allocations: 222 kB / 0.6482 GB, free: 13.6 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001239/0.1328, allocations: 0.5853 MB / 0.6487 GB, free: 13.02 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007832/0.1336, allocations: 0.8057 MB / 0.6495 GB, free: 12.21 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003329/0.1339, allocations: 213.7 kB / 0.6497 GB, free: 11.98 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003156/0.1343, allocations: 330.5 kB / 0.65 GB, free: 11.66 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004743/0.1348, allocations: 414 kB / 0.6504 GB, free: 11.25 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 9.095e-05/0.1349, allocations: 68 kB / 0.6505 GB, free: 11.19 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003076/0.1352, allocations: 135.9 kB / 0.6506 GB, free: 11.05 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001267/0.1353, allocations: 167.3 kB / 0.6508 GB, free: 10.89 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003111/0.1356, allocations: 393.7 kB / 0.6512 GB, free: 10.5 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008408/0.1365, allocations: 0.9108 MB / 0.6521 GB, free: 9.59 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.1365, allocations: 0 / 0.6521 GB, free: 9.59 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.334e-06/0.1365, allocations: 0 / 0.6521 GB, free: 9.59 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.095e-05/0.1365, allocations: 0 / 0.6521 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.004401/0.1409, allocations: 1.577 MB / 0.6536 GB, free: 7.961 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.375e-05/0.141, allocations: 12.03 kB / 0.6536 GB, free: 7.949 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002667/0.1436, allocations: 427.1 kB / 0.654 GB, free: 7.531 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006313/0.1443, allocations: 0.4942 MB / 0.6545 GB, free: 6.996 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002269/0.1445, allocations: 201.8 kB / 0.6547 GB, free: 6.77 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001047/0.1446, allocations: 55.94 kB / 0.6547 GB, free: 6.715 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001433/0.1461, allocations: 0.7013 MB / 0.6554 GB, free: 6.004 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.365e-05/0.1461, allocations: 0 / 0.6554 GB, free: 6.004 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.086e-05/0.1462, allocations: 20 kB / 0.6554 GB, free: 5.984 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.394e-05/0.1462, allocations: 15.94 kB / 0.6555 GB, free: 5.969 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00142/0.1476, allocations: 0.6766 MB / 0.6561 GB, free: 5.293 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003722/0.1514, allocations: 2.152 MB / 0.6582 GB, free: 3.066 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00793/0.1593, allocations: 2.267 MB / 0.6604 GB, free: 0.6797 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009568/0.1603, allocations: 487.1 kB / 0.6609 GB, free: 208 kB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.78e-05/0.1604, allocations: 8.641 kB / 0.6609 GB, free: 200 kB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001127/0.1615, allocations: 0.5275 MB / 0.6614 GB, free: 15.65 MB / 478.1 MB Notification: Performance of pre-optimization done (n=75): time 2.715e-06/0.1615, allocations: 0 / 0.6614 GB, free: 15.65 MB / 478.1 MB Notification: Performance of matching and sorting (n=75): time 0.01349/0.175, allocations: 3.6 MB / 0.6649 GB, free: 11.98 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.744e-05/0.1751, allocations: 64.05 kB / 0.665 GB, free: 11.91 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005645/0.1757, allocations: 0.5108 MB / 0.6655 GB, free: 11.39 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 7.65e-05/0.1757, allocations: 41.7 kB / 0.6655 GB, free: 11.34 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002301/0.176, allocations: 324.6 kB / 0.6658 GB, free: 11.02 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002179/0.1762, allocations: 256.4 kB / 0.6661 GB, free: 10.76 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000229/0.1764, allocations: 122.6 kB / 0.6662 GB, free: 10.63 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001427/0.1766, allocations: 382.8 kB / 0.6666 GB, free: 10.25 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009066/0.1775, allocations: 409.8 kB / 0.667 GB, free: 9.852 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009745/0.1785, allocations: 0.499 MB / 0.6675 GB, free: 9.32 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009236/0.1877, allocations: 2.533 MB / 0.6699 GB, free: 6.754 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.212e-06/0.1878, allocations: 0 / 0.6699 GB, free: 6.754 MB / 478.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.007398/0.1952, allocations: 2.235 MB / 0.6721 GB, free: 4.5 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.507e-05/0.1952, allocations: 12 kB / 0.6721 GB, free: 4.488 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.423e-05/0.1953, allocations: 3.938 kB / 0.6721 GB, free: 4.484 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004096/0.1994, allocations: 0.996 MB / 0.6731 GB, free: 3.48 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005292/0.1999, allocations: 111.8 kB / 0.6732 GB, free: 3.371 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009361/0.2093, allocations: 4.507 MB / 0.6776 GB, free: 14.73 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008252/0.2101, allocations: 95.38 kB / 0.6777 GB, free: 14.64 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6e-05/0.2102, allocations: 24 kB / 0.6777 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.0003931/0.2106, allocations: 219.2 kB / 0.6779 GB, free: 14.39 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001216/0.2107, allocations: 75.06 kB / 0.678 GB, free: 14.32 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007425/0.2182, allocations: 2.181 MB / 0.6801 GB, free: 12.11 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.046e-05/0.2182, allocations: 8 kB / 0.6801 GB, free: 12.1 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.2182, allocations: 0 / 0.6801 GB, free: 12.1 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.272e-05/0.2182, allocations: 3.984 kB / 0.6801 GB, free: 12.1 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008511/0.2267, allocations: 3.186 MB / 0.6833 GB, free: 8.824 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.883e-06/0.2268, allocations: 4 kB / 0.6833 GB, free: 8.82 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004448/0.2272, allocations: 79.89 kB / 0.6833 GB, free: 8.742 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004015/0.2313, allocations: 0.9897 MB / 0.6843 GB, free: 7.742 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.193e-05/0.2314, allocations: 19.98 kB / 0.6843 GB, free: 7.723 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0091/0.2405, allocations: 4.459 MB / 0.6887 GB, free: 3.125 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.2405, allocations: 0 / 0.6887 GB, free: 3.125 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008667/0.2492, allocations: 2.761 MB / 0.6914 GB, free: 340 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002148/0.2494, allocations: 156 kB / 0.6915 GB, free: 164 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001684/0.2496, allocations: 15.98 kB / 0.6915 GB, free: 148 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007068/0.2503, allocations: 63.94 kB / 0.6916 GB, free: 84 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004674/0.2508, allocations: 148.4 kB / 0.6917 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.41e-05/0.2509, allocations: 20 kB / 0.6918 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004215/0.2513, allocations: 358.8 kB / 0.6921 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2513, allocations: 0 / 0.6921 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0008652/0.2522, allocations: 271.7 kB / 0.6924 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.0002386/0.2524, allocations: 127.3 kB / 0.6925 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.004147/0.2566, allocations: 1.597 MB / 0.694 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.2566, allocations: 0.5 kB / 0.694 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.002922/0.2595, allocations: 1.119 MB / 0.6951 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005223/0.2601, allocations: 59 kB / 0.6952 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002362/0.2624, allocations: 1.272 MB / 0.6964 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004661/0.2629, allocations: 0.9237 MB / 0.6973 GB, free: 10.03 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002103/0.2632, allocations: 60.94 kB / 0.6974 GB, free: 9.973 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001405/0.2633, allocations: 51.44 kB / 0.6974 GB, free: 9.926 MB / 0.4981 GB Notification: Performance of SimCode: time 3.11e-07/0.2633, allocations: 7.875 kB / 0.6974 GB, free: 9.918 MB / 0.4981 GB Notification: Performance of Templates: time 0.02208/0.2854, allocations: 14.25 MB / 0.7114 GB, free: 11.66 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)