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.001005/0.001005, allocations: 183.2 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.387/1.387, allocations: 205.2 MB / 218.9 MB, free: 9.191 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.0008214/0.0008214, allocations: 89.02 kB / 267.1 MB, free: 9.27 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.3442/0.3442, allocations: 43.47 MB / 358.6 MB, free: 52.31 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.489e-05/2.493e-05, allocations: 0 / 425.3 MB, free: 8.891 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1121/0.1121, allocations: 58.85 MB / 484.1 MB, free: 13.94 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.351/0.4631, allocations: 88.2 MB / 0.5589 GB, free: 0.7969 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002097/0.4634, allocations: 63.97 kB / 0.559 GB, free: 0.7344 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03164/0.4951, allocations: 11.38 MB / 0.5701 GB, free: 5.348 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.4951, allocations: 0 / 0.5701 GB, free: 5.348 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.286e-05/0.4951, allocations: 12 kB / 0.5701 GB, free: 5.336 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.001659/0.4968, allocations: 0.8803 MB / 0.571 GB, free: 4.41 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.495e-05/0.4969, allocations: 12.03 kB / 0.571 GB, free: 4.398 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001312/0.497, allocations: 78.58 kB / 0.5711 GB, free: 4.324 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005728/0.4976, allocations: 385.8 kB / 0.5714 GB, free: 3.91 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.257e-05/0.4976, allocations: 33 kB / 0.5715 GB, free: 3.879 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.842e-05/0.4977, allocations: 52 kB / 0.5715 GB, free: 3.828 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007515/0.4985, allocations: 490.6 kB / 0.572 GB, free: 3.309 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.49e-05/0.4985, allocations: 5.062 kB / 0.572 GB, free: 3.305 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.655e-05/0.4986, allocations: 23.39 kB / 0.572 GB, free: 3.285 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.009e-05/0.4986, allocations: 8 kB / 0.572 GB, free: 3.277 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000488/0.4991, allocations: 281.8 kB / 0.5723 GB, free: 3.004 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003004/0.5021, allocations: 1.938 MB / 0.5742 GB, free: 0.9844 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006007/0.5027, allocations: 446.3 kB / 0.5746 GB, free: 496 kB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002812/0.503, allocations: 214 kB / 0.5748 GB, free: 260 kB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.227e-05/0.5031, allocations: 16.91 kB / 0.5748 GB, free: 244 kB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.905e-05/0.5031, allocations: 46.5 kB / 0.5749 GB, free: 188 kB / 394.7 MB Notification: Performance of pre-optimization done (n=43): time 1.763e-06/0.5031, allocations: 0 / 0.5749 GB, free: 188 kB / 394.7 MB Notification: Performance of matching and sorting (n=43): time 0.0007309/0.5038, allocations: 357.1 kB / 0.5752 GB, free: 15.82 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001215/0.504, allocations: 294.5 kB / 0.5755 GB, free: 15.47 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000296/0.5043, allocations: 315.9 kB / 0.5758 GB, free: 15.16 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.1e-05/0.5043, allocations: 37.7 kB / 0.5758 GB, free: 15.12 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000158/0.5045, allocations: 268.2 kB / 0.5761 GB, free: 14.85 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001048/0.5046, allocations: 149.8 kB / 0.5762 GB, free: 14.7 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.943e-05/0.5047, allocations: 12 kB / 0.5762 GB, free: 14.69 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001499/0.5048, allocations: 362.8 kB / 0.5766 GB, free: 14.33 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002144/0.505, allocations: 117.1 kB / 0.5767 GB, free: 14.21 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003104/0.5053, allocations: 264.9 kB / 0.5769 GB, free: 13.9 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002421/0.5056, allocations: 143.8 kB / 0.5771 GB, free: 13.76 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.5056, allocations: 4 kB / 0.5771 GB, free: 13.76 MB / 410.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.002115/0.5077, allocations: 0.8646 MB / 0.5779 GB, free: 12.87 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004826/0.5082, allocations: 1.316 MB / 0.5792 GB, free: 11.45 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/0.5082, allocations: 4 kB / 0.5792 GB, free: 11.45 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001317/0.5096, allocations: 388.8 kB / 0.5796 GB, free: 11.05 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004615/0.51, allocations: 111.8 kB / 0.5797 GB, free: 10.94 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005704/0.5157, allocations: 6.437 MB / 0.586 GB, free: 4.102 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005488/0.5163, allocations: 120.1 kB / 0.5861 GB, free: 3.984 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.734e-05/0.5164, allocations: 24 kB / 0.5861 GB, free: 3.961 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.646e-06/0.5164, allocations: 4 kB / 0.5861 GB, free: 3.957 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001086/0.5175, allocations: 0.5011 MB / 0.5866 GB, free: 3.449 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.5175, allocations: 8 kB / 0.5866 GB, free: 3.441 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004412/0.5179, allocations: 137.9 kB / 0.5868 GB, free: 3.301 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006983/0.5186, allocations: 199.7 kB / 0.5869 GB, free: 3.105 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003326/0.522, allocations: 3.353 MB / 0.5902 GB, free: 15.49 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004703/0.5225, allocations: 107.5 kB / 0.5903 GB, free: 15.38 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.394e-05/0.5225, allocations: 20 kB / 0.5903 GB, free: 15.36 MB / 426.7 MB 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 {2 4,2 4,2 4,2 4,2 4,2 4} Notification: Performance of prepare postOptimizeDAE: time 0.000153/0.5227, allocations: 136.9 kB / 0.5905 GB, free: 15.22 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001773/0.5229, allocations: 51.44 kB / 0.5905 GB, free: 15.17 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007716/0.5236, allocations: 429.4 kB / 0.5909 GB, free: 14.75 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.434e-06/0.5237, allocations: 8 kB / 0.5909 GB, free: 14.74 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/0.5237, allocations: 0 / 0.5909 GB, free: 14.74 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.018e-05/0.5237, allocations: 11.94 kB / 0.5909 GB, free: 14.73 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008021/0.5245, allocations: 497 kB / 0.5914 GB, free: 14.19 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.5245, allocations: 4 kB / 0.5914 GB, free: 14.19 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006712/0.5252, allocations: 143.9 kB / 0.5916 GB, free: 14.05 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.221e-05/0.5253, allocations: 20.84 kB / 0.5916 GB, free: 14.02 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.406e-05/0.5253, allocations: 12 kB / 0.5916 GB, free: 14.01 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008583/0.5262, allocations: 1.298 MB / 0.5929 GB, free: 12.57 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.039e-06/0.5262, allocations: 7.938 kB / 0.5929 GB, free: 12.57 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001079/0.5273, allocations: 1.152 MB / 0.594 GB, free: 11.36 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.713e-05/0.5274, allocations: 128.4 kB / 0.5941 GB, free: 11.21 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.288e-05/0.5274, allocations: 12 kB / 0.5941 GB, free: 11.2 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006747/0.5281, allocations: 95.88 kB / 0.5942 GB, free: 11.11 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001038/0.5282, allocations: 47.97 kB / 0.5943 GB, free: 11.06 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.985e-05/0.5283, allocations: 12.09 kB / 0.5943 GB, free: 11.05 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002266/0.5285, allocations: 241.2 kB / 0.5945 GB, free: 10.81 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.01e-07/0.5285, allocations: 4 kB / 0.5945 GB, free: 10.81 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001015/0.5295, allocations: 215.4 kB / 0.5947 GB, free: 10.6 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.5297, allocations: 112.1 kB / 0.5948 GB, free: 10.48 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003836/0.5335, allocations: 1.615 MB / 0.5964 GB, free: 8.809 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.5336, allocations: 0 / 0.5964 GB, free: 8.809 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003798/0.5339, allocations: 294.4 kB / 0.5967 GB, free: 8.508 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007711/0.5347, allocations: 123.8 kB / 0.5968 GB, free: 8.387 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00169/0.5364, allocations: 0.9141 MB / 0.5977 GB, free: 7.43 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004787/0.5369, allocations: 0.8753 MB / 0.5985 GB, free: 6.527 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0003458/0.5373, allocations: 86.19 kB / 0.5986 GB, free: 6.445 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000111/0.5374, allocations: 39.42 kB / 0.5987 GB, free: 6.406 MB / 426.7 MB Notification: Performance of SimCode: time 3.7e-07/0.5374, allocations: 0 / 0.5987 GB, free: 6.406 MB / 426.7 MB Notification: Performance of Templates: time 0.01508/0.5525, allocations: 9.396 MB / 0.6078 GB, free: 13.06 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)