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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001249/0.001249, allocations: 112.9 kB / 18.46 MB, free: 4.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00125/0.00125, allocations: 175 kB / 19.38 MB, free: 3.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.264/1.264, allocations: 222.9 MB / 243.1 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1939/0.1939, allocations: 44.2 MB / 337.4 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001283/0.001283, allocations: 67.89 kB / 471.2 MB, free: 13.15 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2724/0.2737, allocations: 60.82 MB / 0.5196 GB, free: 3.621 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.LimitersHomotopy): time 0.003203/0.2769, allocations: 3.019 MB / 0.5225 GB, free: 1.461 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001392/0.2783, allocations: 0.9952 MB / 0.5235 GB, free: 0.7539 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001748/0.2785, allocations: 19.06 kB / 0.5235 GB, free: 0.7461 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000103/0.2786, allocations: 54.84 kB / 0.5236 GB, free: 0.7031 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002061/0.2788, allocations: 96.38 kB / 0.5237 GB, free: 0.625 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006244/0.2795, allocations: 372 kB / 0.524 GB, free: 444 kB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005289/0.28, allocations: 0.5854 MB / 0.5246 GB, free: 164 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002739/0.2803, allocations: 221.8 kB / 0.5248 GB, free: 48 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002531/0.2805, allocations: 232.2 kB / 0.525 GB, free: 15.94 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002541/0.2808, allocations: 273.6 kB / 0.5253 GB, free: 15.79 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.728e-05/0.2809, allocations: 47.31 kB / 0.5253 GB, free: 15.79 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.613e-05/0.281, allocations: 49.75 kB / 0.5254 GB, free: 15.79 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000118/0.2811, allocations: 128.8 kB / 0.5255 GB, free: 15.7 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002061/0.2813, allocations: 252.4 kB / 0.5257 GB, free: 15.53 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005472/0.2819, allocations: 0.5318 MB / 0.5263 GB, free: 15.27 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.2819, allocations: 2 kB / 0.5263 GB, free: 15.27 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.2819, allocations: 0 / 0.5263 GB, free: 15.27 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.456e-06/0.2819, allocations: 0 / 0.5263 GB, free: 15.27 MB / 398.1 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.001636/0.2835, allocations: 0.9675 MB / 0.5272 GB, free: 14.55 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/0.2836, allocations: 8.25 kB / 0.5272 GB, free: 14.55 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001095/0.2837, allocations: 70.89 kB / 0.5273 GB, free: 14.52 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005042/0.2842, allocations: 407 kB / 0.5277 GB, free: 14.15 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.644e-05/0.2843, allocations: 36.62 kB / 0.5277 GB, free: 14.13 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.669e-05/0.2843, allocations: 48 kB / 0.5278 GB, free: 14.12 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001176/0.2855, allocations: 0.6058 MB / 0.5283 GB, free: 13.71 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.525e-05/0.2855, allocations: 3.938 kB / 0.5284 GB, free: 13.71 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.461e-05/0.2856, allocations: 21.69 kB / 0.5284 GB, free: 13.7 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.202e-05/0.2856, allocations: 12.06 kB / 0.5284 GB, free: 13.7 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001423/0.287, allocations: 0.5131 MB / 0.5289 GB, free: 13.46 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002512/0.2896, allocations: 1.794 MB / 0.5306 GB, free: 11.93 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001486/0.2911, allocations: 0.6249 MB / 0.5312 GB, free: 11.52 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007827/0.2919, allocations: 327.2 kB / 0.5316 GB, free: 11.34 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.032e-05/0.2919, allocations: 17.53 kB / 0.5316 GB, free: 11.32 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.463e-05/0.292, allocations: 38.84 kB / 0.5316 GB, free: 11.28 MB / 398.1 MB Notification: Performance of pre-optimization done (n=43): time 3.326e-06/0.292, allocations: 7.922 kB / 0.5316 GB, free: 11.27 MB / 398.1 MB Notification: Performance of matching and sorting (n=43): time 0.002354/0.2943, allocations: 0.7787 MB / 0.5324 GB, free: 10.9 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001155/0.2944, allocations: 287.8 kB / 0.5327 GB, free: 10.55 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003055/0.2948, allocations: 346.9 kB / 0.533 GB, free: 10.33 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.023e-05/0.2948, allocations: 40.73 kB / 0.533 GB, free: 10.29 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001546/0.295, allocations: 267.9 kB / 0.5333 GB, free: 10.05 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001186/0.2951, allocations: 164.6 kB / 0.5334 GB, free: 9.906 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001405/0.2952, allocations: 101.8 kB / 0.5335 GB, free: 9.84 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001305/0.2954, allocations: 360.7 kB / 0.5339 GB, free: 9.488 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007161/0.2961, allocations: 242 kB / 0.5341 GB, free: 9.375 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007742/0.2969, allocations: 379.8 kB / 0.5345 GB, free: 9.094 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001483/0.2984, allocations: 0.5674 MB / 0.535 GB, free: 8.742 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.2984, allocations: 1.312 kB / 0.535 GB, free: 8.742 MB / 398.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.003426/0.3018, allocations: 1.122 MB / 0.5361 GB, free: 8.145 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/0.3019, allocations: 6.719 kB / 0.5361 GB, free: 8.145 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.3019, allocations: 3.438 kB / 0.5361 GB, free: 8.145 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0018/0.3037, allocations: 471.6 kB / 0.5366 GB, free: 7.902 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004523/0.3041, allocations: 101.4 kB / 0.5367 GB, free: 7.867 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01342/0.3176, allocations: 12.93 MB / 0.5493 GB, free: 11.62 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000565/0.3182, allocations: 92.86 kB / 0.5494 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.144e-05/0.3182, allocations: 19.41 kB / 0.5494 GB, free: 11.56 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007293/0.319, allocations: 320.2 kB / 0.5497 GB, free: 11.37 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006642/0.3196, allocations: 337.9 kB / 0.55 GB, free: 11.11 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001167/0.3208, allocations: 0.5201 MB / 0.5505 GB, free: 10.69 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.905e-06/0.3208, allocations: 0 / 0.5505 GB, free: 10.69 MB / 414.1 MB Notification: Performance of matching and sorting (n=63) (initialization_lambda0): time 0.001958/0.3228, allocations: 0.748 MB / 0.5513 GB, free: 9.93 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.618e-06/0.3228, allocations: 4 kB / 0.5513 GB, free: 9.926 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.902e-06/0.3228, allocations: 4 kB / 0.5513 GB, free: 9.922 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005978/0.3234, allocations: 161.8 kB / 0.5514 GB, free: 9.758 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000696/0.3241, allocations: 171.8 kB / 0.5516 GB, free: 9.59 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004076/0.3282, allocations: 3.832 MB / 0.5553 GB, free: 5.484 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004573/0.3287, allocations: 84.17 kB / 0.5554 GB, free: 5.402 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.404e-05/0.3287, allocations: 28.05 kB / 0.5555 GB, free: 5.375 MB / 414.1 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 (not torn): 1 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 6 systems {(2,4), (2,4), (2,4), (2,4), (2,4), (2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.000185/0.3289, allocations: 208.1 kB / 0.5557 GB, free: 5.164 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001897/0.3291, allocations: 47.72 kB / 0.5557 GB, free: 5.117 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001683/0.3308, allocations: 0.6337 MB / 0.5563 GB, free: 4.473 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.977e-06/0.3308, allocations: 4 kB / 0.5563 GB, free: 4.469 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.3308, allocations: 7.969 kB / 0.5563 GB, free: 4.461 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001068/0.331, allocations: 128.7 kB / 0.5565 GB, free: 4.316 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.315e-05/0.331, allocations: 15.94 kB / 0.5565 GB, free: 4.301 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006553/0.3317, allocations: 59.92 kB / 0.5565 GB, free: 4.242 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001095/0.3318, allocations: 43.92 kB / 0.5566 GB, free: 4.199 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002538/0.3343, allocations: 1.243 MB / 0.5578 GB, free: 2.941 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002435/0.3368, allocations: 1.484 MB / 0.5592 GB, free: 1.438 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007653/0.3376, allocations: 288 kB / 0.5595 GB, free: 1.156 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002217/0.3378, allocations: 239.2 kB / 0.5597 GB, free: 0.9258 MB / 414.1 MB Notification: Performance of Backend: time 4.31e-07/0.3378, allocations: 0 / 0.5597 GB, free: 0.9258 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.005545/0.3434, allocations: 2.196 MB / 0.5619 GB, free: 14.62 MB / 430.1 MB Notification: Performance of SimCode: time 0.001822/0.3452, allocations: 1.567 MB / 0.5634 GB, free: 13.01 MB / 430.1 MB Notification: Performance of Templates: time 0.02088/0.3661, allocations: 13.83 MB / 0.5769 GB, free: 15.27 MB / 446.1 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)