Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.LimitersHomotopy.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/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") [: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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001738/0.001738, allocations: 186.1 kB / 8.148 MB, free: 0.8633 MB / 6.77 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.789/1.789, allocations: 205.2 MB / 213.7 MB, free: 8.672 MB / 178.8 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001226/0.001226, allocations: 93.72 kB / 261.8 MB, free: 5.086 MB / 210.8 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.266/0.266, allocations: 43.49 MB / 353.2 MB, free: 11.42 MB / 306.8 MB Notification: Performance of FrontEnd - loaded program: time 9.889e-06/1.003e-05, allocations: 8 kB / 417.7 MB, free: 68.59 MB / 322.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09849/0.09852, allocations: 58.85 MB / 476.5 MB, free: 9.684 MB / 322.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3168/0.4154, allocations: 87.46 MB / 0.5508 GB, free: 9.316 MB / 370.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002322/0.4157, allocations: 61.78 kB / 0.5508 GB, free: 9.285 MB / 370.8 MB Notification: Performance of FrontEnd: time 0.05296/0.4686, allocations: 11.09 MB / 0.5617 GB, free: 15.97 MB / 386.8 MB Notification: Performance of Transformations before backend: time 5.043e-05/0.4687, allocations: 12 kB / 0.5617 GB, free: 15.96 MB / 386.8 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.00303/0.4718, allocations: 0.9099 MB / 0.5626 GB, free: 15.04 MB / 386.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/0.4719, allocations: 12.03 kB / 0.5626 GB, free: 15.03 MB / 386.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002327/0.4721, allocations: 71.16 kB / 0.5627 GB, free: 14.96 MB / 386.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008947/0.473, allocations: 392.6 kB / 0.563 GB, free: 14.57 MB / 386.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.652e-05/0.4731, allocations: 23.84 kB / 0.5631 GB, free: 14.54 MB / 386.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001149/0.4732, allocations: 28 kB / 0.5631 GB, free: 14.52 MB / 386.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008799/0.4741, allocations: 248.7 kB / 0.5633 GB, free: 14.37 MB / 386.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001032/0.4751, allocations: 423.3 kB / 0.5637 GB, free: 14 MB / 386.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.151e-05/0.4752, allocations: 3.938 kB / 0.5637 GB, free: 13.99 MB / 386.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.928e-05/0.4752, allocations: 0 / 0.5637 GB, free: 13.99 MB / 386.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.418e-05/0.4753, allocations: 12 kB / 0.5637 GB, free: 13.98 MB / 386.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005338/0.4806, allocations: 1.877 MB / 0.5656 GB, free: 12.24 MB / 386.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009673/0.4816, allocations: 412.3 kB / 0.566 GB, free: 11.88 MB / 386.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004877/0.4821, allocations: 203.4 kB / 0.5662 GB, free: 11.71 MB / 386.8 MB Notification: Performance of preOpt evalFunc (simulation): time 7.424e-05/0.4822, allocations: 19.91 kB / 0.5662 GB, free: 11.7 MB / 386.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.874e-05/0.4823, allocations: 41.88 kB / 0.5662 GB, free: 11.65 MB / 386.8 MB Notification: Performance of pre-optimization done (n=43): time 3.236e-06/0.4823, allocations: 0 / 0.5662 GB, free: 11.65 MB / 386.8 MB Notification: Performance of matching and sorting (n=43): time 0.001262/0.4836, allocations: 339.7 kB / 0.5665 GB, free: 11.38 MB / 386.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001683/0.4838, allocations: 294.4 kB / 0.5668 GB, free: 11.03 MB / 386.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000486/0.4843, allocations: 282.7 kB / 0.5671 GB, free: 10.8 MB / 386.8 MB Notification: Performance of collectPreVariables (initialization): time 7.48e-05/0.4843, allocations: 25.7 kB / 0.5671 GB, free: 10.77 MB / 386.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001567/0.4845, allocations: 249.1 kB / 0.5674 GB, free: 10.54 MB / 386.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001865/0.4847, allocations: 158.3 kB / 0.5675 GB, free: 10.4 MB / 386.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.429e-05/0.4848, allocations: 0 / 0.5675 GB, free: 10.4 MB / 386.8 MB Notification: Performance of setup shared object (initialization): time 0.0001416/0.4849, allocations: 333.2 kB / 0.5678 GB, free: 10.07 MB / 386.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003766/0.4853, allocations: 110.2 kB / 0.5679 GB, free: 10.01 MB / 386.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00051/0.4858, allocations: 248.6 kB / 0.5682 GB, free: 9.766 MB / 386.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004489/0.4863, allocations: 137.1 kB / 0.5683 GB, free: 9.676 MB / 386.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.898e-06/0.4863, allocations: 4 kB / 0.5683 GB, free: 9.672 MB / 386.8 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.004254/0.4906, allocations: 0.7948 MB / 0.5691 GB, free: 8.98 MB / 386.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006031/0.4912, allocations: 1.309 MB / 0.5704 GB, free: 7.594 MB / 386.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.649e-05/0.4912, allocations: 4 kB / 0.5704 GB, free: 7.59 MB / 386.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002494/0.4937, allocations: 369.1 kB / 0.5707 GB, free: 7.277 MB / 386.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001091/0.4949, allocations: 115.1 kB / 0.5708 GB, free: 7.168 MB / 386.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0103/0.5052, allocations: 6.312 MB / 0.577 GB, free: 0.8438 MB / 386.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001127/0.5064, allocations: 115.7 kB / 0.5771 GB, free: 0.7305 MB / 386.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.469e-05/0.5064, allocations: 23.44 kB / 0.5771 GB, free: 0.7109 MB / 386.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.093e-05/0.5065, allocations: 4 kB / 0.5771 GB, free: 0.707 MB / 386.8 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001973/0.5084, allocations: 455.6 kB / 0.5776 GB, free: 356 kB / 386.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.039e-05/0.5085, allocations: 4 kB / 0.5776 GB, free: 352 kB / 386.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008187/0.5093, allocations: 136.5 kB / 0.5777 GB, free: 232 kB / 386.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0016/0.5109, allocations: 194.4 kB / 0.5779 GB, free: 44 kB / 386.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005731/0.5167, allocations: 3.206 MB / 0.581 GB, free: 12.83 MB / 402.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009419/0.5177, allocations: 99.84 kB / 0.5811 GB, free: 12.73 MB / 402.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.945e-05/0.5177, allocations: 23.36 kB / 0.5811 GB, free: 12.71 MB / 402.8 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.0003114/0.5181, allocations: 46.86 kB / 0.5812 GB, free: 12.67 MB / 402.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003181/0.5184, allocations: 48 kB / 0.5812 GB, free: 12.62 MB / 402.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001296/0.5197, allocations: 399.2 kB / 0.5816 GB, free: 12.31 MB / 402.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.258e-05/0.5197, allocations: 8 kB / 0.5816 GB, free: 12.3 MB / 402.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.5198, allocations: 4.031 kB / 0.5816 GB, free: 12.3 MB / 402.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.133e-05/0.5198, allocations: 4 kB / 0.5816 GB, free: 12.3 MB / 402.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001213/0.521, allocations: 437.9 kB / 0.582 GB, free: 11.92 MB / 402.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.089e-06/0.521, allocations: 3.938 kB / 0.582 GB, free: 11.91 MB / 402.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00155/0.5226, allocations: 154.9 kB / 0.5822 GB, free: 11.77 MB / 402.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001499/0.5228, allocations: 20.84 kB / 0.5822 GB, free: 11.74 MB / 402.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.334e-05/0.5228, allocations: 11.09 kB / 0.5822 GB, free: 11.73 MB / 402.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001192/0.524, allocations: 1.23 MB / 0.5834 GB, free: 10.41 MB / 402.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/0.5241, allocations: 0 / 0.5834 GB, free: 10.41 MB / 402.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001846/0.5259, allocations: 1.122 MB / 0.5845 GB, free: 9.371 MB / 402.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001787/0.5261, allocations: 124 kB / 0.5846 GB, free: 9.234 MB / 402.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001168/0.5263, allocations: 7.906 kB / 0.5846 GB, free: 9.227 MB / 402.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001388/0.5277, allocations: 95.91 kB / 0.5847 GB, free: 9.133 MB / 402.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000143/0.5278, allocations: 34.83 kB / 0.5848 GB, free: 9.105 MB / 402.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.459e-05/0.5279, allocations: 11.38 kB / 0.5848 GB, free: 9.098 MB / 402.8 MB Notification: Performance of sort global known variables: time 0.000323/0.5282, allocations: 214.1 kB / 0.585 GB, free: 8.93 MB / 402.8 MB Notification: Performance of remove unused functions: time 0.001576/0.5298, allocations: 183.3 kB / 0.5851 GB, free: 8.75 MB / 402.8 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.0002372/0.5301, allocations: 118.8 kB / 0.5853 GB, free: 8.629 MB / 402.8 MB Notification: Performance of simCode: created initialization part: time 0.006687/0.5368, allocations: 1.383 MB / 0.5866 GB, free: 7.363 MB / 402.8 MB Notification: Performance of simCode: created event and clocks part: time 7.464e-06/0.5368, allocations: 0 / 0.5866 GB, free: 7.363 MB / 402.8 MB Notification: Performance of simCode: created simulation system equations: time 0.000696/0.5375, allocations: 272 kB / 0.5869 GB, free: 7.137 MB / 402.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001451/0.539, allocations: 128.2 kB / 0.587 GB, free: 7.043 MB / 402.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003599/0.5426, allocations: 0.9043 MB / 0.5879 GB, free: 6.156 MB / 402.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008864/0.5435, allocations: 0.9231 MB / 0.5888 GB, free: 5.211 MB / 402.8 MB Notification: Performance of SimCode: time 1.332e-06/0.5436, allocations: 3.938 kB / 0.5888 GB, free: 5.207 MB / 402.8 MB Notification: Performance of Templates: time 0.0237/0.5673, allocations: 12.94 MB / 0.6014 GB, free: 8.305 MB / 418.8 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)