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.001614/0.001614, allocations: 182.1 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.113/2.113, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001089/0.001089, allocations: 78.72 kB / 267.5 MB, free: 14.05 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2967/0.2967, allocations: 43.5 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.578e-05/3.595e-05, allocations: 4 kB / 425.3 MB, free: 23.38 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1213/0.1213, allocations: 58.86 MB / 484.1 MB, free: 12.47 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5636/0.685, allocations: 88.19 MB / 0.5589 GB, free: 15.45 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002844/0.6854, allocations: 65.62 kB / 0.559 GB, free: 15.41 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05485/0.7403, allocations: 11.38 MB / 0.5701 GB, free: 5.699 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.7403, allocations: 0 / 0.5701 GB, free: 5.699 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.467e-05/0.7404, allocations: 12 kB / 0.5701 GB, free: 5.688 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.002795/0.7432, allocations: 0.8837 MB / 0.571 GB, free: 4.789 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.76e-05/0.7433, allocations: 11.97 kB / 0.571 GB, free: 4.777 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001879/0.7435, allocations: 67.25 kB / 0.571 GB, free: 4.711 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007925/0.7443, allocations: 391.8 kB / 0.5714 GB, free: 4.32 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.587e-05/0.7443, allocations: 39 kB / 0.5715 GB, free: 4.301 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001214/0.7445, allocations: 61.02 kB / 0.5715 GB, free: 4.258 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001144/0.7456, allocations: 485.1 kB / 0.572 GB, free: 3.867 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.04e-05/0.7456, allocations: 3.938 kB / 0.572 GB, free: 3.863 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.919e-05/0.7457, allocations: 23.75 kB / 0.572 GB, free: 3.855 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.706e-05/0.7458, allocations: 8 kB / 0.572 GB, free: 3.848 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007994/0.7466, allocations: 277 kB / 0.5723 GB, free: 3.668 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005374/0.7519, allocations: 1.938 MB / 0.5742 GB, free: 1.883 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001031/0.753, allocations: 443.3 kB / 0.5746 GB, free: 1.496 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00052/0.7536, allocations: 216.5 kB / 0.5748 GB, free: 1.328 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.895e-05/0.7537, allocations: 8 kB / 0.5748 GB, free: 1.32 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.68e-05/0.7537, allocations: 42.66 kB / 0.5748 GB, free: 1.273 MB / 378.7 MB Notification: Performance of pre-optimization done (n=43): time 3.757e-06/0.7538, allocations: 0 / 0.5748 GB, free: 1.273 MB / 378.7 MB Notification: Performance of matching and sorting (n=43): time 0.001239/0.755, allocations: 367.1 kB / 0.5752 GB, free: 0.9883 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000162/0.7552, allocations: 302.7 kB / 0.5755 GB, free: 0.625 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004867/0.7557, allocations: 309.2 kB / 0.5758 GB, free: 380 kB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.298e-05/0.7558, allocations: 36.14 kB / 0.5758 GB, free: 344 kB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000204/0.756, allocations: 302.8 kB / 0.5761 GB, free: 96 kB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001954/0.7562, allocations: 159.8 kB / 0.5762 GB, free: 15.95 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.768e-05/0.7562, allocations: 9.125 kB / 0.5763 GB, free: 15.95 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001345/0.7564, allocations: 333.9 kB / 0.5766 GB, free: 15.62 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000381/0.7568, allocations: 119.7 kB / 0.5767 GB, free: 15.55 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005248/0.7573, allocations: 252.2 kB / 0.5769 GB, free: 15.3 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000425/0.7578, allocations: 148.3 kB / 0.5771 GB, free: 15.21 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.714e-06/0.7578, allocations: 8 kB / 0.5771 GB, free: 15.2 MB / 394.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.003963/0.7618, allocations: 0.8385 MB / 0.5779 GB, free: 14.49 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005831/0.7624, allocations: 1.31 MB / 0.5792 GB, free: 13.1 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.453e-05/0.7624, allocations: 4.078 kB / 0.5792 GB, free: 13.1 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002618/0.765, allocations: 393.9 kB / 0.5796 GB, free: 12.76 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009638/0.766, allocations: 107.2 kB / 0.5797 GB, free: 12.66 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009166/0.7752, allocations: 6.437 MB / 0.5859 GB, free: 6.227 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001069/0.7763, allocations: 113.9 kB / 0.5861 GB, free: 6.121 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.087e-05/0.7764, allocations: 27.3 kB / 0.5861 GB, free: 6.102 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/0.7764, allocations: 11.22 kB / 0.5861 GB, free: 6.094 MB / 394.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001945/0.7784, allocations: 0.5042 MB / 0.5866 GB, free: 5.699 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.7784, allocations: 3.938 kB / 0.5866 GB, free: 5.695 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007473/0.7792, allocations: 124.1 kB / 0.5867 GB, free: 5.59 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001415/0.7806, allocations: 197.7 kB / 0.5869 GB, free: 5.402 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005065/0.7857, allocations: 3.312 MB / 0.5901 GB, free: 2.09 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007872/0.7865, allocations: 102.3 kB / 0.5902 GB, free: 2 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.658e-05/0.7866, allocations: 19.25 kB / 0.5902 GB, free: 1.984 MB / 394.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 () * 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.0002227/0.7868, allocations: 134.1 kB / 0.5904 GB, free: 1.859 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002841/0.7871, allocations: 55.41 kB / 0.5904 GB, free: 1.805 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00125/0.7884, allocations: 432.5 kB / 0.5908 GB, free: 1.496 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.154e-05/0.7884, allocations: 8.469 kB / 0.5908 GB, free: 1.488 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.7884, allocations: 0 / 0.5908 GB, free: 1.488 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.325e-05/0.7884, allocations: 7.953 kB / 0.5909 GB, free: 1.48 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00117/0.7896, allocations: 497.8 kB / 0.5913 GB, free: 1.047 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.538e-06/0.7896, allocations: 0 / 0.5913 GB, free: 1.047 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001382/0.791, allocations: 159.3 kB / 0.5915 GB, free: 0.8945 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001208/0.7912, allocations: 16.3 kB / 0.5915 GB, free: 0.8789 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.848e-05/0.7912, allocations: 23.11 kB / 0.5915 GB, free: 0.8594 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001091/0.7923, allocations: 1.288 MB / 0.5928 GB, free: 15.47 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.7923, allocations: 0 / 0.5928 GB, free: 15.47 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001699/0.7941, allocations: 1.165 MB / 0.5939 GB, free: 14.41 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001239/0.7942, allocations: 116.5 kB / 0.594 GB, free: 14.28 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.402e-05/0.7943, allocations: 14.75 kB / 0.594 GB, free: 14.27 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001175/0.7955, allocations: 99.55 kB / 0.5941 GB, free: 14.18 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001455/0.7957, allocations: 43.5 kB / 0.5942 GB, free: 14.14 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.709e-05/0.7957, allocations: 15.81 kB / 0.5942 GB, free: 14.13 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003448/0.7961, allocations: 237.1 kB / 0.5944 GB, free: 13.94 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.7961, allocations: 0 / 0.5944 GB, free: 13.94 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001675/0.7978, allocations: 207.8 kB / 0.5946 GB, free: 13.76 MB / 410.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 () * 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.0002521/0.798, allocations: 124.5 kB / 0.5947 GB, free: 13.64 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.006552/0.8046, allocations: 1.554 MB / 0.5963 GB, free: 12.21 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/0.8046, allocations: 0 / 0.5963 GB, free: 12.21 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006486/0.8053, allocations: 293.3 kB / 0.5965 GB, free: 11.97 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001218/0.8065, allocations: 126.6 kB / 0.5967 GB, free: 11.88 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00287/0.8094, allocations: 0.9321 MB / 0.5976 GB, free: 10.97 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005496/0.81, allocations: 0.8784 MB / 0.5984 GB, free: 10.07 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002232/0.8102, allocations: 39.12 kB / 0.5985 GB, free: 10.03 MB / 410.7 MB Notification: Performance of SimCode: time 8.11e-07/0.8102, allocations: 0 / 0.5985 GB, free: 10.03 MB / 410.7 MB Notification: Performance of Templates: time 0.02261/0.8328, allocations: 12.87 MB / 0.611 GB, free: 13.22 MB / 426.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)