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.00114/0.00114, allocations: 100.5 kB / 17.85 MB, free: 5.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001233/0.001233, allocations: 205.8 kB / 18.79 MB, free: 4.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.304/1.304, allocations: 227.4 MB / 246.9 MB, free: 10.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2084/0.2084, allocations: 46.11 MB / 344.3 MB, free: 11.71 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00137/0.00137, allocations: 68.81 kB / 417.5 MB, free: 20.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1053/0.1067, allocations: 62.45 MB / 479.9 MB, free: 5.715 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.LimitersHomotopy): time 0.004772/0.1115, allocations: 3.047 MB / 483 MB, free: 2.652 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002729/0.1143, allocations: 1.021 MB / 484 MB, free: 1.625 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005534/0.1148, allocations: 11.94 kB / 484 MB, free: 1.613 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002288/0.1151, allocations: 35.58 kB / 484 MB, free: 1.578 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004517/0.1156, allocations: 63.38 kB / 484.1 MB, free: 1.516 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001062/0.1167, allocations: 327 kB / 484.4 MB, free: 1.199 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007836/0.1175, allocations: 0.5504 MB / 485 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003883/0.1179, allocations: 219.8 kB / 485.2 MB, free: 436 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004261/0.1183, allocations: 219 kB / 485.4 MB, free: 216 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000322/0.1186, allocations: 258.7 kB / 485.7 MB, free: 15.95 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 9.824e-05/0.1187, allocations: 28 kB / 485.7 MB, free: 15.93 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001206/0.1189, allocations: 40 kB / 485.7 MB, free: 15.89 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 9.73e-05/0.119, allocations: 107.4 kB / 485.8 MB, free: 15.79 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002193/0.1192, allocations: 234.5 kB / 486.1 MB, free: 15.55 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003743/0.1196, allocations: 367.5 kB / 486.4 MB, free: 15.2 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.1196, allocations: 0 / 486.4 MB, free: 15.2 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1196, allocations: 0 / 486.4 MB, free: 15.2 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.879e-05/0.1196, allocations: 0 / 486.4 MB, free: 15.2 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.001899/0.1215, allocations: 0.9468 MB / 487.4 MB, free: 14.2 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/0.1216, allocations: 8.875 kB / 487.4 MB, free: 14.19 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003249/0.1219, allocations: 76.19 kB / 487.5 MB, free: 14.12 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004527/0.1224, allocations: 385.8 kB / 487.8 MB, free: 13.7 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.794e-05/0.1224, allocations: 33.38 kB / 487.9 MB, free: 13.67 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.258e-05/0.1225, allocations: 56.3 kB / 487.9 MB, free: 13.61 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001356/0.1239, allocations: 0.6062 MB / 488.5 MB, free: 12.96 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.61e-05/0.1239, allocations: 0 / 488.5 MB, free: 12.96 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.09e-05/0.124, allocations: 24 kB / 488.5 MB, free: 12.94 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.077e-05/0.124, allocations: 8 kB / 488.6 MB, free: 12.93 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001532/0.1255, allocations: 0.5072 MB / 489.1 MB, free: 12.42 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002837/0.1284, allocations: 1.812 MB / 490.9 MB, free: 10.53 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001523/0.1299, allocations: 0.6191 MB / 491.5 MB, free: 9.844 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008216/0.1307, allocations: 325.8 kB / 491.8 MB, free: 9.504 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.48e-05/0.1308, allocations: 19.98 kB / 491.8 MB, free: 9.484 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.49e-05/0.1308, allocations: 42.5 kB / 491.9 MB, free: 9.434 MB / 366.1 MB Notification: Performance of pre-optimization done (n=43): time 2.454e-06/0.1309, allocations: 0 / 491.9 MB, free: 9.434 MB / 366.1 MB Notification: Performance of matching and sorting (n=43): time 0.002515/0.1334, allocations: 0.7791 MB / 492.6 MB, free: 8.648 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001473/0.1335, allocations: 290.7 kB / 492.9 MB, free: 8.297 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003377/0.1339, allocations: 349.6 kB / 493.3 MB, free: 7.945 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.634e-05/0.1339, allocations: 37.7 kB / 493.3 MB, free: 7.902 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001752/0.1341, allocations: 260.4 kB / 493.6 MB, free: 7.645 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001272/0.1343, allocations: 161.6 kB / 493.7 MB, free: 7.484 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001543/0.1344, allocations: 98.23 kB / 493.8 MB, free: 7.383 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001438/0.1346, allocations: 362.7 kB / 494.2 MB, free: 7.02 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007499/0.1353, allocations: 238.9 kB / 494.4 MB, free: 6.785 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008406/0.1362, allocations: 372.8 kB / 494.8 MB, free: 6.363 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00152/0.1377, allocations: 0.5783 MB / 495.3 MB, free: 5.738 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/0.1377, allocations: 3.938 kB / 495.4 MB, free: 5.734 MB / 366.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.003568/0.1413, allocations: 1.122 MB / 496.5 MB, free: 4.586 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.103e-05/0.1413, allocations: 8 kB / 496.5 MB, free: 4.578 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.049e-05/0.1413, allocations: 4 kB / 496.5 MB, free: 4.574 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00191/0.1433, allocations: 472.9 kB / 496.9 MB, free: 4.094 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000504/0.1438, allocations: 95.84 kB / 497 MB, free: 4 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01385/0.1576, allocations: 11.7 MB / 0.4968 GB, free: 7.355 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006289/0.1583, allocations: 99.47 kB / 0.4969 GB, free: 7.258 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.936e-05/0.1584, allocations: 20 kB / 0.4969 GB, free: 7.238 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007669/0.1592, allocations: 317.2 kB / 0.4972 GB, free: 6.926 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007209/0.1599, allocations: 336.8 kB / 0.4976 GB, free: 6.543 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00123/0.1611, allocations: 0.5083 MB / 0.4981 GB, free: 5.988 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.655e-06/0.1612, allocations: 0 / 0.4981 GB, free: 5.988 MB / 382.1 MB Notification: Performance of matching and sorting (n=63) (initialization_lambda0): time 0.002088/0.1632, allocations: 0.7443 MB / 0.4988 GB, free: 5.23 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.384e-05/0.1633, allocations: 11.94 kB / 0.4988 GB, free: 5.219 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.889e-06/0.1633, allocations: 4 kB / 0.4988 GB, free: 5.215 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006448/0.164, allocations: 157.8 kB / 0.4989 GB, free: 5.055 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000711/0.1647, allocations: 175.7 kB / 0.4991 GB, free: 4.883 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004233/0.1689, allocations: 3.454 MB / 0.5025 GB, free: 1.164 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005244/0.1695, allocations: 83.53 kB / 0.5026 GB, free: 1.082 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.02e-05/0.1695, allocations: 16 kB / 0.5026 GB, free: 1.066 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.0002381/0.1698, allocations: 216.7 kB / 0.5028 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002186/0.17, allocations: 55.42 kB / 0.5028 GB, free: 0.793 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001806/0.1718, allocations: 0.6181 MB / 0.5034 GB, free: 172 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.125e-05/0.1718, allocations: 11.98 kB / 0.5035 GB, free: 160 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.1718, allocations: 256 / 0.5035 GB, free: 160 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.324e-06/0.1719, allocations: 4 kB / 0.5035 GB, free: 156 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1947/0.3665, allocations: 0.489 MB / 0.5039 GB, free: 39.32 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/0.3665, allocations: 4.344 kB / 0.5039 GB, free: 39.32 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007204/0.3673, allocations: 125.9 kB / 0.5041 GB, free: 39.32 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001056/0.3674, allocations: 21.67 kB / 0.5041 GB, free: 39.31 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.604e-05/0.3674, allocations: 14.27 kB / 0.5041 GB, free: 39.31 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006566/0.3681, allocations: 1.305 MB / 0.5054 GB, free: 38.05 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.574e-06/0.3681, allocations: 1.375 kB / 0.5054 GB, free: 38.05 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002483/0.3706, allocations: 1.397 MB / 0.5067 GB, free: 37.46 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.43e-05/0.3707, allocations: 129.5 kB / 0.5069 GB, free: 37.36 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.161e-05/0.3708, allocations: 11.41 kB / 0.5069 GB, free: 37.36 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006639/0.3714, allocations: 67.23 kB / 0.5069 GB, free: 37.36 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001107/0.3715, allocations: 47.72 kB / 0.507 GB, free: 37.36 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.99e-05/0.3716, allocations: 15.14 kB / 0.507 GB, free: 37.36 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002246/0.3718, allocations: 238.2 kB / 0.5072 GB, free: 37.27 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3718, allocations: 0 / 0.5072 GB, free: 37.27 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001332/0.3732, allocations: 222.2 kB / 0.5074 GB, free: 37.27 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.0001108/0.3733, allocations: 118.7 kB / 0.5075 GB, free: 37.18 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.005387/0.3787, allocations: 2.301 MB / 0.5098 GB, free: 36.27 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.3787, allocations: 0 / 0.5098 GB, free: 36.27 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008615/0.3796, allocations: 402.1 kB / 0.5102 GB, free: 36.16 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001209/0.3808, allocations: 134.7 kB / 0.5103 GB, free: 36.16 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002256/0.383, allocations: 1.408 MB / 0.5117 GB, free: 35.44 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003592/0.3834, allocations: 0.8656 MB / 0.5125 GB, free: 34.74 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000138/0.3836, allocations: 32.81 kB / 0.5126 GB, free: 34.73 MB / 382.1 MB Notification: Performance of SimCode: time 9.42e-07/0.3836, allocations: 1.469 kB / 0.5126 GB, free: 34.73 MB / 382.1 MB Notification: Performance of Templates: time 0.01453/0.3981, allocations: 13.55 MB / 0.5258 GB, free: 30.01 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)