Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.LimitersHomotopy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Blocks.LimitersHomotopy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|controllerFeedbackPart1.y|controllerFeedbackPart2.y|controllerFeedbackPart3.y|controllerFeedbackPart4.y|controllerFeedbackPart5.y|controllerFeedbackPart6.y|firstOrder1.y|firstOrder2.y|firstOrder3.y|firstOrder4.y|firstOrder5.y|firstOrder6.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.LimitersHomotopy") translateModel(ModelicaTest.Blocks.LimitersHomotopy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|controllerFeedbackPart1.y|controllerFeedbackPart2.y|controllerFeedbackPart3.y|controllerFeedbackPart4.y|controllerFeedbackPart5.y|controllerFeedbackPart6.y|firstOrder1.y|firstOrder2.y|firstOrder3.y|firstOrder4.y|firstOrder5.y|firstOrder6.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.LimitersHomotopy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001376/0.001376, allocations: 105.8 kB / 18.3 MB, free: 4.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00136/0.00136, allocations: 207.8 kB / 19.25 MB, free: 3.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.425/1.425, allocations: 227.4 MB / 247.5 MB, free: 10.61 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2409/0.2409, allocations: 46.11 MB / 344.8 MB, free: 11.58 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00223/0.002231, allocations: 79.36 kB / 418.3 MB, free: 19.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1319/0.1342, allocations: 62.45 MB / 480.8 MB, free: 5.258 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.LimitersHomotopy): time 0.004863/0.1391, allocations: 3.028 MB / 483.8 MB, free: 2.215 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00235/0.1415, allocations: 1.017 MB / 484.8 MB, free: 1.191 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003033/0.1418, allocations: 11.94 kB / 484.8 MB, free: 1.18 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001595/0.142, allocations: 67.14 kB / 484.9 MB, free: 1.113 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002693/0.1423, allocations: 83.02 kB / 485 MB, free: 1.031 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009603/0.1433, allocations: 367.4 kB / 485.3 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006325/0.1439, allocations: 0.57 MB / 485.9 MB, free: 100 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003901/0.1443, allocations: 231.8 kB / 486.1 MB, free: 15.87 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003458/0.1447, allocations: 231.1 kB / 486.3 MB, free: 15.64 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002708/0.145, allocations: 262.7 kB / 486.6 MB, free: 15.38 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.166e-05/0.145, allocations: 48 kB / 486.6 MB, free: 15.34 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001135/0.1452, allocations: 52 kB / 486.7 MB, free: 15.29 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001157/0.1453, allocations: 123.5 kB / 486.8 MB, free: 15.16 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002259/0.1455, allocations: 262.5 kB / 487.1 MB, free: 14.91 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005527/0.1461, allocations: 0.5101 MB / 487.6 MB, free: 14.39 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.1461, allocations: 0 / 487.6 MB, free: 14.39 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.704e-06/0.1461, allocations: 0 / 487.6 MB, free: 14.39 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.707e-06/0.1461, allocations: 0 / 487.6 MB, free: 14.39 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 109 * Number of variables: 109 Notification: Performance of Generate backend data structure: time 0.001864/0.148, allocations: 0.939 MB / 488.5 MB, free: 13.41 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/0.148, allocations: 8.031 kB / 488.5 MB, free: 13.4 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003038/0.1483, allocations: 80.17 kB / 488.6 MB, free: 13.32 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004948/0.1488, allocations: 385.8 kB / 489 MB, free: 12.9 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.763e-05/0.1489, allocations: 37.38 kB / 489 MB, free: 12.87 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.363e-05/0.149, allocations: 48.38 kB / 489.1 MB, free: 12.82 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001364/0.1504, allocations: 0.6062 MB / 489.7 MB, free: 12.17 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.917e-05/0.1504, allocations: 7.938 kB / 489.7 MB, free: 12.16 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.155e-05/0.1505, allocations: 20 kB / 489.7 MB, free: 12.14 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.74e-05/0.1505, allocations: 12 kB / 489.7 MB, free: 12.13 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001618/0.1521, allocations: 0.51 MB / 490.2 MB, free: 11.62 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002953/0.1551, allocations: 1.804 MB / 492 MB, free: 9.738 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001698/0.1568, allocations: 0.6191 MB / 492.6 MB, free: 9.055 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008809/0.1577, allocations: 333.8 kB / 493 MB, free: 8.707 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.927e-05/0.1578, allocations: 7.984 kB / 493 MB, free: 8.699 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.715e-05/0.1578, allocations: 50.5 kB / 493 MB, free: 8.641 MB / 366.1 MB Notification: Performance of pre-optimization done (n=43): time 2.364e-06/0.1578, allocations: 0 / 493 MB, free: 8.641 MB / 366.1 MB Notification: Performance of matching and sorting (n=43): time 0.002746/0.1606, allocations: 0.7832 MB / 493.8 MB, free: 7.852 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001769/0.1608, allocations: 290.7 kB / 494.1 MB, free: 7.5 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004233/0.1612, allocations: 345.7 kB / 494.4 MB, free: 7.148 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.946e-05/0.1612, allocations: 33.7 kB / 494.5 MB, free: 7.109 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002143/0.1615, allocations: 260.4 kB / 494.7 MB, free: 6.852 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001559/0.1616, allocations: 161.6 kB / 494.9 MB, free: 6.691 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001616/0.1618, allocations: 98.23 kB / 495 MB, free: 6.59 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001879/0.162, allocations: 358.7 kB / 495.3 MB, free: 6.23 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008116/0.1628, allocations: 242.9 kB / 495.6 MB, free: 5.992 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009369/0.1638, allocations: 372.8 kB / 495.9 MB, free: 5.57 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001654/0.1654, allocations: 0.5783 MB / 496.5 MB, free: 4.945 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.1654, allocations: 0 / 496.5 MB, free: 4.945 MB / 366.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.003812/0.1693, allocations: 1.133 MB / 497.6 MB, free: 3.785 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.686e-05/0.1693, allocations: 4 kB / 497.6 MB, free: 3.781 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.569e-05/0.1693, allocations: 4 kB / 497.6 MB, free: 3.777 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001968/0.1713, allocations: 476.8 kB / 498.1 MB, free: 3.293 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005189/0.1719, allocations: 95.84 kB / 498.2 MB, free: 3.199 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01678/0.1886, allocations: 12.92 MB / 0.4991 GB, free: 5.305 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000678/0.1894, allocations: 99.44 kB / 0.4992 GB, free: 5.207 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.283e-05/0.1894, allocations: 20 kB / 0.4993 GB, free: 5.188 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008153/0.1903, allocations: 317.4 kB / 0.4996 GB, free: 4.875 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007496/0.191, allocations: 340.8 kB / 0.4999 GB, free: 4.488 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001378/0.1924, allocations: 0.5124 MB / 0.5004 GB, free: 3.93 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.13e-06/0.1924, allocations: 3.984 kB / 0.5004 GB, free: 3.926 MB / 382.1 MB Notification: Performance of matching and sorting (n=63) (initialization_lambda0): time 0.002246/0.1947, allocations: 0.7439 MB / 0.5011 GB, free: 3.168 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/0.1947, allocations: 4 kB / 0.5011 GB, free: 3.164 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.1947, allocations: 4 kB / 0.5011 GB, free: 3.16 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000678/0.1954, allocations: 162 kB / 0.5013 GB, free: 2.996 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007352/0.1962, allocations: 183.8 kB / 0.5015 GB, free: 2.816 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2259/0.4221, allocations: 3.817 MB / 0.5052 GB, free: 37.99 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006068/0.4227, allocations: 84.81 kB / 0.5053 GB, free: 37.99 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.852e-05/0.4228, allocations: 19.7 kB / 0.5053 GB, free: 37.99 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * 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): 6 systems {(2,4), (2,4), (2,4), (2,4), (2,4), (2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0002136/0.423, allocations: 215.5 kB / 0.5055 GB, free: 37.81 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002041/0.4232, allocations: 51.94 kB / 0.5055 GB, free: 37.81 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00197/0.4252, allocations: 0.6284 MB / 0.5061 GB, free: 37.77 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.117e-06/0.4252, allocations: 10.28 kB / 0.5062 GB, free: 37.77 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.4252, allocations: 6.438 kB / 0.5062 GB, free: 37.77 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.025e-05/0.4252, allocations: 3.516 kB / 0.5062 GB, free: 37.77 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009336/0.4262, allocations: 496.4 kB / 0.5066 GB, free: 37.58 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.59e-06/0.4262, allocations: 1.922 kB / 0.5066 GB, free: 37.58 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006867/0.4269, allocations: 125.7 kB / 0.5068 GB, free: 37.58 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.651e-05/0.427, allocations: 16.09 kB / 0.5068 GB, free: 37.57 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.481e-05/0.427, allocations: 14.25 kB / 0.5068 GB, free: 37.57 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007626/0.4278, allocations: 1.398 MB / 0.5082 GB, free: 36.22 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.077e-06/0.4278, allocations: 5.656 kB / 0.5082 GB, free: 36.22 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002647/0.4305, allocations: 1.403 MB / 0.5095 GB, free: 35.63 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.282e-05/0.4306, allocations: 123.1 kB / 0.5096 GB, free: 35.54 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.244e-05/0.4306, allocations: 13.02 kB / 0.5097 GB, free: 35.54 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006897/0.4313, allocations: 70.58 kB / 0.5097 GB, free: 35.54 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001309/0.4315, allocations: 48.75 kB / 0.5098 GB, free: 35.54 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.896e-05/0.4315, allocations: 11.67 kB / 0.5098 GB, free: 35.54 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002594/0.4318, allocations: 239.4 kB / 0.51 GB, free: 35.45 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4318, allocations: 0 / 0.51 GB, free: 35.45 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001406/0.4332, allocations: 222.8 kB / 0.5102 GB, free: 35.44 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 12 (controllerFeedbackPart1.y,firstOrder1.y,controllerFeedbackPart2.y,firstOrder2.y,controllerFeedbackPart3.y,firstOrder3.y,controllerFeedbackPart4.y,firstOrder4.y,controllerFeedbackPart5.y,firstOrder5.y,controllerFeedbackPart6.y,firstOrder6.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 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 {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001407/0.4333, allocations: 113.8 kB / 0.5103 GB, free: 35.36 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.006036/0.4394, allocations: 2.343 MB / 0.5126 GB, free: 34.45 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.011e-06/0.4394, allocations: 0 / 0.5126 GB, free: 34.45 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009878/0.4404, allocations: 407.7 kB / 0.513 GB, free: 34.34 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001321/0.4418, allocations: 140.3 kB / 0.5131 GB, free: 34.34 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002407/0.4442, allocations: 1.213 MB / 0.5143 GB, free: 33.8 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003984/0.4446, allocations: 0.8684 MB / 0.5152 GB, free: 33.1 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001299/0.4447, allocations: 43.09 kB / 0.5152 GB, free: 33.09 MB / 382.1 MB Notification: Performance of SimCode: time 1.172e-06/0.4447, allocations: 3.609 kB / 0.5152 GB, free: 33.09 MB / 382.1 MB Notification: Performance of Templates: time 0.01659/0.4613, allocations: 13.55 MB / 0.5285 GB, free: 28.04 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.LimitersHomotopy.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.LimitersHomotopy.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.LimitersHomotopy.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.LimitersHomotopy.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.LimitersHomotopy.sim & ./ModelicaTest_trunk_ModelicaTest.Blocks.LimitersHomotopy -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.LimitersHomotopy.pipe 2>&1)