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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009617/0.0009618, allocations: 180.5 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.374/1.374, allocations: 221.4 MB / 236 MB, free: 2.949 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.0008906/0.0008907, allocations: 99.78 kB / 287 MB, free: 240 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2622/0.2622, allocations: 44.16 MB / 382 MB, free: 14.67 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.651e-05/2.653e-05, allocations: 4.219 kB / 451.8 MB, free: 9.422 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1305/0.1305, allocations: 61.92 MB / 0.5017 GB, free: 11.44 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4971/0.6277, allocations: 89.21 MB / 0.5888 GB, free: 92 kB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001947/0.6279, allocations: 63.97 kB / 0.5889 GB, free: 28 kB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03165/0.6596, allocations: 11.41 MB / 0.6 GB, free: 4.562 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.913e-06/0.6596, allocations: 4 kB / 0.6 GB, free: 4.559 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.623e-05/0.6597, allocations: 19.94 kB / 0.6 GB, free: 4.539 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.001596/0.6613, allocations: 0.8648 MB / 0.6009 GB, free: 3.625 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.853e-05/0.6613, allocations: 8.031 kB / 0.6009 GB, free: 3.617 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001174/0.6615, allocations: 71.23 kB / 0.601 GB, free: 3.547 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005152/0.662, allocations: 380.2 kB / 0.6013 GB, free: 3.133 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.946e-05/0.662, allocations: 40.95 kB / 0.6014 GB, free: 3.094 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.987e-05/0.6621, allocations: 51.91 kB / 0.6014 GB, free: 3.043 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007456/0.6629, allocations: 492.6 kB / 0.6019 GB, free: 2.52 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.482e-05/0.6629, allocations: 7.984 kB / 0.6019 GB, free: 2.512 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.759e-05/0.663, allocations: 16 kB / 0.6019 GB, free: 2.496 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.261e-05/0.663, allocations: 15.94 kB / 0.6019 GB, free: 2.48 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004839/0.6635, allocations: 283.3 kB / 0.6022 GB, free: 2.207 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002967/0.6664, allocations: 1.926 MB / 0.6041 GB, free: 204 kB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005888/0.667, allocations: 454.3 kB / 0.6045 GB, free: 15.69 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002735/0.6673, allocations: 214 kB / 0.6047 GB, free: 15.46 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.962e-05/0.6674, allocations: 20.91 kB / 0.6047 GB, free: 15.44 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.719e-05/0.6674, allocations: 38.56 kB / 0.6048 GB, free: 15.39 MB / 426.7 MB Notification: Performance of pre-optimization done (n=43): time 2.605e-06/0.6674, allocations: 0 / 0.6048 GB, free: 15.39 MB / 426.7 MB Notification: Performance of matching and sorting (n=43): time 0.000721/0.6682, allocations: 360.9 kB / 0.6051 GB, free: 15.04 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001269/0.6683, allocations: 298.8 kB / 0.6054 GB, free: 14.68 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002634/0.6686, allocations: 290.8 kB / 0.6057 GB, free: 14.39 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.574e-05/0.6686, allocations: 37.7 kB / 0.6057 GB, free: 14.34 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001518/0.6688, allocations: 260.1 kB / 0.606 GB, free: 14.09 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001118/0.6689, allocations: 161.7 kB / 0.6061 GB, free: 13.93 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.607e-05/0.6689, allocations: 8 kB / 0.6061 GB, free: 13.92 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001322/0.6691, allocations: 358.8 kB / 0.6065 GB, free: 13.56 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002167/0.6693, allocations: 125 kB / 0.6066 GB, free: 13.43 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003096/0.6696, allocations: 257 kB / 0.6068 GB, free: 13.13 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002321/0.6698, allocations: 147.8 kB / 0.607 GB, free: 12.98 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.6699, allocations: 4 kB / 0.607 GB, free: 12.98 MB / 426.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.002134/0.672, allocations: 0.8644 MB / 0.6078 GB, free: 12.09 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004061/0.6724, allocations: 1.314 MB / 0.6091 GB, free: 10.68 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.788e-06/0.6724, allocations: 7.938 kB / 0.6091 GB, free: 10.67 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001377/0.6738, allocations: 392.8 kB / 0.6095 GB, free: 10.27 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004649/0.6743, allocations: 107.8 kB / 0.6096 GB, free: 10.16 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005919/0.6802, allocations: 6.422 MB / 0.6159 GB, free: 3.344 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006462/0.6809, allocations: 115.6 kB / 0.616 GB, free: 3.23 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.618e-05/0.6809, allocations: 20 kB / 0.616 GB, free: 3.211 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.681, allocations: 4.938 kB / 0.616 GB, free: 3.207 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001111/0.6821, allocations: 0.5132 MB / 0.6165 GB, free: 2.688 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.6821, allocations: 4 kB / 0.6165 GB, free: 2.684 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000464/0.6826, allocations: 134 kB / 0.6166 GB, free: 2.547 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007086/0.6833, allocations: 187.8 kB / 0.6168 GB, free: 2.363 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00333/0.6866, allocations: 3.368 MB / 0.6201 GB, free: 14.72 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005299/0.6872, allocations: 103.5 kB / 0.6202 GB, free: 14.62 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.335e-05/0.6872, allocations: 20 kB / 0.6202 GB, free: 14.6 MB / 442.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.0001913/0.6874, allocations: 136.9 kB / 0.6203 GB, free: 14.46 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001807/0.6876, allocations: 51.44 kB / 0.6204 GB, free: 14.41 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007675/0.6884, allocations: 437.7 kB / 0.6208 GB, free: 13.97 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.614e-06/0.6884, allocations: 7.984 kB / 0.6208 GB, free: 13.96 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.6884, allocations: 4 kB / 0.6208 GB, free: 13.96 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.6884, allocations: 0 / 0.6208 GB, free: 13.96 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007844/0.6892, allocations: 497.5 kB / 0.6213 GB, free: 13.43 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.6892, allocations: 0 / 0.6213 GB, free: 13.43 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006925/0.6899, allocations: 147.9 kB / 0.6214 GB, free: 13.28 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.967e-05/0.69, allocations: 28.77 kB / 0.6215 GB, free: 13.25 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.706e-05/0.6901, allocations: 16 kB / 0.6215 GB, free: 13.23 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008046/0.6909, allocations: 1.297 MB / 0.6227 GB, free: 11.8 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.6909, allocations: 3.938 kB / 0.6227 GB, free: 11.8 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001035/0.6919, allocations: 1.144 MB / 0.6239 GB, free: 10.59 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.324e-05/0.692, allocations: 120.4 kB / 0.624 GB, free: 10.46 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.599e-05/0.6921, allocations: 15.98 kB / 0.624 GB, free: 10.44 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00067/0.6928, allocations: 96.03 kB / 0.6241 GB, free: 10.35 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001047/0.6929, allocations: 47.77 kB / 0.6241 GB, free: 10.3 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.771e-05/0.6929, allocations: 12 kB / 0.6241 GB, free: 10.29 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0002345/0.6932, allocations: 233.2 kB / 0.6244 GB, free: 10.06 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6932, allocations: 0 / 0.6244 GB, free: 10.06 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001052/0.6942, allocations: 219.4 kB / 0.6246 GB, free: 9.848 MB / 442.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.0001495/0.6944, allocations: 123.1 kB / 0.6247 GB, free: 9.719 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00373/0.6981, allocations: 1.6 MB / 0.6263 GB, free: 8.066 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.7e-06/0.6981, allocations: 0 / 0.6263 GB, free: 8.066 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003543/0.6985, allocations: 299.7 kB / 0.6265 GB, free: 7.762 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007659/0.6993, allocations: 128.9 kB / 0.6267 GB, free: 7.637 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00164/0.7009, allocations: 0.9046 MB / 0.6275 GB, free: 6.684 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000419/0.7014, allocations: 0.8752 MB / 0.6284 GB, free: 5.781 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0003459/0.7017, allocations: 85.38 kB / 0.6285 GB, free: 5.695 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000105/0.7018, allocations: 35.81 kB / 0.6285 GB, free: 5.66 MB / 442.7 MB Notification: Performance of SimCode: time 2.4e-07/0.7018, allocations: 0 / 0.6285 GB, free: 5.66 MB / 442.7 MB Notification: Performance of Templates: time 0.01409/0.7159, allocations: 9.307 MB / 0.6376 GB, free: 12.41 MB / 458.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)