Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_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.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 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.2_ModelicaTest.Blocks.Limiters") translateModel(ModelicaTest.Blocks.Limiters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Blocks.Limiters") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001004/0.001004, allocations: 86.25 kB / 15.06 MB, free: 1.09 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.001484/0.001484, allocations: 168.7 kB / 15.95 MB, free: 204 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.791/1.791, allocations: 205.4 MB / 222.1 MB, free: 5.629 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.4228/0.4228, allocations: 39.99 MB / 310.4 MB, free: 9.965 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.2. 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.0005886/0.0005888, allocations: 15.94 kB / 378.8 MB, free: 12.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.139/0.1396, allocations: 57.95 MB / 436.8 MB, free: 2.59 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Limiters): time 0.002305/0.1419, allocations: 1.365 MB / 438.1 MB, free: 1.211 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001256/0.1432, allocations: 0.5975 MB / 438.7 MB, free: 0.6094 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001453/0.1434, allocations: 7.938 kB / 438.8 MB, free: 0.6016 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 3.249e-05/0.1434, allocations: 7.922 kB / 438.8 MB, free: 0.5938 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001259/0.1436, allocations: 15.86 kB / 438.8 MB, free: 0.5781 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004855/0.1441, allocations: 123.8 kB / 438.9 MB, free: 468 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002185/0.1443, allocations: 135.6 kB / 439 MB, free: 332 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001447/0.1444, allocations: 29.08 kB / 439.1 MB, free: 300 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001667/0.1446, allocations: 63.75 kB / 439.1 MB, free: 236 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001312/0.1448, allocations: 51.77 kB / 439.2 MB, free: 184 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.94e-05/0.1448, allocations: 4 kB / 439.2 MB, free: 180 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.184e-05/0.1448, allocations: 8 kB / 439.2 MB, free: 172 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.48e-05/0.1449, allocations: 35.83 kB / 439.2 MB, free: 136 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.609e-05/0.1449, allocations: 41.64 kB / 439.3 MB, free: 88 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001615/0.1451, allocations: 92.09 kB / 439.3 MB, free: 15.99 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.1451, allocations: 0 / 439.3 MB, free: 15.99 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.1451, allocations: 0 / 439.3 MB, free: 15.99 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.959e-06/0.1451, allocations: 0 / 439.3 MB, free: 15.99 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0007608/0.1459, allocations: 446.7 kB / 439.8 MB, free: 15.51 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/0.1459, allocations: 12.03 kB / 439.8 MB, free: 15.5 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.293e-05/0.146, allocations: 19.77 kB / 439.8 MB, free: 15.48 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000314/0.1463, allocations: 218.8 kB / 440 MB, free: 15.23 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.089e-05/0.1464, allocations: 4 kB / 440 MB, free: 15.22 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.137e-05/0.1464, allocations: 15.94 kB / 440 MB, free: 15.21 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004672/0.1469, allocations: 199.6 kB / 440.2 MB, free: 15 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.396e-05/0.1469, allocations: 0 / 440.2 MB, free: 15 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.484e-05/0.1469, allocations: 4 kB / 440.2 MB, free: 15 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/0.147, allocations: 4 kB / 440.3 MB, free: 14.99 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004023/0.1474, allocations: 159.8 kB / 440.4 MB, free: 14.84 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009193/0.1483, allocations: 476.3 kB / 440.9 MB, free: 14.32 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005888/0.1489, allocations: 250.4 kB / 441.1 MB, free: 14.07 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002086/0.1491, allocations: 92.8 kB / 441.2 MB, free: 13.97 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.751e-05/0.1491, allocations: 0 / 441.2 MB, free: 13.97 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.679e-05/0.1492, allocations: 30.56 kB / 441.2 MB, free: 13.93 MB / 382.1 MB Notification: Performance of pre-optimization done (n=8): time 9.22e-07/0.1492, allocations: 0 / 441.2 MB, free: 13.93 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.001468/0.1507, allocations: 0.6697 MB / 441.9 MB, free: 13.21 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.545e-05/0.1507, allocations: 102.8 kB / 442 MB, free: 13.09 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001465/0.1509, allocations: 171 kB / 442.2 MB, free: 12.91 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.113e-05/0.1509, allocations: 29.7 kB / 442.2 MB, free: 12.88 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.336e-05/0.151, allocations: 108.1 kB / 442.3 MB, free: 12.77 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.504e-05/0.151, allocations: 31.5 kB / 442.3 MB, free: 12.73 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.135e-06/0.1511, allocations: 7.938 kB / 442.3 MB, free: 12.73 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001199/0.1512, allocations: 326.8 kB / 442.7 MB, free: 12.4 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002029/0.1514, allocations: 87.94 kB / 442.8 MB, free: 12.31 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002211/0.1516, allocations: 106.5 kB / 442.9 MB, free: 12.2 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002095/0.1518, allocations: 91.91 kB / 442.9 MB, free: 12.11 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.1519, allocations: 4 kB / 443 MB, free: 12.11 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004766/0.1523, allocations: 213.5 kB / 443.2 MB, free: 11.89 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.608e-05/0.1524, allocations: 93 kB / 443.3 MB, free: 11.79 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/0.1524, allocations: 0.5469 kB / 443.3 MB, free: 11.79 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/0.1525, allocations: 3.938 kB / 443.3 MB, free: 11.79 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002001/0.1527, allocations: 43.97 kB / 443.3 MB, free: 11.75 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/0.1527, allocations: 0 / 443.3 MB, free: 11.75 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000133/0.1528, allocations: 43.97 kB / 443.3 MB, free: 11.7 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.189e-05/0.1528, allocations: 3.984 kB / 443.3 MB, free: 11.7 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.875e-06/0.1529, allocations: 7.953 kB / 443.4 MB, free: 11.69 MB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002153/0.1531, allocations: 100.2 kB / 443.4 MB, free: 11.59 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.893e-06/0.1531, allocations: 0 / 443.4 MB, free: 11.59 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.585e-06/0.1531, allocations: 0 / 443.4 MB, free: 11.59 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.149e-05/0.1532, allocations: 24.08 kB / 443.5 MB, free: 11.57 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.017e-06/0.1532, allocations: 7.922 kB / 443.5 MB, free: 11.56 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.786e-05/0.1533, allocations: 15.98 kB / 443.5 MB, free: 11.55 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.631e-06/0.1533, allocations: 4 kB / 443.5 MB, free: 11.54 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001344/0.1534, allocations: 197.1 kB / 443.7 MB, free: 11.34 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.213e-05/0.1535, allocations: 15.77 kB / 443.7 MB, free: 11.32 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.045e-05/0.1536, allocations: 21.39 kB / 443.7 MB, free: 11.3 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-06/0.1536, allocations: 3.938 kB / 443.7 MB, free: 11.3 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.275e-06/0.1536, allocations: 4 kB / 443.7 MB, free: 11.29 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.1536, allocations: 4 kB / 443.7 MB, free: 11.29 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008472/0.1544, allocations: 0.5499 MB / 444.3 MB, free: 10.68 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.1545, allocations: 0 / 444.3 MB, free: 10.68 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000172/0.1546, allocations: 39.97 kB / 444.3 MB, free: 10.64 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.941e-06/0.1546, allocations: 4 kB / 444.3 MB, free: 10.64 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.113e-05/0.1547, allocations: 4.031 kB / 444.3 MB, free: 10.63 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.1547, allocations: 0 / 444.3 MB, free: 10.63 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.1547, allocations: 3.984 kB / 444.3 MB, free: 10.63 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007385/0.1554, allocations: 427.9 kB / 444.8 MB, free: 10.19 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.747e-05/0.1555, allocations: 85.05 kB / 444.8 MB, free: 10.09 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.679e-05/0.1555, allocations: 3.984 kB / 444.8 MB, free: 10.09 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000246/0.1558, allocations: 56.02 kB / 444.9 MB, free: 10.03 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.573e-05/0.1558, allocations: 4 kB / 444.9 MB, free: 10.03 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.367e-05/0.1558, allocations: 7.984 kB / 444.9 MB, free: 10.02 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.158e-05/0.1559, allocations: 123.2 kB / 445 MB, free: 9.898 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.542e-06/0.1559, allocations: 0 / 445 MB, free: 9.898 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003054/0.1563, allocations: 35.94 kB / 445.1 MB, free: 9.863 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 (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.0001235/0.1564, allocations: 107.2 kB / 445.2 MB, free: 9.75 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005869/0.157, allocations: 232.1 kB / 445.4 MB, free: 9.523 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.157, allocations: 0 / 445.4 MB, free: 9.523 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002186/0.1572, allocations: 99.94 kB / 445.5 MB, free: 9.426 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004117/0.1576, allocations: 40.05 kB / 445.5 MB, free: 9.387 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00067/0.1583, allocations: 336.6 kB / 445.9 MB, free: 9.027 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000263/0.1586, allocations: 0.7088 MB / 446.6 MB, free: 8.293 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001083/0.1587, allocations: 24.86 kB / 446.6 MB, free: 8.266 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.281e-05/0.1588, allocations: 15.44 kB / 446.6 MB, free: 8.25 MB / 382.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1588, allocations: 0 / 446.6 MB, free: 8.25 MB / 382.1 MB Notification: Performance of Templates: time 0.004901/0.1637, allocations: 2 MB / 448.6 MB, free: 6.262 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Blocks.Limiters.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Blocks.Limiters.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Blocks.Limiters.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Blocks.Limiters.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Blocks.Limiters.sim & ./ModelicaTest_3.2.2_ModelicaTest.Blocks.Limiters -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Blocks.Limiters.pipe 2>&1) Environment - environmentSimulation: