Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Blocks.Limiters.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.Limiters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Blocks.Limiters") translateModel(ModelicaTest.Blocks.Limiters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Blocks.Limiters") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007059/0.0007059, allocations: 98.11 kB / 15.36 MB, free: 0.7344 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.004262/0.004262, allocations: 172.9 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.529/1.529, allocations: 205.4 MB / 222.4 MB, free: 5.801 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.321/0.321, allocations: 38.04 MB / 308.8 MB, free: 10.2 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.0005977/0.0005977, allocations: 20 kB / 377 MB, free: 14.82 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1254/0.126, allocations: 57.52 MB / 434.6 MB, free: 5.211 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Limiters): time 0.001891/0.1279, allocations: 1.383 MB / 435.9 MB, free: 3.816 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001071/0.129, allocations: 0.5933 MB / 436.5 MB, free: 3.215 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001243/0.1292, allocations: 7.938 kB / 436.5 MB, free: 3.207 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 2.894e-05/0.1292, allocations: 7.922 kB / 436.5 MB, free: 3.199 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001366/0.1294, allocations: 19.86 kB / 436.6 MB, free: 3.18 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004884/0.1299, allocations: 111.8 kB / 436.7 MB, free: 3.07 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002273/0.1301, allocations: 135.7 kB / 436.8 MB, free: 2.938 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001493/0.1302, allocations: 45.22 kB / 436.9 MB, free: 2.891 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001374/0.1304, allocations: 55.78 kB / 436.9 MB, free: 2.836 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001182/0.1305, allocations: 59.69 kB / 437 MB, free: 2.777 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.701e-05/0.1306, allocations: 8 kB / 437 MB, free: 2.77 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.925e-05/0.1306, allocations: 4 kB / 437 MB, free: 2.766 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.578e-05/0.1306, allocations: 23.91 kB / 437 MB, free: 2.742 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.822e-05/0.1307, allocations: 73.38 kB / 437.1 MB, free: 2.664 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001619/0.1309, allocations: 119.6 kB / 437.2 MB, free: 2.547 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.1309, allocations: 0 / 437.2 MB, free: 2.547 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.666e-06/0.1309, allocations: 0 / 437.2 MB, free: 2.547 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.1309, allocations: 3.938 kB / 437.2 MB, free: 2.543 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0006756/0.1316, allocations: 443 kB / 437.6 MB, free: 2.062 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/0.1316, allocations: 15.95 kB / 437.6 MB, free: 2.047 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.264e-05/0.1317, allocations: 24.84 kB / 437.7 MB, free: 2.023 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002605/0.132, allocations: 223.9 kB / 437.9 MB, free: 1.766 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.848e-05/0.132, allocations: 8.312 kB / 437.9 MB, free: 1.758 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.774e-05/0.132, allocations: 8.375 kB / 437.9 MB, free: 1.75 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004458/0.1325, allocations: 188.5 kB / 438.1 MB, free: 1.551 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.295e-05/0.1325, allocations: 0 / 438.1 MB, free: 1.551 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.739e-05/0.1325, allocations: 8 kB / 438.1 MB, free: 1.543 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.1326, allocations: 0 / 438.1 MB, free: 1.543 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004287/0.133, allocations: 163.9 kB / 438.3 MB, free: 1.383 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008553/0.1339, allocations: 464.2 kB / 438.7 MB, free: 0.8789 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006352/0.1345, allocations: 250.4 kB / 439 MB, free: 0.625 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002374/0.1348, allocations: 92.8 kB / 439 MB, free: 0.5312 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.514e-05/0.1348, allocations: 3.984 kB / 439 MB, free: 0.5273 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.801e-05/0.1348, allocations: 38.56 kB / 439.1 MB, free: 492 kB / 366.1 MB Notification: Performance of pre-optimization done (n=8): time 1.273e-06/0.1348, allocations: 3.938 kB / 439.1 MB, free: 488 kB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.001541/0.1364, allocations: 0.6583 MB / 439.7 MB, free: 15.77 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.151e-05/0.1364, allocations: 114.8 kB / 439.9 MB, free: 15.63 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001333/0.1366, allocations: 159.1 kB / 440 MB, free: 15.46 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.365e-05/0.1366, allocations: 29.7 kB / 440 MB, free: 15.43 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.23e-05/0.1367, allocations: 108.1 kB / 440.1 MB, free: 15.32 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.788e-05/0.1367, allocations: 35.69 kB / 440.2 MB, free: 15.29 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.074e-05/0.1368, allocations: 13.72 kB / 440.2 MB, free: 15.27 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001034/0.1369, allocations: 326.8 kB / 440.5 MB, free: 14.94 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002347/0.1371, allocations: 91.92 kB / 440.6 MB, free: 14.85 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002481/0.1374, allocations: 106.5 kB / 440.7 MB, free: 14.73 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004641/0.1379, allocations: 180.7 kB / 440.9 MB, free: 14.55 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.1379, allocations: 4 kB / 440.9 MB, free: 14.55 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000529/0.1384, allocations: 225.6 kB / 441.1 MB, free: 14.32 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.83e-05/0.1385, allocations: 108.9 kB / 441.2 MB, free: 14.21 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.1385, allocations: 0 / 441.2 MB, free: 14.21 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.1385, allocations: 0 / 441.2 MB, free: 14.21 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001982/0.1387, allocations: 43.95 kB / 441.3 MB, free: 14.17 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.737e-06/0.1387, allocations: 4.062 kB / 441.3 MB, free: 14.16 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001494/0.1389, allocations: 39.97 kB / 441.3 MB, free: 14.12 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.396e-05/0.1389, allocations: 7.984 kB / 441.3 MB, free: 14.12 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.166e-05/0.1389, allocations: 4 kB / 441.3 MB, free: 14.11 MB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002392/0.1392, allocations: 95.89 kB / 441.4 MB, free: 14.02 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.154e-06/0.1392, allocations: 0 / 441.4 MB, free: 14.02 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.324e-06/0.1392, allocations: 0 / 441.4 MB, free: 14.02 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.211e-05/0.1393, allocations: 23.98 kB / 441.4 MB, free: 14 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.108e-06/0.1393, allocations: 4 kB / 441.4 MB, free: 13.99 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.278e-05/0.1394, allocations: 15.98 kB / 441.5 MB, free: 13.98 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.975e-06/0.1394, allocations: 7.938 kB / 441.5 MB, free: 13.97 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001416/0.1396, allocations: 197.1 kB / 441.7 MB, free: 13.77 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.153e-05/0.1396, allocations: 11.91 kB / 441.7 MB, free: 13.75 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.999e-05/0.1397, allocations: 21.39 kB / 441.7 MB, free: 13.73 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.1397, allocations: 0 / 441.7 MB, free: 13.73 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.187e-06/0.1397, allocations: 0 / 441.7 MB, free: 13.73 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.1397, allocations: 7.938 kB / 441.7 MB, free: 13.73 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009197/0.1406, allocations: 0.546 MB / 442.2 MB, free: 13.12 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.1406, allocations: 4 kB / 442.2 MB, free: 13.12 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001932/0.1408, allocations: 43.95 kB / 442.3 MB, free: 13.07 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.086e-06/0.1408, allocations: 7.938 kB / 442.3 MB, free: 13.07 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.606e-05/0.1409, allocations: 8.031 kB / 442.3 MB, free: 13.06 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.1409, allocations: 0 / 442.3 MB, free: 13.06 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.1409, allocations: 0 / 442.3 MB, free: 13.06 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009209/0.1418, allocations: 416.3 kB / 442.7 MB, free: 12.63 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.043e-05/0.1419, allocations: 92.92 kB / 442.8 MB, free: 12.52 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.943e-05/0.1419, allocations: 7.875 kB / 442.8 MB, free: 12.52 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002108/0.1421, allocations: 51.95 kB / 442.9 MB, free: 12.46 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.67e-05/0.1422, allocations: 8 kB / 442.9 MB, free: 12.46 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.975e-05/0.1422, allocations: 7.984 kB / 442.9 MB, free: 12.45 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001138/0.1424, allocations: 123.2 kB / 443 MB, free: 12.33 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.1424, allocations: 3.938 kB / 443 MB, free: 12.32 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003211/0.1427, allocations: 32 kB / 443 MB, free: 12.29 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (idealDerivative.u) * 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 (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001301/0.1428, allocations: 99.19 kB / 443.1 MB, free: 12.19 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006581/0.1435, allocations: 239.8 kB / 443.4 MB, free: 11.95 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.1435, allocations: 0 / 443.4 MB, free: 11.95 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002565/0.1438, allocations: 99.94 kB / 443.5 MB, free: 11.86 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004278/0.1442, allocations: 31.97 kB / 443.5 MB, free: 11.82 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006879/0.1449, allocations: 352.6 kB / 443.8 MB, free: 11.45 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003181/0.1452, allocations: 0.7049 MB / 444.5 MB, free: 10.72 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.6e-05/0.1453, allocations: 20.86 kB / 444.6 MB, free: 10.7 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.423e-05/0.1454, allocations: 23.36 kB / 444.6 MB, free: 10.67 MB / 382.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1454, allocations: 0 / 444.6 MB, free: 10.67 MB / 382.1 MB Notification: Performance of Templates: time 0.004887/0.1503, allocations: 1.988 MB / 446.6 MB, free: 8.695 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Blocks.Limiters.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.Blocks.Limiters.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Blocks.Limiters.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Blocks.Limiters.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Blocks.Limiters.sim & ./ModelicaTest_3.2.1_ModelicaTest.Blocks.Limiters -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Blocks.Limiters.pipe 2>&1) Environment - environmentSimulation: