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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001356/0.001356, allocations: 177.6 kB / 8.002 MB, free: 1.07 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.483/1.483, allocations: 205.3 MB / 213.7 MB, free: 1.672 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008146/0.0008145, allocations: 91.81 kB / 261.7 MB, free: 1.621 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.206/0.206, allocations: 43.5 MB / 353.2 MB, free: 280 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.624e-05/1.625e-05, allocations: 4 kB / 418.3 MB, free: 28.55 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1152/0.1152, allocations: 58.86 MB / 477.1 MB, free: 1.648 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3607/0.476, allocations: 87.53 MB / 0.5514 GB, free: 7.609 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001904/0.4762, allocations: 66.5 kB / 0.5515 GB, free: 7.578 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0277/0.5039, allocations: 11.31 MB / 0.5625 GB, free: 14.41 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.213e-06/0.504, allocations: 0 / 0.5625 GB, free: 14.41 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.17e-05/0.504, allocations: 15.94 kB / 0.5625 GB, free: 14.39 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.001541/0.5056, allocations: 0.882 MB / 0.5634 GB, free: 13.5 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.573e-05/0.5056, allocations: 8.031 kB / 0.5634 GB, free: 13.5 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001143/0.5057, allocations: 67.25 kB / 0.5635 GB, free: 13.43 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004765/0.5062, allocations: 397.8 kB / 0.5638 GB, free: 13.03 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.026e-05/0.5062, allocations: 16 kB / 0.5639 GB, free: 13.02 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.877e-05/0.5063, allocations: 43.64 kB / 0.5639 GB, free: 12.98 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004327/0.5068, allocations: 243.7 kB / 0.5641 GB, free: 12.83 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005982/0.5074, allocations: 431.9 kB / 0.5645 GB, free: 12.45 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.348e-05/0.5074, allocations: 0 / 0.5645 GB, free: 12.45 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.595e-05/0.5075, allocations: 4 kB / 0.5645 GB, free: 12.45 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.624e-05/0.5075, allocations: 19.94 kB / 0.5646 GB, free: 12.43 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002748/0.5102, allocations: 1.839 MB / 0.5664 GB, free: 10.73 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004833/0.5107, allocations: 418.8 kB / 0.5668 GB, free: 10.36 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002389/0.511, allocations: 201.9 kB / 0.567 GB, free: 10.2 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.417e-05/0.511, allocations: 14.86 kB / 0.567 GB, free: 10.19 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.265e-05/0.5111, allocations: 49.44 kB / 0.567 GB, free: 10.14 MB / 378.7 MB Notification: Performance of pre-optimization done (n=43): time 1.673e-06/0.5111, allocations: 0 / 0.567 GB, free: 10.14 MB / 378.7 MB Notification: Performance of matching and sorting (n=43): time 0.0006555/0.5117, allocations: 339.6 kB / 0.5673 GB, free: 9.871 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001181/0.5119, allocations: 294.8 kB / 0.5676 GB, free: 9.516 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002453/0.5121, allocations: 280.5 kB / 0.5679 GB, free: 9.285 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.981e-05/0.5122, allocations: 25.7 kB / 0.5679 GB, free: 9.254 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000137/0.5123, allocations: 270.6 kB / 0.5682 GB, free: 9.059 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001099/0.5124, allocations: 157.6 kB / 0.5683 GB, free: 8.922 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.184e-05/0.5125, allocations: 0 / 0.5683 GB, free: 8.922 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000117/0.5126, allocations: 353.7 kB / 0.5687 GB, free: 8.586 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001914/0.5128, allocations: 113.1 kB / 0.5688 GB, free: 8.52 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002533/0.513, allocations: 247.8 kB / 0.569 GB, free: 8.277 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001968/0.5133, allocations: 135.6 kB / 0.5691 GB, free: 8.188 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.5133, allocations: 0 / 0.5691 GB, free: 8.188 MB / 378.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.002046/0.5153, allocations: 0.8257 MB / 0.5699 GB, free: 7.465 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004403/0.5158, allocations: 1.306 MB / 0.5712 GB, free: 6.078 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.808e-06/0.5158, allocations: 11.95 kB / 0.5712 GB, free: 6.066 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001267/0.5171, allocations: 365.3 kB / 0.5716 GB, free: 5.758 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000453/0.5175, allocations: 104.4 kB / 0.5717 GB, free: 5.656 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00541/0.5229, allocations: 6.268 MB / 0.5778 GB, free: 15.41 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005783/0.5235, allocations: 107.5 kB / 0.5779 GB, free: 15.31 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.857e-05/0.5236, allocations: 27.8 kB / 0.5779 GB, free: 15.29 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.345e-06/0.5236, allocations: 4 kB / 0.5779 GB, free: 15.29 MB / 394.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009606/0.5246, allocations: 453 kB / 0.5784 GB, free: 14.93 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.784e-06/0.5246, allocations: 4 kB / 0.5784 GB, free: 14.92 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004289/0.525, allocations: 128.9 kB / 0.5785 GB, free: 14.81 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007081/0.5258, allocations: 199.6 kB / 0.5787 GB, free: 14.62 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002992/0.5288, allocations: 3.2 MB / 0.5818 GB, free: 11.43 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004728/0.5292, allocations: 99.47 kB / 0.5819 GB, free: 11.34 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.394e-05/0.5293, allocations: 15.88 kB / 0.5819 GB, free: 11.32 MB / 394.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.0002062/0.5295, allocations: 125.4 kB / 0.582 GB, free: 11.2 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001745/0.5297, allocations: 55.44 kB / 0.5821 GB, free: 11.14 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006945/0.5304, allocations: 394.9 kB / 0.5825 GB, free: 10.84 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.51e-06/0.5304, allocations: 4 kB / 0.5825 GB, free: 10.84 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.5304, allocations: 4.188 kB / 0.5825 GB, free: 10.83 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.866e-06/0.5304, allocations: 8.031 kB / 0.5825 GB, free: 10.82 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007038/0.5311, allocations: 430.9 kB / 0.5829 GB, free: 10.45 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-06/0.5311, allocations: 0 / 0.5829 GB, free: 10.45 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007019/0.5319, allocations: 154.3 kB / 0.583 GB, free: 10.3 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.139e-05/0.5319, allocations: 16.84 kB / 0.583 GB, free: 10.29 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.313e-05/0.532, allocations: 11.88 kB / 0.5831 GB, free: 10.28 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007112/0.5327, allocations: 1.237 MB / 0.5843 GB, free: 8.949 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.5327, allocations: 0 / 0.5843 GB, free: 8.949 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009229/0.5336, allocations: 1.129 MB / 0.5854 GB, free: 7.918 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.545e-05/0.5337, allocations: 120.4 kB / 0.5855 GB, free: 7.781 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.732e-05/0.5338, allocations: 4 kB / 0.5855 GB, free: 7.777 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000663/0.5345, allocations: 86.59 kB / 0.5856 GB, free: 7.695 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.798e-05/0.5346, allocations: 46.33 kB / 0.5856 GB, free: 7.656 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.664e-05/0.5346, allocations: 19.44 kB / 0.5856 GB, free: 7.641 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001735/0.5348, allocations: 218.2 kB / 0.5858 GB, free: 7.469 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.5348, allocations: 0 / 0.5858 GB, free: 7.469 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001025/0.5358, allocations: 183.5 kB / 0.586 GB, free: 7.289 MB / 394.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.0001445/0.536, allocations: 118.1 kB / 0.5861 GB, free: 7.168 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003184/0.5392, allocations: 1.42 MB / 0.5875 GB, free: 5.883 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.638e-06/0.5392, allocations: 5.125 kB / 0.5875 GB, free: 5.879 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003183/0.5395, allocations: 277 kB / 0.5878 GB, free: 5.652 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008131/0.5403, allocations: 119.3 kB / 0.5879 GB, free: 5.559 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001695/0.542, allocations: 0.8849 MB / 0.5888 GB, free: 4.703 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004304/0.5425, allocations: 0.8791 MB / 0.5896 GB, free: 3.793 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003564/0.5428, allocations: 85.27 kB / 0.5897 GB, free: 3.707 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001033/0.543, allocations: 27.44 kB / 0.5897 GB, free: 3.68 MB / 394.7 MB Notification: Performance of SimCode: time 1.864e-06/0.543, allocations: 0 / 0.5897 GB, free: 3.68 MB / 394.7 MB Notification: Performance of Templates: time 0.01342/0.5564, allocations: 8.738 MB / 0.5983 GB, free: 10.96 MB / 410.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)