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.0007755/0.0007756, allocations: 91.53 kB / 15.06 MB, free: 1.098 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.0008576/0.0008577, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.2/1.2, allocations: 205.4 MB / 222.1 MB, free: 5.625 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.2528/0.2528, allocations: 38.03 MB / 308.4 MB, free: 10.4 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.0004895/0.0004895, allocations: 16 kB / 376.4 MB, free: 15.17 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08279/0.08329, allocations: 57.52 MB / 433.9 MB, free: 5.559 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.StrictLimiters): time 0.002846/0.08617, allocations: 2.972 MB / 436.9 MB, free: 2.566 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001857/0.08804, allocations: 1.38 MB / 438.3 MB, free: 1.176 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002358/0.08829, allocations: 27.81 kB / 438.3 MB, free: 1.148 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001847/0.08849, allocations: 79.23 kB / 438.4 MB, free: 1.07 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003546/0.08885, allocations: 123 kB / 438.5 MB, free: 0.9492 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008273/0.08968, allocations: 467.3 kB / 439 MB, free: 0.4922 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007084/0.0904, allocations: 0.8156 MB / 439.8 MB, free: 15.68 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003201/0.09073, allocations: 224.5 kB / 440 MB, free: 15.45 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003012/0.09104, allocations: 282.5 kB / 440.3 MB, free: 15.17 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002554/0.0913, allocations: 282.3 kB / 440.6 MB, free: 14.89 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.494e-05/0.09137, allocations: 20 kB / 440.6 MB, free: 14.87 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.665e-05/0.09143, allocations: 24 kB / 440.6 MB, free: 14.85 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.508e-05/0.09152, allocations: 111.4 kB / 440.7 MB, free: 14.74 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.014e-05/0.09162, allocations: 137.3 kB / 440.9 MB, free: 14.6 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004127/0.09204, allocations: 0.5767 MB / 441.4 MB, free: 14.02 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.09205, allocations: 0 / 441.4 MB, free: 14.02 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.09206, allocations: 3.938 kB / 441.4 MB, free: 14.02 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.403e-05/0.09208, allocations: 0 / 441.4 MB, free: 14.02 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.001654/0.09374, allocations: 1.125 MB / 442.6 MB, free: 12.84 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.907e-05/0.09377, allocations: 12.03 kB / 442.6 MB, free: 12.82 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001177/0.0939, allocations: 102.8 kB / 442.7 MB, free: 12.72 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000631/0.09453, allocations: 0.5381 MB / 443.2 MB, free: 12.14 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.638e-05/0.09458, allocations: 41 kB / 443.2 MB, free: 12.11 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.757e-05/0.09466, allocations: 52 kB / 443.3 MB, free: 12.05 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001258/0.09593, allocations: 0.7579 MB / 444.1 MB, free: 11.25 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.448e-05/0.09595, allocations: 0 / 444.1 MB, free: 11.25 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.732e-05/0.09601, allocations: 16 kB / 444.1 MB, free: 11.23 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.147e-05/0.09602, allocations: 12 kB / 444.1 MB, free: 11.22 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001324/0.09735, allocations: 0.644 MB / 444.7 MB, free: 10.57 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002729/0.1001, allocations: 2.356 MB / 447.1 MB, free: 8.129 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001535/0.1016, allocations: 0.8151 MB / 447.9 MB, free: 7.277 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007538/0.1024, allocations: 382.2 kB / 448.3 MB, free: 6.898 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.541e-05/0.1025, allocations: 20.38 kB / 448.3 MB, free: 6.879 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.704e-05/0.1025, allocations: 42.92 kB / 448.3 MB, free: 6.828 MB / 382.1 MB Notification: Performance of pre-optimization done (n=48): time 1.483e-06/0.1025, allocations: 0 / 448.3 MB, free: 6.828 MB / 382.1 MB Notification: Performance of matching and sorting (n=50): time 0.004041/0.1066, allocations: 2.163 MB / 450.5 MB, free: 4.605 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.876e-05/0.1066, allocations: 192.4 kB / 450.7 MB, free: 4.375 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005422/0.1072, allocations: 0.5709 MB / 451.3 MB, free: 3.797 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.791e-05/0.1072, allocations: 33.7 kB / 451.3 MB, free: 3.758 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002197/0.1075, allocations: 364.8 kB / 451.6 MB, free: 3.395 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001194/0.1076, allocations: 177.4 kB / 451.8 MB, free: 3.219 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.8e-05/0.1076, allocations: 8 kB / 451.8 MB, free: 3.211 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.151e-05/0.1077, allocations: 326 kB / 452.1 MB, free: 2.887 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007423/0.1085, allocations: 344.9 kB / 452.5 MB, free: 2.551 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008043/0.1093, allocations: 473.9 kB / 452.9 MB, free: 2.043 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007314/0.11, allocations: 350 kB / 453.3 MB, free: 1.707 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.11, allocations: 0 / 453.3 MB, free: 1.707 MB / 382.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001687/0.1117, allocations: 0.8998 MB / 454.2 MB, free: 0.7969 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.365e-05/0.1118, allocations: 155.2 kB / 454.3 MB, free: 0.6133 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.1118, allocations: 4 kB / 454.3 MB, free: 0.6094 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.1118, allocations: 4 kB / 454.3 MB, free: 0.6055 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007731/0.1126, allocations: 223.7 kB / 454.6 MB, free: 396 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.047e-05/0.1126, allocations: 8 kB / 454.6 MB, free: 388 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004509/0.1131, allocations: 99.92 kB / 454.7 MB, free: 288 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.843e-05/0.1132, allocations: 23.98 kB / 454.7 MB, free: 264 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.322e-06/0.1132, allocations: 4 kB / 454.7 MB, free: 260 kB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.1558/0.269, allocations: 0.6123 MB / 455.3 MB, free: 50.12 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.144e-06/0.269, allocations: 2.969 kB / 455.3 MB, free: 50.12 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.739e-06/0.269, allocations: 6.031 kB / 455.3 MB, free: 50.12 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006026/0.2697, allocations: 178.9 kB / 455.5 MB, free: 50.12 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.018e-05/0.2697, allocations: 6.125 kB / 455.5 MB, free: 50.12 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004565/0.2701, allocations: 69.48 kB / 455.6 MB, free: 50.12 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.008e-05/0.2702, allocations: 20.09 kB / 455.6 MB, free: 50.12 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.0002878/0.2705, allocations: 269.7 kB / 455.8 MB, free: 49.93 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001044/0.2706, allocations: 75.72 kB / 455.9 MB, free: 49.93 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001512/0.2707, allocations: 86.47 kB / 456 MB, free: 49.92 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.99e-06/0.2708, allocations: 7.938 kB / 456 MB, free: 49.92 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-06/0.2708, allocations: 0 / 456 MB, free: 49.92 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-06/0.2708, allocations: 7.438 kB / 456 MB, free: 49.92 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002197/0.273, allocations: 1.552 MB / 457.6 MB, free: 49.6 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.696e-06/0.273, allocations: 0 / 457.6 MB, free: 49.6 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006146/0.2736, allocations: 177.3 kB / 457.7 MB, free: 49.6 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.35e-06/0.2736, allocations: 6.375 kB / 457.8 MB, free: 49.6 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.389e-05/0.2737, allocations: 13.28 kB / 457.8 MB, free: 49.6 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.2737, allocations: 3.094 kB / 457.8 MB, free: 49.6 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.2737, allocations: 8.562 kB / 457.8 MB, free: 49.6 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002162/0.2758, allocations: 1.4 MB / 459.2 MB, free: 49.35 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001578/0.276, allocations: 187.6 kB / 459.4 MB, free: 49.25 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.271e-05/0.2761, allocations: 17.12 kB / 459.4 MB, free: 49.25 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004786/0.2766, allocations: 107.7 kB / 459.5 MB, free: 49.25 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.114e-05/0.2767, allocations: 43.92 kB / 459.5 MB, free: 49.25 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.136e-05/0.2767, allocations: 16.83 kB / 459.5 MB, free: 49.25 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003281/0.2771, allocations: 404.3 kB / 459.9 MB, free: 49.15 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2771, allocations: 4 kB / 459.9 MB, free: 49.14 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00059/0.2777, allocations: 182.9 kB / 460.1 MB, free: 49.14 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 9.106e-05/0.2778, allocations: 106.9 kB / 460.2 MB, free: 49.05 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002059/0.2798, allocations: 1.097 MB / 461.3 MB, free: 49 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.2798, allocations: 3.344 kB / 461.3 MB, free: 49 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007224/0.2806, allocations: 409 kB / 461.7 MB, free: 48.97 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009026/0.2815, allocations: 194.6 kB / 461.9 MB, free: 48.96 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002581/0.2841, allocations: 1.809 MB / 463.7 MB, free: 48.15 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002413/0.2843, allocations: 0.921 MB / 464.6 MB, free: 47.44 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003702/0.2847, allocations: 101 kB / 464.7 MB, free: 47.43 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001631/0.2849, allocations: 55.53 kB / 464.8 MB, free: 47.42 MB / 382.1 MB Notification: Performance of SimCode: time 7.41e-07/0.2849, allocations: 0 / 464.8 MB, free: 47.42 MB / 382.1 MB Notification: Performance of Templates: time 0.01004/0.2949, allocations: 7.7 MB / 472.5 MB, free: 46.88 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: