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.005255/0.005255, allocations: 101.5 kB / 15.73 MB, free: 6.492 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.308/1.308, allocations: 222.9 MB / 239.4 MB, free: 4.551 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.001289/0.001289, allocations: 187.7 kB / 289.7 MB, free: 2.266 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4984/0.4984, allocations: 91.9 MB / 431.7 MB, free: 9.191 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001446/0.001446, allocations: 82.34 kB / 0.5727 GB, free: 33.59 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1135/0.1149, 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.004749/0.1197, allocations: 4.4 MB / 0.6466 GB, free: 15.21 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001978/0.1217, allocations: 1.235 MB / 0.6478 GB, free: 13.97 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001906/0.1219, allocations: 4 kB / 0.6478 GB, free: 13.97 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003278/0.1222, allocations: 146.8 kB / 0.6479 GB, free: 13.82 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004898/0.1228, allocations: 270 kB / 0.6482 GB, free: 13.56 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001175/0.1239, allocations: 0.5772 MB / 0.6488 GB, free: 12.98 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006974/0.1247, allocations: 0.8096 MB / 0.6496 GB, free: 12.17 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002907/0.125, allocations: 205.7 kB / 0.6498 GB, free: 11.96 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002797/0.1252, allocations: 330.5 kB / 0.6501 GB, free: 11.63 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004349/0.1257, allocations: 422 kB / 0.6505 GB, free: 11.22 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 8.823e-05/0.1258, allocations: 64 kB / 0.6505 GB, free: 11.16 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000257/0.126, allocations: 131.9 kB / 0.6507 GB, free: 11.03 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001394/0.1262, allocations: 171.3 kB / 0.6508 GB, free: 10.86 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003219/0.1265, allocations: 393.7 kB / 0.6512 GB, free: 10.47 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008038/0.1273, allocations: 0.9147 MB / 0.6521 GB, free: 9.555 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.1273, allocations: 0 / 0.6521 GB, free: 9.555 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.1274, allocations: 0 / 0.6521 GB, free: 9.555 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.379e-05/0.1274, allocations: 0 / 0.6521 GB, free: 9.555 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.004379/0.1318, allocations: 1.572 MB / 0.6536 GB, free: 7.93 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.338e-05/0.1318, allocations: 8.031 kB / 0.6536 GB, free: 7.922 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002706/0.1345, allocations: 427.1 kB / 0.654 GB, free: 7.504 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000598/0.1351, allocations: 0.4981 MB / 0.6545 GB, free: 6.965 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002223/0.1354, allocations: 197.8 kB / 0.6547 GB, free: 6.742 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.946e-05/0.1355, allocations: 59.94 kB / 0.6548 GB, free: 6.684 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001459/0.1369, allocations: 0.6974 MB / 0.6555 GB, free: 5.977 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.306e-05/0.137, allocations: 0 / 0.6555 GB, free: 5.977 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.048e-05/0.137, allocations: 24 kB / 0.6555 GB, free: 5.953 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.396e-05/0.1371, allocations: 19.94 kB / 0.6555 GB, free: 5.934 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001454/0.1385, allocations: 0.6727 MB / 0.6562 GB, free: 5.262 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003605/0.1421, allocations: 2.152 MB / 0.6583 GB, free: 3.035 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008198/0.1503, allocations: 2.267 MB / 0.6605 GB, free: 0.6484 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009784/0.1513, allocations: 488.5 kB / 0.6609 GB, free: 176 kB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.752e-05/0.1514, allocations: 16.62 kB / 0.6609 GB, free: 160 kB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001179/0.1526, allocations: 0.5196 MB / 0.6615 GB, free: 15.62 MB / 478.1 MB Notification: Performance of pre-optimization done (n=75): time 2.334e-06/0.1526, allocations: 0 / 0.6615 GB, free: 15.62 MB / 478.1 MB Notification: Performance of matching and sorting (n=75): time 0.01385/0.1665, allocations: 3.6 MB / 0.665 GB, free: 11.95 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.645e-05/0.1665, allocations: 63.98 kB / 0.665 GB, free: 11.88 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005574/0.1671, allocations: 0.5108 MB / 0.6655 GB, free: 11.36 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 7.174e-05/0.1672, allocations: 41.7 kB / 0.6656 GB, free: 11.31 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002137/0.1674, allocations: 324.6 kB / 0.6659 GB, free: 10.98 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002102/0.1676, allocations: 252.4 kB / 0.6661 GB, free: 10.73 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002307/0.1679, allocations: 126.6 kB / 0.6662 GB, free: 10.6 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001486/0.168, allocations: 386.8 kB / 0.6666 GB, free: 10.21 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000902/0.1689, allocations: 405.8 kB / 0.667 GB, free: 9.82 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009905/0.1699, allocations: 0.5029 MB / 0.6675 GB, free: 9.285 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009169/0.1791, allocations: 2.525 MB / 0.67 GB, free: 6.727 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.073e-06/0.1791, allocations: 4 kB / 0.67 GB, free: 6.723 MB / 478.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.007467/0.1866, allocations: 2.235 MB / 0.6721 GB, free: 4.469 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.268e-05/0.1867, allocations: 8 kB / 0.6721 GB, free: 4.461 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.102e-05/0.1867, allocations: 3.938 kB / 0.6722 GB, free: 4.457 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004179/0.1909, allocations: 0.9976 MB / 0.6731 GB, free: 3.449 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000581/0.1915, allocations: 115.8 kB / 0.6732 GB, free: 3.336 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009966/0.2014, allocations: 4.502 MB / 0.6776 GB, free: 14.7 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008082/0.2023, allocations: 99.38 kB / 0.6777 GB, free: 14.6 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.501e-05/0.2024, allocations: 24 kB / 0.6778 GB, free: 14.58 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.0003594/0.2027, allocations: 223.2 kB / 0.678 GB, free: 14.36 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001135/0.2029, allocations: 75.06 kB / 0.678 GB, free: 14.28 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007405/0.2103, allocations: 2.169 MB / 0.6802 GB, free: 12.09 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.849e-06/0.2103, allocations: 11.94 kB / 0.6802 GB, free: 12.07 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.2103, allocations: 4 kB / 0.6802 GB, free: 12.07 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.086e-05/0.2103, allocations: 3.984 kB / 0.6802 GB, free: 12.07 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008502/0.2188, allocations: 3.19 MB / 0.6833 GB, free: 8.789 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-06/0.2189, allocations: 0 / 0.6833 GB, free: 8.789 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004455/0.2193, allocations: 79.89 kB / 0.6834 GB, free: 8.711 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004075/0.2234, allocations: 0.9936 MB / 0.6843 GB, free: 7.707 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.766e-05/0.2235, allocations: 15.98 kB / 0.6844 GB, free: 7.691 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009517/0.233, allocations: 4.463 MB / 0.6887 GB, free: 3.09 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.2331, allocations: 0 / 0.6887 GB, free: 3.09 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008599/0.2417, allocations: 2.761 MB / 0.6914 GB, free: 304 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002144/0.2419, allocations: 152.1 kB / 0.6915 GB, free: 132 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001104/0.2421, allocations: 23.92 kB / 0.6916 GB, free: 108 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006133/0.2427, allocations: 59.94 kB / 0.6916 GB, free: 48 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004371/0.2431, allocations: 152.5 kB / 0.6918 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.006e-05/0.2432, allocations: 16 kB / 0.6918 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003781/0.2436, allocations: 358.8 kB / 0.6921 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2436, allocations: 0 / 0.6921 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0007875/0.2444, allocations: 271.7 kB / 0.6924 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.0002048/0.2446, allocations: 124.3 kB / 0.6925 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.004001/0.2486, allocations: 1.601 MB / 0.6941 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.2486, allocations: 0 / 0.6941 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.00284/0.2515, allocations: 1.119 MB / 0.6952 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.0005355/0.252, allocations: 59 kB / 0.6952 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002395/0.2544, allocations: 1.276 MB / 0.6965 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004315/0.2549, allocations: 0.9276 MB / 0.6974 GB, free: 9.988 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002154/0.2551, allocations: 60.94 kB / 0.6974 GB, free: 9.93 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001337/0.2552, allocations: 47.44 kB / 0.6975 GB, free: 9.887 MB / 0.4981 GB Notification: Performance of SimCode: time 2.244e-06/0.2552, allocations: 0 / 0.6975 GB, free: 9.887 MB / 0.4981 GB Notification: Performance of Templates: time 0.02035/0.2756, allocations: 14.24 MB / 0.7114 GB, free: 11.63 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)