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/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_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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002315/0.002315, allocations: 195.2 kB / 8.535 MB, free: 1.844 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.248/1.248, allocations: 225.5 MB / 234.4 MB, free: 3.43 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008714/0.0008714, allocations: 89.2 kB / 286.3 MB, free: 5.238 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1846/0.1846, allocations: 45.14 MB / 383.3 MB, free: 0.5898 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 7.344e-06/7.374e-06, allocations: 4 kB / 452.6 MB, free: 76.22 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09223/0.09225, allocations: 63.24 MB / 0.5038 GB, free: 13.05 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3216/0.4139, allocations: 89.54 MB / 0.5912 GB, free: 13.47 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002041/0.4141, allocations: 61.72 kB / 0.5913 GB, free: 13.45 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.03183/0.446, allocations: 11.03 MB / 0.602 GB, free: 4.152 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.745e-05/0.446, allocations: 19.94 kB / 0.6021 GB, free: 4.133 MB / 394.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.001756/0.4478, allocations: 0.8993 MB / 0.6029 GB, free: 3.219 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/0.4479, allocations: 8.031 kB / 0.6029 GB, free: 3.211 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003289/0.4482, allocations: 82.45 kB / 0.603 GB, free: 3.133 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005393/0.4487, allocations: 376.1 kB / 0.6034 GB, free: 2.758 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.469e-05/0.4488, allocations: 19.91 kB / 0.6034 GB, free: 2.738 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.623e-05/0.4489, allocations: 35.88 kB / 0.6034 GB, free: 2.703 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004947/0.4494, allocations: 246.7 kB / 0.6037 GB, free: 2.555 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006267/0.45, allocations: 421.7 kB / 0.6041 GB, free: 2.191 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.047e-05/0.45, allocations: 0 / 0.6041 GB, free: 2.191 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.742e-05/0.4501, allocations: 4 kB / 0.6041 GB, free: 2.188 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.875e-05/0.4501, allocations: 15.91 kB / 0.6041 GB, free: 2.172 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003108/0.4532, allocations: 1.859 MB / 0.6059 GB, free: 448 kB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005406/0.4538, allocations: 420 kB / 0.6063 GB, free: 68 kB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002743/0.4541, allocations: 198.6 kB / 0.6065 GB, free: 15.91 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.482e-05/0.4541, allocations: 8.625 kB / 0.6065 GB, free: 15.9 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.237e-05/0.4542, allocations: 61.09 kB / 0.6066 GB, free: 15.84 MB / 410.7 MB Notification: Performance of pre-optimization done (n=43): time 2.214e-06/0.4542, allocations: 0 / 0.6066 GB, free: 15.84 MB / 410.7 MB Notification: Performance of matching and sorting (n=43): time 0.0007754/0.455, allocations: 328.2 kB / 0.6069 GB, free: 15.58 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000117/0.4551, allocations: 297.5 kB / 0.6072 GB, free: 15.23 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002637/0.4554, allocations: 274.7 kB / 0.6074 GB, free: 15 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.161e-05/0.4554, allocations: 29.7 kB / 0.6075 GB, free: 14.96 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001259/0.4555, allocations: 208.5 kB / 0.6077 GB, free: 14.78 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001156/0.4557, allocations: 154.7 kB / 0.6078 GB, free: 14.64 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.291e-05/0.4557, allocations: 0 / 0.6078 GB, free: 14.64 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001498/0.4558, allocations: 360 kB / 0.6081 GB, free: 14.3 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001975/0.456, allocations: 110.5 kB / 0.6082 GB, free: 14.24 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002686/0.4563, allocations: 246.4 kB / 0.6085 GB, free: 14 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002274/0.4566, allocations: 138.8 kB / 0.6086 GB, free: 13.91 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.4566, allocations: 4 kB / 0.6086 GB, free: 13.9 MB / 410.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.002344/0.4589, allocations: 0.8209 MB / 0.6094 GB, free: 13.18 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003926/0.4593, allocations: 1.309 MB / 0.6107 GB, free: 11.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/0.4593, allocations: 7.938 kB / 0.6107 GB, free: 11.79 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001502/0.4608, allocations: 375 kB / 0.6111 GB, free: 11.47 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005476/0.4614, allocations: 115.8 kB / 0.6112 GB, free: 11.36 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00634/0.4678, allocations: 6.345 MB / 0.6174 GB, free: 5.012 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007184/0.4685, allocations: 119.4 kB / 0.6175 GB, free: 4.898 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4e-05/0.4686, allocations: 23.19 kB / 0.6175 GB, free: 4.879 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.051e-05/0.4686, allocations: 4 kB / 0.6175 GB, free: 4.875 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0011/0.4697, allocations: 458.2 kB / 0.6179 GB, free: 4.512 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.4697, allocations: 7.984 kB / 0.618 GB, free: 4.504 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005256/0.4702, allocations: 131.2 kB / 0.6181 GB, free: 4.391 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008261/0.4711, allocations: 202.5 kB / 0.6183 GB, free: 4.199 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003471/0.4746, allocations: 3.206 MB / 0.6214 GB, free: 0.9844 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000611/0.4752, allocations: 102.9 kB / 0.6215 GB, free: 0.8867 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.506e-05/0.4752, allocations: 19.81 kB / 0.6215 GB, free: 0.8711 MB / 410.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: asin6.u:VARIABLE() "Connector of Real input signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: asin5.u:VARIABLE() "Connector of Real input signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: asin4.u:VARIABLE() "Connector of Real input signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: asin3.u:VARIABLE() "Connector of Real input signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: asin2.u:VARIABLE() "Connector of Real input signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: asin1.u:VARIABLE() "Connector of Real input signal" type: Real 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 {1 5,1 5,1 5,1 5,1 5,1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0002828/0.4755, allocations: 133.3 kB / 0.6216 GB, free: 0.7344 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002195/0.4758, allocations: 51.38 kB / 0.6217 GB, free: 0.6836 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007581/0.4765, allocations: 385.2 kB / 0.6221 GB, free: 404 kB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.982e-06/0.4765, allocations: 4 kB / 0.6221 GB, free: 400 kB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.4766, allocations: 4 kB / 0.6221 GB, free: 396 kB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.298e-06/0.4766, allocations: 3.984 kB / 0.6221 GB, free: 392 kB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007365/0.4773, allocations: 434.8 kB / 0.6225 GB, free: 4 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.4773, allocations: 0 / 0.6225 GB, free: 4 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007861/0.4781, allocations: 159 kB / 0.6226 GB, free: 15.85 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.37e-05/0.4782, allocations: 20.22 kB / 0.6227 GB, free: 15.83 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.556e-05/0.4783, allocations: 15.38 kB / 0.6227 GB, free: 15.82 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008295/0.4791, allocations: 1.228 MB / 0.6239 GB, free: 14.5 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.4791, allocations: 4.156 kB / 0.6239 GB, free: 14.49 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001084/0.4802, allocations: 1.114 MB / 0.625 GB, free: 13.47 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.065e-05/0.4803, allocations: 122 kB / 0.6251 GB, free: 13.33 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.741e-05/0.4804, allocations: 4.75 kB / 0.6251 GB, free: 13.33 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007788/0.4812, allocations: 96.53 kB / 0.6252 GB, free: 13.23 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.873e-05/0.4813, allocations: 38.61 kB / 0.6252 GB, free: 13.2 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.672e-05/0.4813, allocations: 18.98 kB / 0.6252 GB, free: 13.19 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.0002008/0.4815, allocations: 204.9 kB / 0.6254 GB, free: 13.02 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001084/0.4826, allocations: 194.5 kB / 0.6256 GB, free: 12.84 MB / 426.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.0001674/0.4828, allocations: 107.8 kB / 0.6257 GB, free: 12.72 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003674/0.4865, allocations: 1.415 MB / 0.6271 GB, free: 11.43 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.4865, allocations: 4.062 kB / 0.6271 GB, free: 11.42 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004234/0.4869, allocations: 279.3 kB / 0.6274 GB, free: 11.19 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008267/0.4878, allocations: 111.9 kB / 0.6275 GB, free: 11.11 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002133/0.4899, allocations: 0.8652 MB / 0.6283 GB, free: 10.26 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005564/0.4905, allocations: 0.9098 MB / 0.6292 GB, free: 9.324 MB / 426.7 MB Notification: Performance of SimCode: time 4.91e-07/0.4905, allocations: 0 / 0.6292 GB, free: 9.324 MB / 426.7 MB Notification: Performance of Templates: time 0.01663/0.5071, allocations: 9.778 MB / 0.6388 GB, free: 15.61 MB / 442.7 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)