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.001098/0.001098, allocations: 112.4 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.001225/0.001225, allocations: 208 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.307/1.307, allocations: 227.4 MB / 247.6 MB, free: 10.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1973/0.1973, allocations: 46.11 MB / 345 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001349/0.001349, allocations: 79.88 kB / 482 MB, free: 4.012 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3014/0.3028, allocations: 62.43 MB / 0.5317 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.LimitersHomotopy): time 0.003775/0.3066, allocations: 3.011 MB / 0.5346 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001724/0.3083, allocations: 1.033 MB / 0.5356 GB, free: 10.37 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002561/0.3086, allocations: 18.72 kB / 0.5357 GB, free: 10.36 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001311/0.3088, allocations: 59.2 kB / 0.5357 GB, free: 10.3 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002739/0.309, allocations: 84.03 kB / 0.5358 GB, free: 10.23 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008357/0.3099, allocations: 366.9 kB / 0.5361 GB, free: 9.941 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000608/0.3105, allocations: 0.5728 MB / 0.5367 GB, free: 9.594 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003235/0.3108, allocations: 226.8 kB / 0.5369 GB, free: 9.457 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003222/0.3112, allocations: 232.6 kB / 0.5371 GB, free: 9.312 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003052/0.3115, allocations: 269.8 kB / 0.5374 GB, free: 9.105 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001063/0.3116, allocations: 46.84 kB / 0.5374 GB, free: 9.105 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001195/0.3117, allocations: 59.03 kB / 0.5375 GB, free: 9.098 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001067/0.3118, allocations: 125.8 kB / 0.5376 GB, free: 8.992 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002157/0.3121, allocations: 249.5 kB / 0.5379 GB, free: 8.801 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005445/0.3126, allocations: 0.5376 MB / 0.5384 GB, free: 8.383 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.3126, allocations: 0 / 0.5384 GB, free: 8.383 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.3126, allocations: 0 / 0.5384 GB, free: 8.383 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.756e-05/0.3126, allocations: 4 kB / 0.5384 GB, free: 8.379 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.001916/0.3146, allocations: 0.9376 MB / 0.5393 GB, free: 7.637 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.291e-05/0.3146, allocations: 9.375 kB / 0.5393 GB, free: 7.637 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003338/0.3149, allocations: 75.95 kB / 0.5394 GB, free: 7.602 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005384/0.3155, allocations: 406.9 kB / 0.5398 GB, free: 7.234 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.606e-05/0.3155, allocations: 36.12 kB / 0.5398 GB, free: 7.219 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.172e-05/0.3156, allocations: 48.38 kB / 0.5398 GB, free: 7.203 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00141/0.317, allocations: 0.624 MB / 0.5405 GB, free: 6.781 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.399e-05/0.3171, allocations: 1.125 kB / 0.5405 GB, free: 6.781 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.634e-05/0.3171, allocations: 17.12 kB / 0.5405 GB, free: 6.77 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.283e-05/0.3171, allocations: 11.78 kB / 0.5405 GB, free: 6.77 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001647/0.3188, allocations: 0.5081 MB / 0.541 GB, free: 6.543 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002817/0.3216, allocations: 1.794 MB / 0.5427 GB, free: 5.012 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001646/0.3233, allocations: 0.6209 MB / 0.5433 GB, free: 4.609 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008836/0.3242, allocations: 326.5 kB / 0.5437 GB, free: 4.422 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.311e-05/0.3242, allocations: 14.39 kB / 0.5437 GB, free: 4.414 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.725e-05/0.3243, allocations: 50.86 kB / 0.5437 GB, free: 4.359 MB / 398.1 MB Notification: Performance of pre-optimization done (n=43): time 1.853e-06/0.3243, allocations: 0 / 0.5437 GB, free: 4.359 MB / 398.1 MB Notification: Performance of matching and sorting (n=43): time 0.002723/0.327, allocations: 0.7741 MB / 0.5445 GB, free: 3.988 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001568/0.3272, allocations: 297.5 kB / 0.5448 GB, free: 3.637 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003406/0.3275, allocations: 349.7 kB / 0.5451 GB, free: 3.41 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.279e-05/0.3276, allocations: 32.95 kB / 0.5451 GB, free: 3.375 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001685/0.3278, allocations: 258.5 kB / 0.5454 GB, free: 3.145 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001302/0.3279, allocations: 165.1 kB / 0.5455 GB, free: 3 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001426/0.3281, allocations: 93.17 kB / 0.5456 GB, free: 2.941 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001487/0.3282, allocations: 361.1 kB / 0.546 GB, free: 2.59 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008187/0.329, allocations: 239.7 kB / 0.5462 GB, free: 2.426 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000889/0.3299, allocations: 380.8 kB / 0.5465 GB, free: 1.996 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001596/0.3315, allocations: 0.5744 MB / 0.5471 GB, free: 1.375 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/0.3315, allocations: 0 / 0.5471 GB, free: 1.375 MB / 398.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.00378/0.3353, allocations: 1.13 MB / 0.5482 GB, free: 224 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.3354, allocations: 4 kB / 0.5482 GB, free: 220 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/0.3354, allocations: 8.25 kB / 0.5482 GB, free: 212 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001829/0.3372, allocations: 468.8 kB / 0.5487 GB, free: 15.73 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005122/0.3377, allocations: 95.78 kB / 0.5488 GB, free: 15.63 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01421/0.352, allocations: 12.92 MB / 0.5614 GB, free: 1.742 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005618/0.3525, allocations: 99.45 kB / 0.5615 GB, free: 1.645 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.045e-05/0.3526, allocations: 23.98 kB / 0.5615 GB, free: 1.621 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007809/0.3534, allocations: 317.1 kB / 0.5618 GB, free: 1.309 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007226/0.3541, allocations: 340.8 kB / 0.5621 GB, free: 0.9219 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001295/0.3554, allocations: 0.5121 MB / 0.5626 GB, free: 372 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.405e-06/0.3554, allocations: 0 / 0.5626 GB, free: 372 kB / 414.1 MB Notification: Performance of matching and sorting (n=63) (initialization_lambda0): time 0.002162/0.3576, allocations: 0.7439 MB / 0.5633 GB, free: 15.61 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.212e-05/0.3576, allocations: 4 kB / 0.5634 GB, free: 15.6 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.3576, allocations: 4 kB / 0.5634 GB, free: 15.6 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006158/0.3583, allocations: 157.8 kB / 0.5635 GB, free: 15.44 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007357/0.359, allocations: 183.7 kB / 0.5637 GB, free: 15.26 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004429/0.3634, allocations: 3.82 MB / 0.5674 GB, free: 11.16 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005072/0.364, allocations: 83.67 kB / 0.5675 GB, free: 11.08 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.25e-05/0.364, allocations: 20 kB / 0.5675 GB, free: 11.06 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.0001995/0.3642, allocations: 219 kB / 0.5677 GB, free: 10.84 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000218/0.3644, allocations: 51.44 kB / 0.5678 GB, free: 10.79 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001911/0.3664, allocations: 0.6259 MB / 0.5684 GB, free: 10.16 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.075e-06/0.3664, allocations: 8 kB / 0.5684 GB, free: 10.15 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.3664, allocations: 0 / 0.5684 GB, free: 10.15 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.915e-06/0.3664, allocations: 7.984 kB / 0.5684 GB, free: 10.14 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009036/0.3673, allocations: 493 kB / 0.5689 GB, free: 9.609 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/0.3673, allocations: 4 kB / 0.5689 GB, free: 9.605 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006826/0.368, allocations: 128 kB / 0.569 GB, free: 9.48 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.844e-05/0.3681, allocations: 16.86 kB / 0.569 GB, free: 9.461 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.932e-05/0.3682, allocations: 20.55 kB / 0.569 GB, free: 9.441 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009062/0.3691, allocations: 1.392 MB / 0.5704 GB, free: 7.902 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/0.3691, allocations: 4.031 kB / 0.5704 GB, free: 7.898 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002745/0.3718, allocations: 1.403 MB / 0.5718 GB, free: 6.473 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.207e-05/0.3719, allocations: 128.5 kB / 0.5719 GB, free: 6.328 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.16e-05/0.372, allocations: 23.94 kB / 0.5719 GB, free: 6.305 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006741/0.3727, allocations: 71.84 kB / 0.572 GB, free: 6.234 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001006/0.3728, allocations: 39.89 kB / 0.572 GB, free: 6.195 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.59e-05/0.3728, allocations: 16 kB / 0.572 GB, free: 6.18 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002076/0.373, allocations: 243.1 kB / 0.5723 GB, free: 5.945 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3731, allocations: 0 / 0.5723 GB, free: 5.945 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001288/0.3743, allocations: 227.3 kB / 0.5725 GB, free: 5.723 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.0001215/0.3745, allocations: 103.2 kB / 0.5726 GB, free: 5.609 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.005808/0.3803, allocations: 2.327 MB / 0.5748 GB, free: 3.18 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.3803, allocations: 4.062 kB / 0.5748 GB, free: 3.176 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009441/0.3813, allocations: 402.3 kB / 0.5752 GB, free: 2.77 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00122/0.3825, allocations: 148.2 kB / 0.5754 GB, free: 2.633 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002319/0.3848, allocations: 1.191 MB / 0.5765 GB, free: 1.398 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004361/0.3853, allocations: 0.863 MB / 0.5774 GB, free: 0.5078 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001405/0.3854, allocations: 39.42 kB / 0.5774 GB, free: 480 kB / 430.1 MB Notification: Performance of SimCode: time 4.4e-07/0.3854, allocations: 0 / 0.5774 GB, free: 480 kB / 430.1 MB Notification: Performance of Templates: time 0.01545/0.4009, allocations: 13.58 MB / 0.5907 GB, free: 2.887 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)