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.00109/0.00109, allocations: 116.2 kB / 18.45 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001131/0.001131, allocations: 210 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.429/1.429, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2356/0.2356, allocations: 46.11 MB / 345 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001392/0.001392, allocations: 75.88 kB / 482 MB, free: 4.023 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4093/0.4107, allocations: 62.44 MB / 0.5317 GB, free: 13.58 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.LimitersHomotopy): time 0.004321/0.4151, allocations: 3.016 MB / 0.5346 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002238/0.4174, allocations: 1.029 MB / 0.5356 GB, free: 10.35 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002462/0.4176, allocations: 14.69 kB / 0.5356 GB, free: 10.35 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001338/0.4178, allocations: 59.2 kB / 0.5357 GB, free: 10.29 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002679/0.4181, allocations: 96.47 kB / 0.5358 GB, free: 10.2 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008619/0.4189, allocations: 363 kB / 0.5361 GB, free: 9.922 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006287/0.4196, allocations: 0.5743 MB / 0.5367 GB, free: 9.574 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003829/0.42, allocations: 230.6 kB / 0.5369 GB, free: 9.434 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000339/0.4203, allocations: 232.8 kB / 0.5371 GB, free: 9.289 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000287/0.4206, allocations: 265.2 kB / 0.5374 GB, free: 9.086 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.792e-05/0.4207, allocations: 47.59 kB / 0.5374 GB, free: 9.086 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001192/0.4208, allocations: 58 kB / 0.5375 GB, free: 9.078 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001185/0.421, allocations: 125.6 kB / 0.5376 GB, free: 8.973 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002312/0.4212, allocations: 250.3 kB / 0.5379 GB, free: 8.781 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005994/0.4218, allocations: 0.5409 MB / 0.5384 GB, free: 8.359 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.221e-06/0.4218, allocations: 1.375 kB / 0.5384 GB, free: 8.359 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.4218, allocations: 0 / 0.5384 GB, free: 8.359 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.017e-06/0.4218, allocations: 0 / 0.5384 GB, free: 8.359 MB / 398.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.001877/0.4237, allocations: 0.9371 MB / 0.5393 GB, free: 7.617 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.865e-05/0.4238, allocations: 9.969 kB / 0.5393 GB, free: 7.617 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003639/0.4241, allocations: 75.2 kB / 0.5394 GB, free: 7.582 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005948/0.4247, allocations: 411 kB / 0.5398 GB, free: 7.211 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.894e-05/0.4248, allocations: 36.19 kB / 0.5398 GB, free: 7.195 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001122/0.4249, allocations: 47.84 kB / 0.5399 GB, free: 7.18 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001303/0.4262, allocations: 0.6217 MB / 0.5405 GB, free: 6.762 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.706e-05/0.4263, allocations: 3.938 kB / 0.5405 GB, free: 6.758 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.747e-05/0.4263, allocations: 17.81 kB / 0.5405 GB, free: 6.746 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.927e-05/0.4263, allocations: 11.12 kB / 0.5405 GB, free: 6.746 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00149/0.4278, allocations: 0.507 MB / 0.541 GB, free: 6.52 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002812/0.4306, allocations: 1.799 MB / 0.5427 GB, free: 4.984 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001577/0.4322, allocations: 0.6133 MB / 0.5433 GB, free: 4.59 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008109/0.4331, allocations: 334.5 kB / 0.5437 GB, free: 4.395 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.692e-05/0.4331, allocations: 14.42 kB / 0.5437 GB, free: 4.387 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.538e-05/0.4332, allocations: 38.78 kB / 0.5437 GB, free: 4.344 MB / 398.1 MB Notification: Performance of pre-optimization done (n=43): time 2.144e-06/0.4332, allocations: 0 / 0.5437 GB, free: 4.344 MB / 398.1 MB Notification: Performance of matching and sorting (n=43): time 0.002587/0.4358, allocations: 0.7771 MB / 0.5445 GB, free: 3.969 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001766/0.436, allocations: 301.1 kB / 0.5448 GB, free: 3.613 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004181/0.4364, allocations: 346.2 kB / 0.5451 GB, free: 3.391 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.665e-05/0.4364, allocations: 32.02 kB / 0.5451 GB, free: 3.355 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002073/0.4367, allocations: 260.5 kB / 0.5454 GB, free: 3.125 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001476/0.4368, allocations: 167.4 kB / 0.5455 GB, free: 2.977 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001662/0.437, allocations: 93.14 kB / 0.5456 GB, free: 2.918 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001713/0.4372, allocations: 362.3 kB / 0.546 GB, free: 2.566 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007402/0.4379, allocations: 246.4 kB / 0.5462 GB, free: 2.387 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000793/0.4387, allocations: 372.8 kB / 0.5465 GB, free: 1.965 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001446/0.4402, allocations: 0.5783 MB / 0.5471 GB, free: 1.34 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.58e-06/0.4402, allocations: 4 kB / 0.5471 GB, free: 1.336 MB / 398.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.003364/0.4436, allocations: 1.117 MB / 0.5482 GB, free: 196 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.099e-05/0.4436, allocations: 4 kB / 0.5482 GB, free: 192 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.848e-06/0.4436, allocations: 4 kB / 0.5482 GB, free: 188 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00181/0.4454, allocations: 473 kB / 0.5487 GB, free: 15.7 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004516/0.4459, allocations: 96.36 kB / 0.5488 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01457/0.4605, allocations: 12.92 MB / 0.5614 GB, free: 1.715 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006675/0.4612, allocations: 107.6 kB / 0.5615 GB, free: 1.609 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.75e-05/0.4612, allocations: 20 kB / 0.5615 GB, free: 1.59 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007593/0.462, allocations: 317 kB / 0.5618 GB, free: 1.277 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006592/0.4627, allocations: 340.8 kB / 0.5621 GB, free: 0.8906 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001151/0.4638, allocations: 0.5119 MB / 0.5626 GB, free: 340 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.735e-06/0.4639, allocations: 0 / 0.5626 GB, free: 340 kB / 414.1 MB Notification: Performance of matching and sorting (n=63) (initialization_lambda0): time 0.001944/0.4658, allocations: 0.7442 MB / 0.5634 GB, free: 15.57 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/0.4658, allocations: 10.5 kB / 0.5634 GB, free: 15.57 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.4658, allocations: 0 / 0.5634 GB, free: 15.57 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006116/0.4665, allocations: 161.8 kB / 0.5635 GB, free: 15.4 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007008/0.4672, allocations: 179.7 kB / 0.5637 GB, free: 15.23 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004369/0.4716, allocations: 3.824 MB / 0.5674 GB, free: 11.13 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005021/0.4721, allocations: 75.62 kB / 0.5675 GB, free: 11.05 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.517e-05/0.4721, allocations: 20 kB / 0.5675 GB, free: 11.04 MB / 430.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.0002686/0.4724, allocations: 224.1 kB / 0.5677 GB, free: 10.81 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001945/0.4726, allocations: 47.44 kB / 0.5678 GB, free: 10.76 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00168/0.4743, allocations: 0.6339 MB / 0.5684 GB, free: 10.12 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.622e-06/0.4743, allocations: 4 kB / 0.5684 GB, free: 10.11 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.4743, allocations: 4 kB / 0.5684 GB, free: 10.11 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.4743, allocations: 0 / 0.5684 GB, free: 10.11 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009333/0.4753, allocations: 0.4931 MB / 0.5689 GB, free: 9.566 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.4753, allocations: 0 / 0.5689 GB, free: 9.566 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000611/0.4759, allocations: 119.8 kB / 0.569 GB, free: 9.449 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.895e-05/0.476, allocations: 20.84 kB / 0.569 GB, free: 9.426 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.605e-05/0.476, allocations: 12 kB / 0.569 GB, free: 9.414 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001008/0.477, allocations: 1.4 MB / 0.5704 GB, free: 7.867 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.4771, allocations: 4.062 kB / 0.5704 GB, free: 7.863 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002483/0.4795, allocations: 1.407 MB / 0.5718 GB, free: 6.434 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001125/0.4797, allocations: 128.5 kB / 0.5719 GB, free: 6.289 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.267e-05/0.4797, allocations: 16 kB / 0.5719 GB, free: 6.273 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006217/0.4804, allocations: 71.91 kB / 0.572 GB, free: 6.203 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001099/0.4805, allocations: 35.95 kB / 0.572 GB, free: 6.168 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.092e-05/0.4805, allocations: 15.98 kB / 0.572 GB, free: 6.152 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002422/0.4808, allocations: 243.1 kB / 0.5723 GB, free: 5.918 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4808, allocations: 3.938 kB / 0.5723 GB, free: 5.914 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001372/0.4822, allocations: 223.3 kB / 0.5725 GB, free: 5.695 MB / 430.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.0001576/0.4823, allocations: 115.1 kB / 0.5726 GB, free: 5.574 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.005558/0.4879, allocations: 2.321 MB / 0.5748 GB, free: 3.148 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.4879, allocations: 0 / 0.5748 GB, free: 3.148 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008564/0.4888, allocations: 402.4 kB / 0.5752 GB, free: 2.742 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001153/0.4899, allocations: 147.3 kB / 0.5754 GB, free: 2.605 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002395/0.4923, allocations: 1.21 MB / 0.5766 GB, free: 1.355 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004828/0.4928, allocations: 0.8669 MB / 0.5774 GB, free: 472 kB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001271/0.493, allocations: 35.44 kB / 0.5774 GB, free: 436 kB / 430.1 MB Notification: Performance of SimCode: time 6.21e-07/0.493, allocations: 0 / 0.5774 GB, free: 436 kB / 430.1 MB Notification: Performance of Templates: time 0.01557/0.5086, allocations: 13.58 MB / 0.5907 GB, free: 2.852 MB / 446.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)