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.001817/0.001817, allocations: 197.4 kB / 16.1 MB, free: 5.699 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.356/1.356, allocations: 226.5 MB / 243.4 MB, free: 6.473 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009079/0.0009077, allocations: 99.27 kB / 295.5 MB, free: 6.688 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3149/0.3149, allocations: 44.82 MB / 392.3 MB, free: 35.64 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002549/0.0002549, allocations: 8 kB / 465.3 MB, free: 12.69 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3226/0.3228, allocations: 62.96 MB / 0.5159 GB, free: 37.31 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.LimitersHomotopy): time 0.002406/0.3253, allocations: 2.519 MB / 0.5183 GB, free: 35.47 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001643/0.327, allocations: 0.9771 MB / 0.5193 GB, free: 34.77 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003778/0.3274, allocations: 14.69 kB / 0.5193 GB, free: 34.77 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001262/0.3275, allocations: 36.98 kB / 0.5193 GB, free: 34.75 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003541/0.3279, allocations: 66.52 kB / 0.5194 GB, free: 34.7 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007608/0.3286, allocations: 299.7 kB / 0.5197 GB, free: 34.55 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005765/0.3292, allocations: 0.5105 MB / 0.5202 GB, free: 34.3 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003412/0.3296, allocations: 210.3 kB / 0.5204 GB, free: 34.19 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003038/0.3299, allocations: 185.9 kB / 0.5206 GB, free: 34.11 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002301/0.3301, allocations: 214.4 kB / 0.5208 GB, free: 34 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 8.375e-05/0.3302, allocations: 17.03 kB / 0.5208 GB, free: 34 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.457e-05/0.3303, allocations: 18.44 kB / 0.5208 GB, free: 34 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.871e-05/0.3304, allocations: 82.33 kB / 0.5209 GB, free: 33.96 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001746/0.3306, allocations: 224.8 kB / 0.5211 GB, free: 33.8 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002844/0.3309, allocations: 353 kB / 0.5214 GB, free: 33.71 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/0.3309, allocations: 0 / 0.5214 GB, free: 33.71 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3309, allocations: 4 kB / 0.5214 GB, free: 33.7 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.8e-05/0.3309, allocations: 0 / 0.5214 GB, free: 33.7 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.001492/0.3324, allocations: 0.8973 MB / 0.5223 GB, free: 33.13 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.351e-05/0.3325, allocations: 14.97 kB / 0.5223 GB, free: 33.12 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002708/0.3327, allocations: 74.22 kB / 0.5224 GB, free: 33.09 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003455/0.3331, allocations: 391 kB / 0.5228 GB, free: 32.78 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.333e-05/0.3331, allocations: 34.72 kB / 0.5228 GB, free: 32.77 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.134e-05/0.3332, allocations: 49.69 kB / 0.5228 GB, free: 32.75 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001105/0.3343, allocations: 0.6639 MB / 0.5235 GB, free: 32.45 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.366e-05/0.3343, allocations: 0 / 0.5235 GB, free: 32.45 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.491e-05/0.3344, allocations: 22.12 kB / 0.5235 GB, free: 32.44 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.207e-06/0.3344, allocations: 15.56 kB / 0.5235 GB, free: 32.43 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001428/0.3358, allocations: 0.6219 MB / 0.5241 GB, free: 32.31 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002189/0.338, allocations: 1.824 MB / 0.5259 GB, free: 31.03 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001338/0.3394, allocations: 0.6875 MB / 0.5266 GB, free: 30.71 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000714/0.3401, allocations: 371.9 kB / 0.5269 GB, free: 30.58 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.089e-05/0.3402, allocations: 9.312 kB / 0.527 GB, free: 30.57 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.44e-05/0.3402, allocations: 51.58 kB / 0.527 GB, free: 30.52 MB / 378.7 MB Notification: Performance of pre-optimization done (n=43): time 2.495e-06/0.3402, allocations: 0 / 0.527 GB, free: 30.52 MB / 378.7 MB Notification: Performance of matching and sorting (n=43): time 0.002255/0.3425, allocations: 0.9061 MB / 0.5279 GB, free: 30.29 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.79e-05/0.3426, allocations: 299.1 kB / 0.5282 GB, free: 29.94 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002587/0.3428, allocations: 342.2 kB / 0.5285 GB, free: 29.76 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.375e-05/0.3429, allocations: 32.45 kB / 0.5285 GB, free: 29.72 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001051/0.343, allocations: 260.6 kB / 0.5288 GB, free: 29.52 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.514e-05/0.3431, allocations: 158.7 kB / 0.5289 GB, free: 29.39 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.538e-05/0.3431, allocations: 10.97 kB / 0.5289 GB, free: 29.38 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.577e-05/0.3432, allocations: 364.6 kB / 0.5293 GB, free: 29.04 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006647/0.3439, allocations: 273.5 kB / 0.5295 GB, free: 28.99 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007083/0.3446, allocations: 418 kB / 0.5299 GB, free: 28.77 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001311/0.3459, allocations: 0.6614 MB / 0.5306 GB, free: 28.48 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.968e-06/0.3459, allocations: 2.938 kB / 0.5306 GB, free: 28.48 MB / 378.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.003122/0.349, allocations: 1.251 MB / 0.5318 GB, free: 28.11 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.804e-05/0.3491, allocations: 179.8 kB / 0.532 GB, free: 27.89 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.246e-06/0.3491, allocations: 2.781 kB / 0.532 GB, free: 27.89 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00163/0.3508, allocations: 495.5 kB / 0.5325 GB, free: 27.75 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004327/0.3512, allocations: 114.3 kB / 0.5326 GB, free: 27.74 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01038/0.3616, allocations: 11.95 MB / 0.5442 GB, free: 17.28 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006206/0.3623, allocations: 121.7 kB / 0.5444 GB, free: 17.24 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.184e-05/0.3623, allocations: 20.16 kB / 0.5444 GB, free: 17.24 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.785e-06/0.3623, allocations: 2.844 kB / 0.5444 GB, free: 17.24 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001997/0.3643, allocations: 0.762 MB / 0.5451 GB, free: 17.02 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.3644, allocations: 3.969 kB / 0.5451 GB, free: 17.02 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000598/0.365, allocations: 173.6 kB / 0.5453 GB, free: 16.96 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007282/0.3657, allocations: 195.2 kB / 0.5455 GB, free: 16.95 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003533/0.3692, allocations: 3.527 MB / 0.5489 GB, free: 13.93 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004835/0.3697, allocations: 102.1 kB / 0.549 GB, free: 13.9 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.28e-05/0.3698, allocations: 19.25 kB / 0.549 GB, free: 13.89 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.0002743/0.3701, allocations: 240.3 kB / 0.5493 GB, free: 13.67 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001733/0.3702, allocations: 53.23 kB / 0.5493 GB, free: 13.64 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001818/0.3721, allocations: 0.7142 MB / 0.55 GB, free: 13.43 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.113e-06/0.3721, allocations: 5.969 kB / 0.55 GB, free: 13.43 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.3721, allocations: 2.781 kB / 0.55 GB, free: 13.43 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.508e-06/0.3721, allocations: 5.297 kB / 0.55 GB, free: 13.43 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008313/0.3729, allocations: 495.4 kB / 0.5505 GB, free: 13.11 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.192e-06/0.373, allocations: 7.094 kB / 0.5505 GB, free: 13.11 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006187/0.3736, allocations: 146.4 kB / 0.5506 GB, free: 13.09 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.789e-05/0.3737, allocations: 21.23 kB / 0.5507 GB, free: 13.08 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.768e-05/0.3737, allocations: 12.36 kB / 0.5507 GB, free: 13.08 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006492/0.3744, allocations: 1.306 MB / 0.552 GB, free: 11.73 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/0.3744, allocations: 2.656 kB / 0.552 GB, free: 11.73 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002438/0.3769, allocations: 1.534 MB / 0.5535 GB, free: 10.89 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.426e-05/0.3769, allocations: 119.5 kB / 0.5536 GB, free: 10.77 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.479e-05/0.377, allocations: 14.16 kB / 0.5536 GB, free: 10.76 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006321/0.3776, allocations: 94.45 kB / 0.5537 GB, free: 10.75 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001217/0.3778, allocations: 40.81 kB / 0.5537 GB, free: 10.74 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.087e-05/0.3778, allocations: 19.36 kB / 0.5537 GB, free: 10.73 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002213/0.378, allocations: 234.4 kB / 0.554 GB, free: 10.61 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.378, allocations: 1.375 kB / 0.554 GB, free: 10.61 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001384/0.3794, allocations: 226.6 kB / 0.5542 GB, free: 10.55 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 0.0001234/0.3796, allocations: 123.7 kB / 0.5543 GB, free: 10.43 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.005384/0.385, allocations: 2.484 MB / 0.5567 GB, free: 9.207 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.75e-06/0.385, allocations: 0 / 0.5567 GB, free: 9.207 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009103/0.3859, allocations: 456.2 kB / 0.5571 GB, free: 9.012 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001199/0.3871, allocations: 137.4 kB / 0.5573 GB, free: 8.977 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002286/0.3894, allocations: 1.405 MB / 0.5587 GB, free: 8.133 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003466/0.3898, allocations: 0.8656 MB / 0.5595 GB, free: 7.426 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000135/0.3899, allocations: 32.64 kB / 0.5595 GB, free: 7.418 MB / 378.7 MB Notification: Performance of SimCode: time 6.92e-07/0.3899, allocations: 1.094 kB / 0.5595 GB, free: 7.418 MB / 378.7 MB Notification: Performance of Templates: time 0.01444/0.4044, allocations: 13.48 MB / 0.5727 GB, free: 13.02 MB / 394.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)