Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.LimitersHomotopy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/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_3.2.3_cpp_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_3.2.3_cpp_ModelicaTest.Blocks.LimitersHomotopy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009439/0.000944, allocations: 176.6 kB / 16.72 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.185/1.185, allocations: 205.4 MB / 222.9 MB, free: 8.938 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007352/0.0007352, allocations: 90.36 kB / 271.2 MB, free: 8.238 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2794/0.2794, allocations: 43.56 MB / 363.1 MB, free: 52.2 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003293/0.0003293, allocations: 12 kB / 432 MB, free: 5.848 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08661/0.08695, allocations: 58.86 MB / 490.8 MB, free: 10.9 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.LimitersHomotopy): time 0.002679/0.08967, allocations: 2.524 MB / 493.3 MB, free: 8.355 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001527/0.09121, allocations: 1.007 MB / 494.4 MB, free: 7.34 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001887/0.09141, allocations: 19.88 kB / 494.4 MB, free: 7.32 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 6.467e-05/0.09149, allocations: 39.52 kB / 494.4 MB, free: 7.281 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002047/0.0917, allocations: 67.38 kB / 494.5 MB, free: 7.215 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006463/0.09235, allocations: 295.5 kB / 494.8 MB, free: 6.926 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004937/0.09286, allocations: 0.5192 MB / 495.3 MB, free: 6.406 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003038/0.09317, allocations: 215.8 kB / 495.5 MB, free: 6.195 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001979/0.09337, allocations: 179.2 kB / 495.7 MB, free: 6.02 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002065/0.09359, allocations: 210.9 kB / 495.9 MB, free: 5.812 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 5.427e-05/0.09365, allocations: 23.98 kB / 495.9 MB, free: 5.789 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.68e-05/0.0937, allocations: 16 kB / 495.9 MB, free: 5.773 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 7.62e-05/0.09379, allocations: 83.59 kB / 496 MB, free: 5.691 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001735/0.09397, allocations: 236.3 kB / 496.2 MB, free: 5.453 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002929/0.09426, allocations: 347.4 kB / 496.6 MB, free: 5.113 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.676e-06/0.09428, allocations: 0 / 496.6 MB, free: 5.113 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.293e-06/0.09428, allocations: 0 / 496.6 MB, free: 5.113 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.953e-06/0.0943, allocations: 0 / 496.6 MB, free: 5.113 MB / 378.7 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.001544/0.09584, allocations: 0.9275 MB / 497.5 MB, free: 4.133 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.09589, allocations: 12.03 kB / 497.5 MB, free: 4.121 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001011/0.09599, allocations: 64.19 kB / 497.6 MB, free: 4.059 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004386/0.09644, allocations: 405.7 kB / 498 MB, free: 3.625 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.07e-05/0.09648, allocations: 37.38 kB / 498 MB, free: 3.586 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.422e-05/0.09656, allocations: 44.38 kB / 498 MB, free: 3.543 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001271/0.09784, allocations: 0.6648 MB / 498.7 MB, free: 2.836 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.562e-05/0.09787, allocations: 3.938 kB / 498.7 MB, free: 2.832 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.73e-05/0.09792, allocations: 24 kB / 498.7 MB, free: 2.809 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.16e-05/0.09794, allocations: 12 kB / 498.8 MB, free: 2.797 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001562/0.09951, allocations: 0.6088 MB / 499.4 MB, free: 2.188 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002559/0.1021, allocations: 1.843 MB / 0.4895 GB, free: 268 kB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1517/0.2538, allocations: 0.6839 MB / 0.4901 GB, free: 42.59 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008656/0.2547, allocations: 370.1 kB / 0.4905 GB, free: 42.54 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.981e-05/0.2547, allocations: 18.06 kB / 0.4905 GB, free: 42.54 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.021e-05/0.2548, allocations: 44.44 kB / 0.4905 GB, free: 42.5 MB / 378.7 MB Notification: Performance of pre-optimization done (n=43): time 2.625e-06/0.2548, allocations: 0 / 0.4905 GB, free: 42.5 MB / 378.7 MB Notification: Performance of matching and sorting (n=43): time 0.002613/0.2574, allocations: 0.9083 MB / 0.4914 GB, free: 42.46 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.075e-05/0.2575, allocations: 295 kB / 0.4917 GB, free: 42.12 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003341/0.2578, allocations: 354 kB / 0.492 GB, free: 42.01 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.679e-05/0.2579, allocations: 35.59 kB / 0.4921 GB, free: 41.98 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000146/0.258, allocations: 264.4 kB / 0.4923 GB, free: 41.89 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001077/0.2581, allocations: 165.3 kB / 0.4925 GB, free: 41.79 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.872e-05/0.2582, allocations: 9.875 kB / 0.4925 GB, free: 41.79 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.33e-05/0.2582, allocations: 362.9 kB / 0.4928 GB, free: 41.48 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007955/0.259, allocations: 275.3 kB / 0.4931 GB, free: 41.47 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000854/0.2599, allocations: 415.4 kB / 0.4935 GB, free: 41.31 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001551/0.2615, allocations: 0.6577 MB / 0.4941 GB, free: 41.15 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.2615, allocations: 1.156 kB / 0.4941 GB, free: 41.15 MB / 378.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.003551/0.265, allocations: 1.253 MB / 0.4954 GB, free: 40.95 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.762e-05/0.2651, allocations: 185.5 kB / 0.4955 GB, free: 40.74 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.959e-06/0.2652, allocations: 4.734 kB / 0.4955 GB, free: 40.74 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001747/0.2669, allocations: 492 kB / 0.496 GB, free: 40.67 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004654/0.2674, allocations: 112 kB / 0.4961 GB, free: 40.66 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01043/0.2778, allocations: 11.95 MB / 0.5078 GB, free: 31.12 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005442/0.2784, allocations: 119.6 kB / 0.5079 GB, free: 31.1 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.908e-05/0.2785, allocations: 21.03 kB / 0.5079 GB, free: 31.1 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.672e-06/0.2785, allocations: 2.75 kB / 0.5079 GB, free: 31.1 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001815/0.2803, allocations: 0.7563 MB / 0.5087 GB, free: 30.91 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.2803, allocations: 6.047 kB / 0.5087 GB, free: 30.91 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005406/0.2809, allocations: 169.9 kB / 0.5088 GB, free: 30.86 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006662/0.2815, allocations: 193.7 kB / 0.509 GB, free: 30.85 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003308/0.2849, allocations: 3.524 MB / 0.5125 GB, free: 27.83 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004531/0.2853, allocations: 108.8 kB / 0.5126 GB, free: 27.79 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.266e-05/0.2854, allocations: 18.22 kB / 0.5126 GB, free: 27.79 MB / 378.7 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 (linear and non-linear blocks): 1 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 6 {2 4,2 4,2 4,2 4,2 4,2 4} Notification: Performance of prepare postOptimizeDAE: time 0.0002282/0.2856, allocations: 240.7 kB / 0.5128 GB, free: 27.56 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001704/0.2858, allocations: 56.95 kB / 0.5129 GB, free: 27.53 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001687/0.2875, allocations: 0.7188 MB / 0.5136 GB, free: 27.31 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/0.2875, allocations: 7.062 kB / 0.5136 GB, free: 27.31 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.2875, allocations: 2.719 kB / 0.5136 GB, free: 27.31 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.2875, allocations: 2.812 kB / 0.5136 GB, free: 27.31 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007336/0.2883, allocations: 0.497 MB / 0.5141 GB, free: 27 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.2883, allocations: 0 / 0.5141 GB, free: 27 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006324/0.2889, allocations: 150.8 kB / 0.5142 GB, free: 26.99 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.414e-05/0.289, allocations: 21.84 kB / 0.5142 GB, free: 26.98 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.358e-05/0.289, allocations: 14.95 kB / 0.5143 GB, free: 26.97 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005473/0.2896, allocations: 1.297 MB / 0.5155 GB, free: 25.64 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.2896, allocations: 7.281 kB / 0.5155 GB, free: 25.63 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002277/0.2919, allocations: 1.535 MB / 0.517 GB, free: 24.8 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.104e-05/0.292, allocations: 125.2 kB / 0.5171 GB, free: 24.67 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.462e-05/0.292, allocations: 15.36 kB / 0.5172 GB, free: 24.66 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006241/0.2927, allocations: 89.53 kB / 0.5172 GB, free: 24.65 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.203e-05/0.2928, allocations: 47.81 kB / 0.5173 GB, free: 24.64 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.739e-05/0.2928, allocations: 13.47 kB / 0.5173 GB, free: 24.64 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001782/0.293, allocations: 243.2 kB / 0.5175 GB, free: 24.51 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.81e-07/0.293, allocations: 0 / 0.5175 GB, free: 24.51 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001189/0.2942, allocations: 229.2 kB / 0.5178 GB, free: 24.45 MB / 378.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 9.55e-05/0.2943, allocations: 106.9 kB / 0.5179 GB, free: 24.35 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.004941/0.2992, allocations: 2.501 MB / 0.5203 GB, free: 23.13 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.2992, allocations: 0 / 0.5203 GB, free: 23.13 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000819/0.3001, allocations: 444.4 kB / 0.5207 GB, free: 22.95 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001123/0.3012, allocations: 139.5 kB / 0.5209 GB, free: 22.91 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001914/0.3031, allocations: 1.43 MB / 0.5223 GB, free: 22.07 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002579/0.3034, allocations: 0.8667 MB / 0.5231 GB, free: 21.36 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001387/0.3036, allocations: 35.56 kB / 0.5231 GB, free: 21.35 MB / 378.7 MB Notification: Performance of SimCode: time 3.61e-07/0.3036, allocations: 0 / 0.5231 GB, free: 21.35 MB / 378.7 MB Notification: Performance of Templates: time 0.01286/0.3164, allocations: 13.78 MB / 0.5366 GB, free: 19.2 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.LimitersHomotopy.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.LimitersHomotopy.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.LimitersHomotopy.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.LimitersHomotopy.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.LimitersHomotopy.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.LimitersHomotopy --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.LimitersHomotopy.pipe 2>&1)