Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Blocks.LimitersHomotopy.conf.json 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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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_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_trunk_cpp_ModelicaTest.Blocks.LimitersHomotopy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009238/0.0009238, allocations: 202.8 kB / 15.8 MB, free: 6.328 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.272/1.272, allocations: 226.6 MB / 243.1 MB, free: 14.27 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007176/0.0007176, allocations: 93.62 kB / 295.1 MB, free: 10.04 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2024/0.2024, allocations: 44.84 MB / 392 MB, free: 9.305 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00025/0.00025, allocations: 8 kB / 464.7 MB, free: 49.75 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1008/0.1011, allocations: 62.96 MB / 0.5153 GB, free: 2.75 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.LimitersHomotopy): time 0.002775/0.1039, allocations: 2.514 MB / 0.5178 GB, free: 220 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.1805/0.2844, allocations: 0.9672 MB / 0.5187 GB, free: 9.801 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001967/0.2846, allocations: 18.06 kB / 0.5187 GB, free: 9.797 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 6.395e-05/0.2847, allocations: 35.72 kB / 0.5188 GB, free: 9.773 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001911/0.2849, allocations: 58.25 kB / 0.5188 GB, free: 9.738 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006308/0.2855, allocations: 293.3 kB / 0.5191 GB, free: 9.73 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004529/0.286, allocations: 0.5085 MB / 0.5196 GB, free: 9.652 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002792/0.2863, allocations: 185 kB / 0.5198 GB, free: 9.625 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002381/0.2865, allocations: 185.2 kB / 0.52 GB, free: 9.582 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000216/0.2868, allocations: 203.3 kB / 0.5202 GB, free: 9.523 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 5.236e-05/0.2868, allocations: 17.56 kB / 0.5202 GB, free: 9.523 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.639e-05/0.2869, allocations: 23.64 kB / 0.5202 GB, free: 9.523 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.83e-05/0.287, allocations: 80.84 kB / 0.5203 GB, free: 9.504 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 6.35e-05/0.287, allocations: 101.2 kB / 0.5204 GB, free: 9.453 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003849/0.2874, allocations: 349.1 kB / 0.5207 GB, free: 9.422 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.84e-06/0.2874, allocations: 4.906 kB / 0.5207 GB, free: 9.418 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.2875, allocations: 0 / 0.5207 GB, free: 9.418 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.164e-05/0.2875, allocations: 0 / 0.5207 GB, free: 9.418 MB / 346.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.001531/0.289, allocations: 0.9133 MB / 0.5216 GB, free: 8.879 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.98e-05/0.289, allocations: 13.03 kB / 0.5216 GB, free: 8.875 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002565/0.2893, allocations: 77.28 kB / 0.5217 GB, free: 8.844 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000379/0.2897, allocations: 375.6 kB / 0.522 GB, free: 8.582 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.447e-05/0.2897, allocations: 36.84 kB / 0.5221 GB, free: 8.582 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.244e-05/0.2898, allocations: 45.3 kB / 0.5221 GB, free: 8.582 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001287/0.2911, allocations: 0.6582 MB / 0.5228 GB, free: 8.422 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.325e-05/0.2911, allocations: 5.438 kB / 0.5228 GB, free: 8.418 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.438e-05/0.2912, allocations: 18.75 kB / 0.5228 GB, free: 8.418 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.157e-05/0.2912, allocations: 13.83 kB / 0.5228 GB, free: 8.418 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001686/0.2929, allocations: 0.6231 MB / 0.5234 GB, free: 8.383 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002428/0.2953, allocations: 1.823 MB / 0.5252 GB, free: 7.184 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001566/0.2969, allocations: 0.689 MB / 0.5259 GB, free: 6.871 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009007/0.2978, allocations: 368.4 kB / 0.5262 GB, free: 6.738 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.158e-05/0.2979, allocations: 12.56 kB / 0.5262 GB, free: 6.738 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.377e-05/0.2979, allocations: 47.81 kB / 0.5263 GB, free: 6.688 MB / 346.7 MB Notification: Performance of pre-optimization done (n=43): time 2.184e-06/0.2979, allocations: 1.25 kB / 0.5263 GB, free: 6.688 MB / 346.7 MB Notification: Performance of matching and sorting (n=43): time 0.002809/0.3007, allocations: 0.9141 MB / 0.5272 GB, free: 6.457 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.149e-05/0.3008, allocations: 290.4 kB / 0.5274 GB, free: 6.113 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003512/0.3012, allocations: 354 kB / 0.5278 GB, free: 5.926 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.6e-05/0.3012, allocations: 42.3 kB / 0.5278 GB, free: 5.883 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001442/0.3014, allocations: 255.5 kB / 0.5281 GB, free: 5.68 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001149/0.3015, allocations: 161.9 kB / 0.5282 GB, free: 5.555 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.341e-05/0.3015, allocations: 10.12 kB / 0.5282 GB, free: 5.547 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.892e-05/0.3016, allocations: 361.7 kB / 0.5286 GB, free: 5.211 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007957/0.3024, allocations: 274.7 kB / 0.5288 GB, free: 5.152 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008602/0.3033, allocations: 419 kB / 0.5292 GB, free: 4.938 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007871/0.3041, allocations: 301.7 kB / 0.5295 GB, free: 4.855 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.536e-06/0.3041, allocations: 0 / 0.5295 GB, free: 4.855 MB / 346.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.00376/0.3079, allocations: 1.24 MB / 0.5307 GB, free: 4.488 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.577e-05/0.3079, allocations: 198.2 kB / 0.5309 GB, free: 4.258 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/0.308, allocations: 4.5 kB / 0.5309 GB, free: 4.258 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001856/0.3098, allocations: 491.9 kB / 0.5314 GB, free: 4.125 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004996/0.3103, allocations: 112 kB / 0.5315 GB, free: 4.117 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01269/0.323, allocations: 11.94 MB / 0.5432 GB, free: 9.66 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007035/0.3238, allocations: 117.2 kB / 0.5433 GB, free: 9.629 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.082e-05/0.3238, allocations: 21.98 kB / 0.5433 GB, free: 9.625 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.167e-06/0.3238, allocations: 4.375 kB / 0.5433 GB, free: 9.625 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002083/0.3259, allocations: 0.7658 MB / 0.544 GB, free: 9.398 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.3259, allocations: 3.844 kB / 0.5441 GB, free: 9.398 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006453/0.3266, allocations: 166.5 kB / 0.5442 GB, free: 9.355 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007257/0.3273, allocations: 187.3 kB / 0.5444 GB, free: 9.348 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004115/0.3315, allocations: 3.528 MB / 0.5478 GB, free: 6.273 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000526/0.332, allocations: 103.9 kB / 0.5479 GB, free: 6.223 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.308e-05/0.332, allocations: 19.22 kB / 0.5479 GB, free: 6.219 MB / 362.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.0003446/0.3324, allocations: 243.8 kB / 0.5482 GB, free: 5.992 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001776/0.3326, allocations: 48.69 kB / 0.5482 GB, free: 5.969 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001872/0.3345, allocations: 0.7245 MB / 0.5489 GB, free: 5.613 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.184e-06/0.3345, allocations: 5.688 kB / 0.5489 GB, free: 5.613 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.91e-06/0.3345, allocations: 2.031 kB / 0.5489 GB, free: 5.613 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.634e-06/0.3345, allocations: 5.219 kB / 0.5489 GB, free: 5.609 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008332/0.3353, allocations: 496.3 kB / 0.5494 GB, free: 5.211 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.912e-06/0.3354, allocations: 6.359 kB / 0.5494 GB, free: 5.207 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006798/0.336, allocations: 144.5 kB / 0.5496 GB, free: 5.168 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.9e-05/0.3361, allocations: 22.97 kB / 0.5496 GB, free: 5.152 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.647e-05/0.3362, allocations: 10.12 kB / 0.5496 GB, free: 5.148 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008151/0.337, allocations: 1.301 MB / 0.5509 GB, free: 3.781 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/0.337, allocations: 6.469 kB / 0.5509 GB, free: 3.777 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002731/0.3397, allocations: 1.53 MB / 0.5524 GB, free: 2.789 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.318e-05/0.3399, allocations: 129.9 kB / 0.5525 GB, free: 2.656 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.761e-05/0.3399, allocations: 14.47 kB / 0.5525 GB, free: 2.648 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006779/0.3406, allocations: 92.41 kB / 0.5526 GB, free: 2.613 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.717e-05/0.3407, allocations: 37.55 kB / 0.5526 GB, free: 2.594 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.116e-05/0.3407, allocations: 17.7 kB / 0.5526 GB, free: 2.586 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002197/0.341, allocations: 233.3 kB / 0.5529 GB, free: 2.438 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.341, allocations: 0 / 0.5529 GB, free: 2.438 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001328/0.3423, allocations: 221.9 kB / 0.5531 GB, free: 2.379 MB / 362.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 0.0001288/0.3424, allocations: 106.9 kB / 0.5532 GB, free: 2.277 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.005761/0.3482, allocations: 2.51 MB / 0.5556 GB, free: 0.6914 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.686e-06/0.3482, allocations: 1.375 kB / 0.5556 GB, free: 0.6914 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009321/0.3492, allocations: 439.1 kB / 0.5561 GB, free: 468 kB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001084/0.3503, allocations: 137.4 kB / 0.5562 GB, free: 396 kB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002342/0.3526, allocations: 1.41 MB / 0.5576 GB, free: 15.4 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004271/0.3531, allocations: 0.8681 MB / 0.5584 GB, free: 14.62 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001348/0.3532, allocations: 38.31 kB / 0.5584 GB, free: 14.59 MB / 378.7 MB Notification: Performance of SimCode: time 4.01e-07/0.3532, allocations: 0 / 0.5584 GB, free: 14.59 MB / 378.7 MB Notification: Performance of Templates: time 0.01414/0.3674, allocations: 13.48 MB / 0.5716 GB, free: 1.117 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Blocks.LimitersHomotopy.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Blocks.LimitersHomotopy.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Blocks.LimitersHomotopy.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Blocks.LimitersHomotopy.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Blocks.LimitersHomotopy.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Blocks.LimitersHomotopy --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Blocks.LimitersHomotopy.pipe 2>&1)