Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_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_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 3.2.3+maint.om/package.mo): time 0.0009512/0.000951, allocations: 180.5 kB / 7.801 MB, free: 2.277 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.016/1.016, allocations: 205.2 MB / 213.4 MB, free: 13.91 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.000833/0.000833, allocations: 83.94 kB / 261.4 MB, free: 13.54 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1508/0.1508, allocations: 43.49 MB / 352.9 MB, free: 1.957 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.05e-06/5.08e-06, allocations: 0 / 417.7 MB, free: 40.56 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2036/0.2036, allocations: 58.83 MB / 476.6 MB, free: 5.293 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09788/0.3015, allocations: 87.46 MB / 0.5508 GB, free: 11.57 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001542/0.3017, allocations: 67.95 kB / 0.5509 GB, free: 11.5 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.02937/0.3311, allocations: 11.09 MB / 0.5617 GB, free: 364 kB / 394.7 MB Notification: Performance of Transformations before backend: time 2.803e-05/0.3312, allocations: 15.94 kB / 0.5617 GB, free: 348 kB / 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.001539/0.3327, allocations: 0.9037 MB / 0.5626 GB, free: 15.39 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.89e-05/0.3327, allocations: 8.031 kB / 0.5626 GB, free: 15.38 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000115/0.3329, allocations: 71.16 kB / 0.5627 GB, free: 15.31 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004616/0.3333, allocations: 393.8 kB / 0.563 GB, free: 14.88 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.684e-05/0.3334, allocations: 15.91 kB / 0.5631 GB, free: 14.87 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.561e-05/0.3334, allocations: 39.92 kB / 0.5631 GB, free: 14.83 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004465/0.3339, allocations: 246 kB / 0.5633 GB, free: 14.59 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005594/0.3345, allocations: 418.7 kB / 0.5637 GB, free: 14.13 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.404e-05/0.3345, allocations: 7.984 kB / 0.5637 GB, free: 14.12 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.595e-05/0.3345, allocations: 4 kB / 0.5637 GB, free: 14.12 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.305e-05/0.3345, allocations: 12 kB / 0.5637 GB, free: 14.11 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002768/0.3373, allocations: 1.871 MB / 0.5656 GB, free: 12.17 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004912/0.3378, allocations: 426.8 kB / 0.566 GB, free: 11.69 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002433/0.3381, allocations: 194 kB / 0.5662 GB, free: 11.48 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.602e-05/0.3381, allocations: 12.45 kB / 0.5662 GB, free: 11.46 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.793e-05/0.3381, allocations: 50.48 kB / 0.5662 GB, free: 11.41 MB / 410.7 MB Notification: Performance of pre-optimization done (n=43): time 2.966e-06/0.3382, allocations: 3.984 kB / 0.5662 GB, free: 11.4 MB / 410.7 MB Notification: Performance of matching and sorting (n=43): time 0.0006556/0.3388, allocations: 329.3 kB / 0.5665 GB, free: 11.07 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.746e-05/0.3389, allocations: 294.7 kB / 0.5668 GB, free: 10.72 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002289/0.3392, allocations: 281.1 kB / 0.5671 GB, free: 10.44 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.197e-05/0.3392, allocations: 25.7 kB / 0.5671 GB, free: 10.41 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.667e-05/0.3393, allocations: 216.6 kB / 0.5673 GB, free: 10.2 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.815e-05/0.3394, allocations: 161.6 kB / 0.5675 GB, free: 10.04 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.13e-05/0.3394, allocations: 0 / 0.5675 GB, free: 10.04 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001083/0.3395, allocations: 354.8 kB / 0.5678 GB, free: 9.68 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001868/0.3397, allocations: 109.3 kB / 0.5679 GB, free: 9.574 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002713/0.34, allocations: 256.5 kB / 0.5682 GB, free: 9.266 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000204/0.3402, allocations: 135.8 kB / 0.5683 GB, free: 9.133 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.3402, allocations: 3.938 kB / 0.5683 GB, free: 9.129 MB / 410.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.00217/0.3424, allocations: 0.8138 MB / 0.5691 GB, free: 8.289 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003633/0.3428, allocations: 1.316 MB / 0.5704 GB, free: 6.871 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/0.3428, allocations: 4.078 kB / 0.5704 GB, free: 6.867 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001377/0.3442, allocations: 372.9 kB / 0.5707 GB, free: 6.484 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004837/0.3447, allocations: 115.8 kB / 0.5709 GB, free: 6.371 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00544/0.3501, allocations: 6.349 MB / 0.5771 GB, free: 15.66 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005624/0.3507, allocations: 127.5 kB / 0.5772 GB, free: 15.54 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.831e-05/0.3508, allocations: 20 kB / 0.5772 GB, free: 15.52 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.721e-06/0.3508, allocations: 4 kB / 0.5772 GB, free: 15.52 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001004/0.3518, allocations: 449.7 kB / 0.5776 GB, free: 15.07 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.3518, allocations: 8.531 kB / 0.5776 GB, free: 15.06 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004597/0.3523, allocations: 129.6 kB / 0.5778 GB, free: 14.93 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007625/0.353, allocations: 207.7 kB / 0.578 GB, free: 14.73 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003064/0.3561, allocations: 3.218 MB / 0.5811 GB, free: 11.27 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004603/0.3566, allocations: 103.6 kB / 0.5812 GB, free: 11.17 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.114e-05/0.3566, allocations: 20.06 kB / 0.5812 GB, free: 11.15 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.0001636/0.3568, allocations: 129.6 kB / 0.5813 GB, free: 11.02 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002006/0.357, allocations: 51.44 kB / 0.5814 GB, free: 10.97 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006786/0.3577, allocations: 389.3 kB / 0.5818 GB, free: 10.58 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/0.3577, allocations: 4 kB / 0.5818 GB, free: 10.57 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.3577, allocations: 4 kB / 0.5818 GB, free: 10.57 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/0.3577, allocations: 8.016 kB / 0.5818 GB, free: 10.56 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006675/0.3584, allocations: 425.6 kB / 0.5822 GB, free: 10.11 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.3584, allocations: 4 kB / 0.5822 GB, free: 10.11 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007321/0.3591, allocations: 155.8 kB / 0.5823 GB, free: 9.953 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.951e-05/0.3592, allocations: 24.84 kB / 0.5824 GB, free: 9.926 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.322e-05/0.3593, allocations: 7.984 kB / 0.5824 GB, free: 9.918 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006822/0.3599, allocations: 1.238 MB / 0.5836 GB, free: 8.559 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.147e-06/0.36, allocations: 8.016 kB / 0.5836 GB, free: 8.551 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009363/0.3609, allocations: 1.121 MB / 0.5847 GB, free: 7.363 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.457e-05/0.361, allocations: 128.4 kB / 0.5848 GB, free: 7.219 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.461e-05/0.3611, allocations: 4 kB / 0.5848 GB, free: 7.215 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000728/0.3618, allocations: 95.81 kB / 0.5849 GB, free: 7.121 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.998e-05/0.3619, allocations: 39.94 kB / 0.5849 GB, free: 7.082 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.89e-05/0.3619, allocations: 12 kB / 0.5849 GB, free: 7.07 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.0001613/0.3621, allocations: 211.2 kB / 0.5851 GB, free: 6.867 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0009322/0.363, allocations: 191.3 kB / 0.5853 GB, free: 6.68 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.0001298/0.3632, allocations: 107.1 kB / 0.5854 GB, free: 6.566 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003351/0.3665, allocations: 1.41 MB / 0.5868 GB, free: 5.117 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.3665, allocations: 192 / 0.5868 GB, free: 5.117 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000349/0.3669, allocations: 278.8 kB / 0.5871 GB, free: 4.836 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007599/0.3677, allocations: 115.1 kB / 0.5872 GB, free: 4.723 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001911/0.3696, allocations: 0.8863 MB / 0.588 GB, free: 3.793 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005001/0.3701, allocations: 0.9138 MB / 0.5889 GB, free: 2.852 MB / 426.7 MB Notification: Performance of SimCode: time 2.11e-07/0.3701, allocations: 0 / 0.5889 GB, free: 2.852 MB / 426.7 MB Notification: Performance of Templates: time 0.01392/0.384, allocations: 9.839 MB / 0.5985 GB, free: 9.02 MB / 442.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.LimitersHomotopy.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.LimitersHomotopy.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.LimitersHomotopy.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.LimitersHomotopy.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.LimitersHomotopy.sim & ./ModelicaTest_3.2.3_ModelicaTest.Blocks.LimitersHomotopy -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Blocks.LimitersHomotopy.pipe 2>&1)