Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002147/0.002146, allocations: 185.9 kB / 16.4 MB, free: 5.75 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.016/2.016, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.001925/0.001925, allocations: 92.16 kB / 270.9 MB, free: 8.355 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.5001/0.5001, allocations: 43.55 MB / 362.7 MB, free: 51.95 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006233/0.0006233, allocations: 8 kB / 431.4 MB, free: 5.945 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1292/0.1299, allocations: 58.85 MB / 490.2 MB, free: 11 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4559/0.5859, allocations: 88.29 MB / 0.5649 GB, free: 14.26 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002441/0.5862, allocations: 63.97 kB / 0.565 GB, free: 14.2 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0546/0.6408, allocations: 11.41 MB / 0.5761 GB, free: 2.777 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.445e-06/0.6409, allocations: 0 / 0.5761 GB, free: 2.777 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.974e-05/0.6409, allocations: 16 kB / 0.5762 GB, free: 2.762 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.002988/0.6439, allocations: 0.9349 MB / 0.5771 GB, free: 1.777 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.864e-05/0.644, allocations: 12.03 kB / 0.5771 GB, free: 1.766 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001857/0.6442, allocations: 67.16 kB / 0.5771 GB, free: 1.699 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008194/0.645, allocations: 409.2 kB / 0.5775 GB, free: 1.262 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.718e-05/0.6451, allocations: 33 kB / 0.5776 GB, free: 1.23 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001306/0.6452, allocations: 48 kB / 0.5776 GB, free: 1.184 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002389/0.6476, allocations: 0.6527 MB / 0.5783 GB, free: 496 kB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.333e-05/0.6477, allocations: 1.031 kB / 0.5783 GB, free: 496 kB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.341e-05/0.6477, allocations: 24 kB / 0.5783 GB, free: 472 kB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.06e-05/0.6478, allocations: 12 kB / 0.5783 GB, free: 460 kB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003207/0.651, allocations: 0.6205 MB / 0.5789 GB, free: 15.83 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005449/0.6565, allocations: 1.937 MB / 0.5808 GB, free: 13.81 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003085/0.6596, allocations: 0.6901 MB / 0.5815 GB, free: 13.05 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.3e-05/0.6597, allocations: 12.19 kB / 0.5815 GB, free: 13.04 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.254e-05/0.6598, allocations: 46.48 kB / 0.5815 GB, free: 12.99 MB / 410.7 MB Notification: Performance of pre-optimization done (n=43): time 3.487e-06/0.6598, allocations: 0 / 0.5815 GB, free: 12.99 MB / 410.7 MB Notification: Performance of matching and sorting (n=43): time 0.005019/0.6648, allocations: 0.9121 MB / 0.5824 GB, free: 12.07 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001734/0.665, allocations: 294.7 kB / 0.5827 GB, free: 11.71 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005377/0.6656, allocations: 309.1 kB / 0.583 GB, free: 11.41 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.986e-05/0.6657, allocations: 41.64 kB / 0.583 GB, free: 11.37 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00024/0.6659, allocations: 302.9 kB / 0.5833 GB, free: 11.07 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000204/0.6662, allocations: 157.7 kB / 0.5835 GB, free: 10.91 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.775e-05/0.6662, allocations: 12 kB / 0.5835 GB, free: 10.9 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001522/0.6664, allocations: 334.8 kB / 0.5838 GB, free: 10.57 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001533/0.6679, allocations: 268.9 kB / 0.584 GB, free: 10.3 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001659/0.6696, allocations: 416.8 kB / 0.5844 GB, free: 9.844 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001567/0.6712, allocations: 296.4 kB / 0.5847 GB, free: 9.555 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.178e-06/0.6712, allocations: 4 kB / 0.5847 GB, free: 9.551 MB / 410.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.006746/0.678, allocations: 1.189 MB / 0.5859 GB, free: 8.336 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006134/0.6786, allocations: 1.312 MB / 0.5872 GB, free: 6.922 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.365e-05/0.6787, allocations: 4 kB / 0.5872 GB, free: 6.918 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00337/0.682, allocations: 496.7 kB / 0.5876 GB, free: 6.414 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000986/0.6831, allocations: 111.8 kB / 0.5878 GB, free: 6.305 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01252/0.6956, allocations: 6.73 MB / 0.5943 GB, free: 15.18 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001156/0.6968, allocations: 127.6 kB / 0.5944 GB, free: 15.05 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.422e-05/0.6969, allocations: 20.62 kB / 0.5945 GB, free: 15.03 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/0.697, allocations: 6.656 kB / 0.5945 GB, free: 15.03 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004007/0.701, allocations: 0.7587 MB / 0.5952 GB, free: 14.26 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.928e-05/0.7011, allocations: 7.984 kB / 0.5952 GB, free: 14.25 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001059/0.7021, allocations: 161.8 kB / 0.5954 GB, free: 14.09 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001516/0.7037, allocations: 191.8 kB / 0.5956 GB, free: 13.9 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007192/0.7109, allocations: 3.514 MB / 0.599 GB, free: 10.12 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008913/0.7118, allocations: 95.69 kB / 0.5991 GB, free: 10.03 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.306e-05/0.7119, allocations: 23.98 kB / 0.5991 GB, free: 10.01 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 () * Number of clocked 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.0004684/0.7124, allocations: 249 kB / 0.5993 GB, free: 9.754 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002854/0.7127, allocations: 55.28 kB / 0.5994 GB, free: 9.699 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003613/0.7163, allocations: 0.7198 MB / 0.6001 GB, free: 8.973 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.62e-05/0.7164, allocations: 8 kB / 0.6001 GB, free: 8.965 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.7164, allocations: 7.938 kB / 0.6001 GB, free: 8.957 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.444e-05/0.7164, allocations: 7.984 kB / 0.6001 GB, free: 8.949 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001361/0.7178, allocations: 496.9 kB / 0.6006 GB, free: 8.414 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/0.7178, allocations: 4 kB / 0.6006 GB, free: 8.41 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001421/0.7192, allocations: 147.8 kB / 0.6007 GB, free: 8.266 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001694/0.7194, allocations: 20.84 kB / 0.6008 GB, free: 8.242 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.076e-05/0.7195, allocations: 12.31 kB / 0.6008 GB, free: 8.23 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001237/0.7207, allocations: 1.305 MB / 0.602 GB, free: 6.785 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/0.7208, allocations: 0 / 0.602 GB, free: 6.785 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005309/0.7261, allocations: 1.601 MB / 0.6036 GB, free: 5.125 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002014/0.7264, allocations: 132.3 kB / 0.6037 GB, free: 4.977 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001139/0.7265, allocations: 8 kB / 0.6037 GB, free: 4.969 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001245/0.7277, allocations: 103.9 kB / 0.6038 GB, free: 4.867 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001714/0.7279, allocations: 39.94 kB / 0.6039 GB, free: 4.828 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.288e-05/0.728, allocations: 12 kB / 0.6039 GB, free: 4.816 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0004101/0.7284, allocations: 243.2 kB / 0.6041 GB, free: 4.582 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.7284, allocations: 0 / 0.6041 GB, free: 4.582 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001555/0.73, allocations: 211.4 kB / 0.6043 GB, free: 4.375 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 () * Number of clocked 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.000228/0.7302, allocations: 123.2 kB / 0.6044 GB, free: 4.246 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01019/0.7404, allocations: 1.983 MB / 0.6064 GB, free: 2.219 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.275e-06/0.7405, allocations: 0 / 0.6064 GB, free: 2.219 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001907/0.7424, allocations: 443.4 kB / 0.6068 GB, free: 1.773 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001488/0.744, allocations: 122 kB / 0.6069 GB, free: 1.656 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004387/0.7484, allocations: 1.433 MB / 0.6083 GB, free: 180 kB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006537/0.7491, allocations: 0.8784 MB / 0.6092 GB, free: 15.27 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003062/0.7494, allocations: 31.44 kB / 0.6092 GB, free: 15.24 MB / 442.7 MB Notification: Performance of SimCode: time 1.032e-06/0.7494, allocations: 0 / 0.6092 GB, free: 15.24 MB / 442.7 MB Notification: Performance of Templates: time 0.02599/0.7755, allocations: 12.86 MB / 0.6218 GB, free: 2.383 MB / 442.7 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)