Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Blocks.LimitersHomotopy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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_4.0.0_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 4.0.0+maint.om/package.mo): time 0.0009846/0.0009846, allocations: 172.5 kB / 8.517 MB, free: 1.844 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.167/1.167, allocations: 221.4 MB / 230.3 MB, free: 7.707 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009303/0.0009303, allocations: 95.2 kB / 281.2 MB, free: 5.457 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1595/0.1595, allocations: 44.15 MB / 376.1 MB, free: 3.223 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 6.342e-06/6.352e-06, allocations: 224 / 444 MB, free: 15.61 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1129/0.1129, allocations: 61.91 MB / 0.4941 GB, free: 1.602 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2786/0.3916, allocations: 88.48 MB / 0.5805 GB, free: 8.285 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001735/0.3918, allocations: 60.14 kB / 0.5805 GB, free: 8.234 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.03212/0.4239, allocations: 11.12 MB / 0.5914 GB, free: 13.07 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.946e-05/0.424, allocations: 19.94 kB / 0.5914 GB, free: 13.05 MB / 410.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.001694/0.4257, allocations: 0.9037 MB / 0.5923 GB, free: 12.1 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.706e-05/0.4257, allocations: 11.97 kB / 0.5923 GB, free: 12.09 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001252/0.4259, allocations: 67.25 kB / 0.5924 GB, free: 12.02 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004781/0.4264, allocations: 384.2 kB / 0.5928 GB, free: 11.61 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.894e-05/0.4264, allocations: 12 kB / 0.5928 GB, free: 11.59 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.06e-05/0.4265, allocations: 35.89 kB / 0.5928 GB, free: 11.56 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004999/0.427, allocations: 253.9 kB / 0.593 GB, free: 11.31 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000613/0.4276, allocations: 422.7 kB / 0.5934 GB, free: 10.86 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.579e-05/0.4276, allocations: 0 / 0.5934 GB, free: 10.86 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.322e-05/0.4277, allocations: 7.828 kB / 0.5935 GB, free: 10.85 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.231e-05/0.4277, allocations: 8 kB / 0.5935 GB, free: 10.84 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002981/0.4307, allocations: 1.863 MB / 0.5953 GB, free: 8.91 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005551/0.4312, allocations: 419 kB / 0.5957 GB, free: 8.438 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002771/0.4315, allocations: 206.1 kB / 0.5959 GB, free: 8.215 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.15e-05/0.4316, allocations: 12.83 kB / 0.5959 GB, free: 8.203 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.719e-05/0.4316, allocations: 42.66 kB / 0.5959 GB, free: 8.152 MB / 410.7 MB Notification: Performance of pre-optimization done (n=43): time 3.747e-06/0.4316, allocations: 7.984 kB / 0.5959 GB, free: 8.145 MB / 410.7 MB Notification: Performance of matching and sorting (n=43): time 0.0007127/0.4323, allocations: 337.1 kB / 0.5963 GB, free: 7.809 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.727e-05/0.4325, allocations: 290.7 kB / 0.5965 GB, free: 7.457 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002409/0.4327, allocations: 268.8 kB / 0.5968 GB, free: 7.191 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.864e-05/0.4328, allocations: 25.7 kB / 0.5968 GB, free: 7.16 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001022/0.4329, allocations: 208.5 kB / 0.597 GB, free: 6.949 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001114/0.433, allocations: 161.7 kB / 0.5972 GB, free: 6.789 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.187e-05/0.433, allocations: 7.969 kB / 0.5972 GB, free: 6.781 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001165/0.4331, allocations: 358.8 kB / 0.5975 GB, free: 6.422 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000206/0.4333, allocations: 109.3 kB / 0.5976 GB, free: 6.316 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002807/0.4336, allocations: 244.6 kB / 0.5979 GB, free: 6.016 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002297/0.4339, allocations: 135.8 kB / 0.598 GB, free: 5.883 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/0.4339, allocations: 4 kB / 0.598 GB, free: 5.879 MB / 410.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.002373/0.4363, allocations: 0.8213 MB / 0.5988 GB, free: 5.031 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004583/0.4367, allocations: 1.308 MB / 0.6001 GB, free: 3.621 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/0.4367, allocations: 8 kB / 0.6001 GB, free: 3.613 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001521/0.4383, allocations: 372.9 kB / 0.6004 GB, free: 3.23 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005398/0.4388, allocations: 107.9 kB / 0.6005 GB, free: 3.125 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006035/0.4449, allocations: 6.354 MB / 0.6067 GB, free: 12.42 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006523/0.4455, allocations: 127.5 kB / 0.6069 GB, free: 12.29 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.622e-05/0.4456, allocations: 20 kB / 0.6069 GB, free: 12.27 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.216e-06/0.4456, allocations: 4 kB / 0.6069 GB, free: 12.27 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001124/0.4467, allocations: 461.4 kB / 0.6073 GB, free: 11.81 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.972e-06/0.4468, allocations: 4 kB / 0.6073 GB, free: 11.81 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000498/0.4473, allocations: 125.9 kB / 0.6074 GB, free: 11.68 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008071/0.4481, allocations: 211.7 kB / 0.6076 GB, free: 11.47 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003453/0.4516, allocations: 3.202 MB / 0.6108 GB, free: 8.027 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005701/0.4521, allocations: 95.69 kB / 0.6109 GB, free: 7.934 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.874e-05/0.4522, allocations: 28.05 kB / 0.6109 GB, free: 7.906 MB / 426.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.0002521/0.4525, allocations: 128.9 kB / 0.611 GB, free: 7.773 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002161/0.4527, allocations: 51.44 kB / 0.6111 GB, free: 7.723 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000765/0.4535, allocations: 385.3 kB / 0.6114 GB, free: 7.336 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.202e-06/0.4535, allocations: 4 kB / 0.6114 GB, free: 7.332 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.4535, allocations: 4 kB / 0.6114 GB, free: 7.328 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/0.4535, allocations: 0 / 0.6114 GB, free: 7.328 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007704/0.4543, allocations: 425.6 kB / 0.6118 GB, free: 6.875 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.4543, allocations: 0 / 0.6118 GB, free: 6.875 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007931/0.4551, allocations: 171.9 kB / 0.612 GB, free: 6.707 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.575e-05/0.4552, allocations: 12.86 kB / 0.612 GB, free: 6.691 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.179e-05/0.4552, allocations: 19.98 kB / 0.612 GB, free: 6.672 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007975/0.456, allocations: 1.234 MB / 0.6132 GB, free: 5.32 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/0.456, allocations: 3.984 kB / 0.6133 GB, free: 5.316 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001073/0.4571, allocations: 1.117 MB / 0.6143 GB, free: 4.141 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.024e-05/0.4572, allocations: 128.4 kB / 0.6145 GB, free: 3.996 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.111e-05/0.4573, allocations: 4 kB / 0.6145 GB, free: 3.992 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008307/0.4581, allocations: 87.92 kB / 0.6146 GB, free: 3.906 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.729e-05/0.4582, allocations: 43.83 kB / 0.6146 GB, free: 3.863 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.628e-05/0.4583, allocations: 20 kB / 0.6146 GB, free: 3.844 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.0001818/0.4585, allocations: 207.2 kB / 0.6148 GB, free: 3.641 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001107/0.4596, allocations: 183.4 kB / 0.615 GB, free: 3.461 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.0001617/0.4598, allocations: 111.1 kB / 0.6151 GB, free: 3.34 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003661/0.4634, allocations: 1.41 MB / 0.6165 GB, free: 1.891 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.732e-06/0.4635, allocations: 3.938 kB / 0.6165 GB, free: 1.887 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004274/0.4639, allocations: 278.4 kB / 0.6167 GB, free: 1.605 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008306/0.4647, allocations: 122 kB / 0.6169 GB, free: 1.492 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002115/0.4669, allocations: 0.8781 MB / 0.6177 GB, free: 0.5547 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005554/0.4674, allocations: 0.9059 MB / 0.6186 GB, free: 15.62 MB / 442.7 MB Notification: Performance of SimCode: time 4.11e-07/0.4674, allocations: 0 / 0.6186 GB, free: 15.62 MB / 442.7 MB Notification: Performance of Templates: time 0.01654/0.484, allocations: 9.768 MB / 0.6281 GB, free: 5.914 MB / 442.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.LimitersHomotopy.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.LimitersHomotopy.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.LimitersHomotopy.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.LimitersHomotopy.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.LimitersHomotopy.sim & ./ModelicaTest_4.0.0_ModelicaTest.Blocks.LimitersHomotopy -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Blocks.LimitersHomotopy.pipe 2>&1)