Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Blocks.StrictLimiters.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+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 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.StrictLimiters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Blocks.StrictLimiters") translateModel(ModelicaTest.Blocks.StrictLimiters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Blocks.StrictLimiters") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001736/0.001736, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.002369/0.00237, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.089/2.089, allocations: 205.4 MB / 222.1 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3796/0.3796, allocations: 38.02 MB / 308.4 MB, free: 10.42 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0008225/0.0008227, allocations: 12 kB / 376.4 MB, free: 15.22 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1689/0.1698, allocations: 57.52 MB / 433.9 MB, free: 5.594 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.StrictLimiters): time 0.005497/0.1753, allocations: 2.968 MB / 436.9 MB, free: 2.605 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003889/0.1792, allocations: 1.353 MB / 438.2 MB, free: 1.246 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008106/0.1801, allocations: 27.81 kB / 438.3 MB, free: 1.219 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002441/0.1804, allocations: 43.45 kB / 438.3 MB, free: 1.176 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001009/0.1814, allocations: 167.3 kB / 438.5 MB, free: 1.012 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001608/0.183, allocations: 483.1 kB / 438.9 MB, free: 0.5391 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001397/0.1844, allocations: 0.5747 MB / 439.5 MB, free: 15.96 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005471/0.185, allocations: 220.5 kB / 439.7 MB, free: 15.73 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006479/0.1856, allocations: 302.6 kB / 440 MB, free: 15.44 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005011/0.1861, allocations: 278.4 kB / 440.3 MB, free: 15.16 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001395/0.1863, allocations: 24 kB / 440.3 MB, free: 15.14 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.581e-05/0.1864, allocations: 20 kB / 440.3 MB, free: 15.12 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001443/0.1866, allocations: 115.4 kB / 440.5 MB, free: 15.01 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001538/0.1867, allocations: 133.3 kB / 440.6 MB, free: 14.87 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006757/0.1874, allocations: 0.569 MB / 441.2 MB, free: 14.3 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.1874, allocations: 0 / 441.2 MB, free: 14.3 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.1874, allocations: 0 / 441.2 MB, free: 14.3 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.3e-05/0.1875, allocations: 8 kB / 441.2 MB, free: 14.29 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.002934/0.1904, allocations: 1.121 MB / 442.3 MB, free: 13.12 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.064e-05/0.1905, allocations: 12.03 kB / 442.3 MB, free: 13.11 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002456/0.1907, allocations: 94.83 kB / 442.4 MB, free: 13.01 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001106/0.1918, allocations: 0.5419 MB / 442.9 MB, free: 12.43 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.465e-05/0.1919, allocations: 45 kB / 443 MB, free: 12.39 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001384/0.1921, allocations: 48 kB / 443 MB, free: 12.34 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002219/0.1943, allocations: 0.7501 MB / 443.8 MB, free: 11.54 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.232e-05/0.1943, allocations: 7.922 kB / 443.8 MB, free: 11.54 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.786e-05/0.1944, allocations: 23.94 kB / 443.8 MB, free: 11.51 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.023e-05/0.1945, allocations: 12 kB / 443.8 MB, free: 11.5 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002158/0.1966, allocations: 0.644 MB / 444.5 MB, free: 10.85 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004781/0.2014, allocations: 2.352 MB / 446.8 MB, free: 8.41 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002595/0.2041, allocations: 0.8152 MB / 447.6 MB, free: 7.559 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.233e-05/0.2041, allocations: 8.453 kB / 447.6 MB, free: 7.551 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.969e-05/0.2042, allocations: 42.89 kB / 447.7 MB, free: 7.5 MB / 382.1 MB Notification: Performance of pre-optimization done (n=48): time 2.685e-06/0.2042, allocations: 3.938 kB / 447.7 MB, free: 7.496 MB / 382.1 MB Notification: Performance of matching and sorting (n=50): time 0.005402/0.2096, allocations: 2.179 MB / 449.9 MB, free: 5.262 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.734e-05/0.2097, allocations: 188.4 kB / 450 MB, free: 5.035 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007181/0.2105, allocations: 0.5748 MB / 450.6 MB, free: 4.453 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.096e-05/0.2105, allocations: 33.7 kB / 450.7 MB, free: 4.414 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002842/0.2108, allocations: 360.8 kB / 451 MB, free: 4.055 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001628/0.211, allocations: 173.4 kB / 451.2 MB, free: 3.883 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.132e-05/0.211, allocations: 8 kB / 451.2 MB, free: 3.875 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001516/0.2112, allocations: 338 kB / 451.5 MB, free: 3.539 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008907/0.2121, allocations: 340.8 kB / 451.8 MB, free: 3.207 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009287/0.213, allocations: 465.9 kB / 452.3 MB, free: 2.707 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008529/0.2139, allocations: 354 kB / 452.6 MB, free: 2.367 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/0.2139, allocations: 0 / 452.6 MB, free: 2.367 MB / 382.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002043/0.216, allocations: 0.8999 MB / 453.5 MB, free: 1.457 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003389/0.2163, allocations: 0.8676 MB / 454.4 MB, free: 0.5234 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.093e-05/0.2163, allocations: 7.984 kB / 454.4 MB, free: 0.5156 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.215e-05/0.2164, allocations: 7.953 kB / 454.4 MB, free: 0.5078 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008931/0.2173, allocations: 219.7 kB / 454.6 MB, free: 300 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.499e-05/0.2173, allocations: 8 kB / 454.7 MB, free: 292 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006305/0.2179, allocations: 107.9 kB / 454.8 MB, free: 184 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.532e-05/0.218, allocations: 20 kB / 454.8 MB, free: 164 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.038e-05/0.218, allocations: 4 kB / 454.8 MB, free: 160 kB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.196/0.4141, allocations: 0.6163 MB / 455.4 MB, free: 50.02 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/0.4141, allocations: 2.875 kB / 455.4 MB, free: 50.02 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.4141, allocations: 3 kB / 455.4 MB, free: 50.02 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007119/0.4148, allocations: 176.7 kB / 455.6 MB, free: 50.02 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.436e-05/0.4149, allocations: 3.094 kB / 455.6 MB, free: 50.02 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005596/0.4154, allocations: 70.16 kB / 455.6 MB, free: 50.02 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.542e-05/0.4155, allocations: 25.12 kB / 455.7 MB, free: 50.02 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 4 (PID2.I.local_reset,PID1.I.local_reset,limIntegrator2.local_reset,limIntegrator1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (66): * Single equations (assignments): 66 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003668/0.4159, allocations: 271.3 kB / 455.9 MB, free: 49.84 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001543/0.416, allocations: 75.09 kB / 456 MB, free: 49.84 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001807/0.4162, allocations: 83.78 kB / 456.1 MB, free: 49.82 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.132e-06/0.4162, allocations: 8.219 kB / 456.1 MB, free: 49.82 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/0.4163, allocations: 0 / 456.1 MB, free: 49.82 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.056e-06/0.4163, allocations: 5.703 kB / 456.1 MB, free: 49.82 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00267/0.4189, allocations: 1.546 MB / 457.6 MB, free: 49.5 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.572e-06/0.419, allocations: 3.656 kB / 457.7 MB, free: 49.5 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000705/0.4197, allocations: 181.6 kB / 457.8 MB, free: 49.5 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.105e-05/0.4197, allocations: 3.156 kB / 457.8 MB, free: 49.5 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.71e-05/0.4198, allocations: 19 kB / 457.9 MB, free: 49.5 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.26e-06/0.4198, allocations: 3.156 kB / 457.9 MB, free: 49.5 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.4198, allocations: 0 / 457.9 MB, free: 49.5 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002578/0.4224, allocations: 1.445 MB / 459.3 MB, free: 49.22 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002042/0.4226, allocations: 191.4 kB / 459.5 MB, free: 49.13 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.105e-05/0.4227, allocations: 10.06 kB / 459.5 MB, free: 49.13 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005371/0.4232, allocations: 110.3 kB / 459.6 MB, free: 49.12 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.483e-05/0.4233, allocations: 44.81 kB / 459.6 MB, free: 49.12 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.23e-05/0.4234, allocations: 16.73 kB / 459.7 MB, free: 49.12 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003663/0.4237, allocations: 400.5 kB / 460.1 MB, free: 49.02 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4237, allocations: 4 kB / 460.1 MB, free: 49.02 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006468/0.4244, allocations: 182.2 kB / 460.2 MB, free: 49.02 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (der1.u,der2.u,limIntegrator1.y,limIntegrator2.y,PID1.I.y,PID1.D.x,PID2.I.y,PID2.D.x) * 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 (50): * Single equations (assignments): 50 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001188/0.4245, allocations: 108.8 kB / 460.3 MB, free: 48.93 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002278/0.4268, allocations: 1.096 MB / 461.4 MB, free: 48.89 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.908e-06/0.4268, allocations: 3.25 kB / 461.4 MB, free: 48.89 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007862/0.4276, allocations: 410.3 kB / 461.8 MB, free: 48.86 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008899/0.4285, allocations: 173.5 kB / 462 MB, free: 48.86 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003226/0.4317, allocations: 1.805 MB / 463.8 MB, free: 48.05 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003482/0.4321, allocations: 0.9442 MB / 464.8 MB, free: 47.34 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003837/0.4325, allocations: 96.69 kB / 464.9 MB, free: 47.32 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001713/0.4327, allocations: 57.16 kB / 464.9 MB, free: 47.32 MB / 382.1 MB Notification: Performance of SimCode: time 3.3e-07/0.4327, allocations: 0 / 464.9 MB, free: 47.32 MB / 382.1 MB Notification: Performance of Templates: time 0.01198/0.4447, allocations: 7.685 MB / 472.6 MB, free: 46.79 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Blocks.StrictLimiters.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.Blocks.StrictLimiters.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Blocks.StrictLimiters.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Blocks.StrictLimiters.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Blocks.StrictLimiters.sim & ./ModelicaTest_3.2.1_ModelicaTest.Blocks.StrictLimiters -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Blocks.StrictLimiters.pipe 2>&1) Environment - environmentSimulation: