Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Blocks.StrictLimiters.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.Blocks.StrictLimiters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Blocks.StrictLimiters") translateModel(ModelicaTest.Blocks.StrictLimiters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Blocks.StrictLimiters") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001896/0.001897, allocations: 177.7 kB / 7.657 MB, free: 1.391 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.514/1.514, allocations: 194.3 MB / 202.4 MB, free: 8.547 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001595/0.001595, allocations: 103.1 kB / 247.4 MB, free: 6.207 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1947/0.1947, allocations: 39.93 MB / 332.2 MB, free: 4.789 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.812e-05/1.807e-05, allocations: 4 kB / 393.3 MB, free: 75.57 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1041/0.1042, allocations: 54.87 MB / 448.2 MB, free: 20.68 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3725/0.4767, allocations: 83.66 MB / 0.5194 GB, free: 10.4 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002023/0.477, allocations: 62.89 kB / 0.5194 GB, free: 10.4 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03421/0.5112, allocations: 13.48 MB / 0.5326 GB, free: 3.832 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.5113, allocations: 0 / 0.5326 GB, free: 3.832 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.828e-05/0.5113, allocations: 16 kB / 0.5326 GB, free: 3.816 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.001626/0.513, allocations: 0.9512 MB / 0.5335 GB, free: 2.863 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.661e-05/0.513, allocations: 8.031 kB / 0.5336 GB, free: 2.855 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001822/0.5132, allocations: 83.05 kB / 0.5336 GB, free: 2.773 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008942/0.5141, allocations: 0.537 MB / 0.5342 GB, free: 2.273 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.169e-05/0.5141, allocations: 19.27 kB / 0.5342 GB, free: 2.258 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.698e-05/0.5142, allocations: 24 kB / 0.5342 GB, free: 2.234 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004909/0.5147, allocations: 301 kB / 0.5345 GB, free: 2.059 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005747/0.5153, allocations: 424 kB / 0.5349 GB, free: 1.727 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.729e-05/0.5153, allocations: 3.906 kB / 0.5349 GB, free: 1.723 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.426e-05/0.5154, allocations: 0 / 0.5349 GB, free: 1.723 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.556e-06/0.5154, allocations: 8 kB / 0.5349 GB, free: 1.715 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002086/0.5175, allocations: 1.377 MB / 0.5362 GB, free: 0.6133 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001302/0.5188, allocations: 0.6823 MB / 0.5369 GB, free: 44 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002712/0.5191, allocations: 175.9 kB / 0.5371 GB, free: 15.93 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.473e-05/0.5191, allocations: 8 kB / 0.5371 GB, free: 15.92 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.84e-05/0.5192, allocations: 41.69 kB / 0.5371 GB, free: 15.88 MB / 362.7 MB Notification: Performance of pre-optimization done (n=44): time 1.924e-06/0.5192, allocations: 0 / 0.5371 GB, free: 15.88 MB / 362.7 MB Notification: Performance of matching and sorting (n=44): time 0.0006921/0.5199, allocations: 388.4 kB / 0.5375 GB, free: 15.59 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.117e-05/0.52, allocations: 136.3 kB / 0.5376 GB, free: 15.43 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003919/0.5204, allocations: 382.2 kB / 0.538 GB, free: 15.13 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.305e-05/0.5204, allocations: 33.7 kB / 0.538 GB, free: 15.09 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001775/0.5206, allocations: 295.3 kB / 0.5383 GB, free: 14.91 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001181/0.5207, allocations: 148.5 kB / 0.5384 GB, free: 14.78 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.592e-05/0.5208, allocations: 0 / 0.5384 GB, free: 14.78 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001516/0.5209, allocations: 369.6 kB / 0.5388 GB, free: 14.43 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002157/0.5211, allocations: 140.5 kB / 0.5389 GB, free: 14.36 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002495/0.5214, allocations: 183.9 kB / 0.5391 GB, free: 14.23 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002209/0.5216, allocations: 142.6 kB / 0.5392 GB, free: 14.15 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.5216, allocations: 3.938 kB / 0.5392 GB, free: 14.15 MB / 362.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0006235/0.5223, allocations: 424.2 kB / 0.5397 GB, free: 13.84 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.165e-05/0.5224, allocations: 190.3 kB / 0.5398 GB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.5224, allocations: 0 / 0.5398 GB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.901e-05/0.5224, allocations: 4 kB / 0.5398 GB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009301/0.5233, allocations: 191.3 kB / 0.54 GB, free: 13.46 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/0.5234, allocations: 7.938 kB / 0.54 GB, free: 13.45 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005079/0.5239, allocations: 99.61 kB / 0.5401 GB, free: 13.35 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.023e-05/0.5239, allocations: 19.3 kB / 0.5401 GB, free: 13.34 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.077e-06/0.5239, allocations: 4 kB / 0.5401 GB, free: 13.33 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000466/0.5244, allocations: 301.1 kB / 0.5404 GB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.5244, allocations: 7.938 kB / 0.5404 GB, free: 13.13 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/0.5245, allocations: 3.984 kB / 0.5404 GB, free: 13.13 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007446/0.5252, allocations: 163.4 kB / 0.5406 GB, free: 12.97 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.5252, allocations: 0 / 0.5406 GB, free: 12.97 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003853/0.5256, allocations: 83.53 kB / 0.5407 GB, free: 12.89 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.158e-05/0.5257, allocations: 15.92 kB / 0.5407 GB, free: 12.88 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * 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.0001259/0.5258, allocations: 108.9 kB / 0.5408 GB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001095/0.5259, allocations: 59.25 kB / 0.5409 GB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001312/0.526, allocations: 62.66 kB / 0.5409 GB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-05/0.5261, allocations: 4 kB / 0.5409 GB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.81e-06/0.5261, allocations: 0 / 0.5409 GB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.5261, allocations: 4 kB / 0.5409 GB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001395/0.5275, allocations: 1.004 MB / 0.5419 GB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.5275, allocations: 4 kB / 0.5419 GB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007024/0.5282, allocations: 151.4 kB / 0.542 GB, free: 11.74 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.03e-06/0.5282, allocations: 4 kB / 0.5421 GB, free: 11.74 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.744e-05/0.5283, allocations: 7.984 kB / 0.5421 GB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.09e-06/0.5283, allocations: 3.953 kB / 0.5421 GB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.908e-06/0.5283, allocations: 8.141 kB / 0.5421 GB, free: 11.72 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009611/0.5293, allocations: 0.7841 MB / 0.5428 GB, free: 11.12 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000202/0.5295, allocations: 182.5 kB / 0.543 GB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.553e-05/0.5296, allocations: 7.953 kB / 0.543 GB, free: 10.94 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005485/0.5301, allocations: 87.92 kB / 0.5431 GB, free: 10.85 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.533e-05/0.5302, allocations: 38.38 kB / 0.5431 GB, free: 10.82 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.983e-05/0.5303, allocations: 15.3 kB / 0.5432 GB, free: 10.81 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002881/0.5306, allocations: 295.8 kB / 0.5434 GB, free: 10.59 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5306, allocations: 0 / 0.5434 GB, free: 10.59 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006019/0.5312, allocations: 175.3 kB / 0.5436 GB, free: 10.42 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 8 (slewRateLimiter1.y,slewRateLimiter2.y,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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 44 * 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.0001612/0.5313, allocations: 103.2 kB / 0.5437 GB, free: 10.31 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0008402/0.5322, allocations: 0.5552 MB / 0.5442 GB, free: 9.949 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.5322, allocations: 4 kB / 0.5442 GB, free: 9.945 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002856/0.5325, allocations: 191.2 kB / 0.5444 GB, free: 9.824 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006924/0.5332, allocations: 119.8 kB / 0.5445 GB, free: 9.727 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002482/0.5357, allocations: 1.011 MB / 0.5455 GB, free: 8.785 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000546/0.5363, allocations: 0.895 MB / 0.5464 GB, free: 7.863 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0005801/0.5368, allocations: 114.5 kB / 0.5465 GB, free: 7.75 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001654/0.537, allocations: 46.41 kB / 0.5466 GB, free: 7.707 MB / 362.7 MB Notification: Performance of SimCode: time 4.11e-07/0.537, allocations: 0 / 0.5466 GB, free: 7.707 MB / 362.7 MB Notification: Performance of Templates: time 0.01372/0.5508, allocations: 6.865 MB / 0.5533 GB, free: 0.9102 MB / 362.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Blocks.StrictLimiters.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Blocks.StrictLimiters.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Blocks.StrictLimiters.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Blocks.StrictLimiters.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Blocks.StrictLimiters.sim & ./ModelicaTest_3.2.2_ModelicaTest.Blocks.StrictLimiters -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Blocks.StrictLimiters.pipe 2>&1)