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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001518/0.001518, allocations: 80.3 kB / 19.18 MB, free: 2.516 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.29/1.29, allocations: 177.2 MB / 199.4 MB, free: 8.43 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001434/0.001434, allocations: 155.6 kB / 256 MB, free: 4.324 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo): time 0.5535/0.5535, allocations: 80.34 MB / 392.7 MB, free: 29.66 MB / 334.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.2.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Tests.Branches.Generic.ULTC,tolerance=0.0001,outputFormat="empty",numberOfIntervals=35000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Branches.Generic.ULTC") translateModel(OpenIPSL.Tests.Branches.Generic.ULTC,tolerance=0.0001,outputFormat="empty",numberOfIntervals=35000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Branches.Generic.ULTC") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.152e-06/1.152e-06, allocations: 3.938 kB / 0.5554 GB, free: 14.22 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.792e-05/1.908e-05, allocations: 5.672 kB / 0.5554 GB, free: 14.21 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Branches.Generic.ULTC): time 0.003819/0.003838, allocations: 3.959 MB / 0.5593 GB, free: 11.53 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001986/0.005825, allocations: 1.231 MB / 0.5605 GB, free: 10.68 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002155/0.00604, allocations: 5.719 kB / 0.5605 GB, free: 10.68 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003228/0.006363, allocations: 144.4 kB / 0.5606 GB, free: 10.6 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004632/0.006826, allocations: 279 kB / 0.5609 GB, free: 10.39 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001021/0.007847, allocations: 0.518 MB / 0.5614 GB, free: 10.1 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006786/0.008525, allocations: 0.8379 MB / 0.5622 GB, free: 9.656 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002275/0.008753, allocations: 138.3 kB / 0.5624 GB, free: 9.578 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004123/0.009165, allocations: 486.3 kB / 0.5628 GB, free: 9.363 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004127/0.009578, allocations: 316.4 kB / 0.5631 GB, free: 9.25 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.189e-05/0.00967, allocations: 63.09 kB / 0.5632 GB, free: 9.25 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003015/0.009971, allocations: 133.9 kB / 0.5633 GB, free: 9.227 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001039/0.01008, allocations: 176.1 kB / 0.5635 GB, free: 9.078 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002206/0.0103, allocations: 253.4 kB / 0.5637 GB, free: 8.93 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007092/0.011, allocations: 0.9372 MB / 0.5646 GB, free: 8.25 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.01101, allocations: 17.23 kB / 0.5647 GB, free: 8.234 MB / 430.1 MB Notification: Performance of FrontEnd: time 7.32e-07/0.01101, allocations: 0 / 0.5647 GB, free: 8.234 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.372e-05/0.01102, allocations: 0 / 0.5647 GB, free: 8.234 MB / 430.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.003948/0.01497, allocations: 1.605 MB / 0.5662 GB, free: 7.18 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.173e-05/0.015, allocations: 10.09 kB / 0.5662 GB, free: 7.18 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002463/0.01747, allocations: 433.8 kB / 0.5666 GB, free: 7 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000514/0.01798, allocations: 445.8 kB / 0.5671 GB, free: 6.617 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001917/0.01817, allocations: 282.4 kB / 0.5673 GB, free: 6.332 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.348e-05/0.01826, allocations: 51.91 kB / 0.5674 GB, free: 6.316 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001252/0.01952, allocations: 0.6938 MB / 0.5681 GB, free: 5.918 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.543e-05/0.01953, allocations: 3.938 kB / 0.5681 GB, free: 5.914 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.365e-05/0.0196, allocations: 25.31 kB / 0.5681 GB, free: 5.895 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.016e-05/0.01961, allocations: 12.72 kB / 0.5681 GB, free: 5.895 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001296/0.0209, allocations: 0.6753 MB / 0.5688 GB, free: 5.57 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002965/0.02387, allocations: 1.725 MB / 0.5704 GB, free: 4.344 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007593/0.03146, allocations: 1.742 MB / 0.5722 GB, free: 3.559 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008532/0.03231, allocations: 437.2 kB / 0.5726 GB, free: 3.344 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.716e-05/0.03238, allocations: 13.55 kB / 0.5726 GB, free: 3.34 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001028/0.03341, allocations: 0.5229 MB / 0.5731 GB, free: 3.02 MB / 430.1 MB Notification: Performance of pre-optimization done (n=75): time 2.134e-06/0.03341, allocations: 1.469 kB / 0.5731 GB, free: 3.02 MB / 430.1 MB Notification: Performance of matching and sorting (n=75): time 0.01245/0.04586, allocations: 3.351 MB / 0.5764 GB, free: 0.6094 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.827e-05/0.04589, allocations: 60.06 kB / 0.5764 GB, free: 0.5391 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004063/0.0463, allocations: 0.5264 MB / 0.5769 GB, free: 8 kB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.584e-05/0.04639, allocations: 41.7 kB / 0.577 GB, free: 15.96 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002713/0.04666, allocations: 333.1 kB / 0.5773 GB, free: 15.63 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002857/0.04695, allocations: 261.8 kB / 0.5775 GB, free: 15.37 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002495/0.0472, allocations: 122.6 kB / 0.5777 GB, free: 15.25 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002348/0.04743, allocations: 386.7 kB / 0.578 GB, free: 14.86 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009602/0.04839, allocations: 409.8 kB / 0.5784 GB, free: 14.46 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001042/0.04944, allocations: 0.4951 MB / 0.5789 GB, free: 13.93 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009694/0.05913, allocations: 2.522 MB / 0.5814 GB, free: 11.38 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.367e-06/0.05914, allocations: 3.984 kB / 0.5814 GB, free: 11.38 MB / 446.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.00781/0.06695, allocations: 2.228 MB / 0.5835 GB, free: 9.129 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.983e-05/0.06697, allocations: 8 kB / 0.5836 GB, free: 9.121 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.124e-05/0.06698, allocations: 7.938 kB / 0.5836 GB, free: 9.113 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004263/0.07124, allocations: 1.009 MB / 0.5845 GB, free: 8.094 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005298/0.07177, allocations: 111.8 kB / 0.5847 GB, free: 7.984 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01005/0.08182, allocations: 4.277 MB / 0.5888 GB, free: 3.617 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007988/0.08262, allocations: 103.5 kB / 0.5889 GB, free: 3.516 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.31e-05/0.08268, allocations: 24 kB / 0.589 GB, free: 3.492 MB / 446.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.0004394/0.08312, allocations: 206.4 kB / 0.5891 GB, free: 3.281 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001338/0.08326, allocations: 83.45 kB / 0.5892 GB, free: 3.199 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007779/0.09103, allocations: 2.158 MB / 0.5913 GB, free: 1.02 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.753e-06/0.09104, allocations: 4 kB / 0.5913 GB, free: 1.016 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.404e-05/0.09106, allocations: 12 kB / 0.5913 GB, free: 1.004 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.448e-06/0.09106, allocations: 3.984 kB / 0.5914 GB, free: 1 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00859/0.09966, allocations: 2.809 MB / 0.5941 GB, free: 14.14 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.09966, allocations: 0 / 0.5941 GB, free: 14.14 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004241/0.1001, allocations: 83.83 kB / 0.5942 GB, free: 14.05 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004197/0.1043, allocations: 1 MB / 0.5952 GB, free: 13.05 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.451e-05/0.1043, allocations: 12 kB / 0.5952 GB, free: 13.04 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009726/0.1141, allocations: 4.236 MB / 0.5993 GB, free: 8.699 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.265e-06/0.1141, allocations: 0 / 0.5993 GB, free: 8.699 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008776/0.1228, allocations: 2.742 MB / 0.602 GB, free: 5.934 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001963/0.123, allocations: 83.39 kB / 0.6021 GB, free: 5.852 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001083/0.1232, allocations: 16 kB / 0.6021 GB, free: 5.836 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006234/0.1238, allocations: 51.94 kB / 0.6021 GB, free: 5.785 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004298/0.1242, allocations: 164.3 kB / 0.6023 GB, free: 5.621 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.958e-05/0.1243, allocations: 20 kB / 0.6023 GB, free: 5.602 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0004177/0.1247, allocations: 350.8 kB / 0.6026 GB, free: 5.262 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1247, allocations: 4 kB / 0.6026 GB, free: 5.258 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0008118/0.1255, allocations: 275.8 kB / 0.6029 GB, free: 4.988 MB / 462.1 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) * 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.0002127/0.1257, allocations: 111.2 kB / 0.603 GB, free: 4.871 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004032/0.1297, allocations: 1.392 MB / 0.6044 GB, free: 3.461 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.1297, allocations: 4.125 kB / 0.6044 GB, free: 3.457 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002861/0.1326, allocations: 0.929 MB / 0.6053 GB, free: 2.508 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005059/0.1331, allocations: 74.02 kB / 0.6053 GB, free: 2.438 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002444/0.1356, allocations: 1.252 MB / 0.6066 GB, free: 1.16 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003235/0.1359, allocations: 336.4 kB / 0.6069 GB, free: 0.8086 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0001935/0.1361, allocations: 56.95 kB / 0.6069 GB, free: 0.7539 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001514/0.1362, allocations: 48.48 kB / 0.607 GB, free: 0.707 MB / 462.1 MB Notification: Performance of SimCode: time 1.173e-06/0.1362, allocations: 0 / 0.607 GB, free: 0.707 MB / 462.1 MB Notification: Performance of Templates: time 0.02458/0.1608, allocations: 14.57 MB / 0.6212 GB, free: 2.176 MB / 478.1 MB " [Timeout remaining time 660] make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Branches.Generic.ULTC.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.723331116139889] Failed to read output from testmodel.py, exit status != 0: 0.16846038773655891 0.18294529 0.169047844 Calling exit ...