Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous.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.Continuous,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous") translateModel(ModelicaTest.Blocks.Continuous,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.007461/0.007461, allocations: 177.3 kB / 15.12 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.507/1.507, allocations: 194.5 MB / 210.3 MB, free: 7.73 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.00168/0.00168, allocations: 112.6 kB / 255.6 MB, free: 10.35 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1825/0.1825, allocations: 40.01 MB / 340.8 MB, free: 11.41 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003849/0.000385, allocations: 10.25 kB / 406.1 MB, free: 52 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1157/0.1161, allocations: 54.88 MB / 461 MB, free: 3.332 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4465/0.5626, allocations: 89.64 MB / 0.5378 GB, free: 21.87 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003019/0.563, allocations: 70.91 kB / 0.5378 GB, free: 21.87 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05257/0.6156, allocations: 13.77 MB / 0.5513 GB, free: 20.7 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.6157, allocations: 0 / 0.5513 GB, free: 20.7 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.847e-05/0.6158, allocations: 21.09 kB / 0.5513 GB, free: 20.7 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 97 * Number of variables: 97 Notification: Performance of Generate backend data structure: time 0.002786/0.6186, allocations: 1.036 MB / 0.5523 GB, free: 20.07 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.231e-05/0.6186, allocations: 11.59 kB / 0.5523 GB, free: 20.07 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003461/0.619, allocations: 81.78 kB / 0.5524 GB, free: 20.03 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001432/0.6204, allocations: 0.5399 MB / 0.5529 GB, free: 19.75 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.246e-05/0.6205, allocations: 31.38 kB / 0.5529 GB, free: 19.74 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001232/0.6206, allocations: 57.03 kB / 0.553 GB, free: 19.74 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001032/0.6217, allocations: 0.5521 MB / 0.5535 GB, free: 19.62 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.217e-05/0.6217, allocations: 0 / 0.5535 GB, free: 19.62 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.829e-05/0.6218, allocations: 18.53 kB / 0.5536 GB, free: 19.62 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.899e-06/0.6218, allocations: 15.56 kB / 0.5536 GB, free: 19.62 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009722/0.6228, allocations: 475.6 kB / 0.554 GB, free: 19.6 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003281/0.626, allocations: 1.964 MB / 0.5559 GB, free: 18.82 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001119/0.6272, allocations: 0.5839 MB / 0.5565 GB, free: 18.73 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.894e-05/0.6272, allocations: 10.94 kB / 0.5565 GB, free: 18.73 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.563e-05/0.6273, allocations: 38.22 kB / 0.5566 GB, free: 18.68 MB / 378.7 MB Notification: Performance of pre-optimization done (n=42): time 2.685e-06/0.6273, allocations: 4 kB / 0.5566 GB, free: 18.68 MB / 378.7 MB Notification: Performance of matching and sorting (n=43): time 0.002293/0.6296, allocations: 1.159 MB / 0.5577 GB, free: 18.37 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.327e-05/0.6297, allocations: 150.7 kB / 0.5578 GB, free: 18.2 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00072/0.6304, allocations: 0.5163 MB / 0.5583 GB, free: 18.09 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.94e-05/0.6304, allocations: 33.02 kB / 0.5584 GB, free: 18.05 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002037/0.6307, allocations: 328 kB / 0.5587 GB, free: 17.92 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000163/0.6308, allocations: 166.5 kB / 0.5588 GB, free: 17.82 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.422e-05/0.6309, allocations: 10.94 kB / 0.5589 GB, free: 17.82 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001186/0.631, allocations: 385.7 kB / 0.5592 GB, free: 17.5 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005428/0.6315, allocations: 273.1 kB / 0.5595 GB, free: 17.5 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006224/0.6322, allocations: 390.7 kB / 0.5599 GB, free: 17.38 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006345/0.6328, allocations: 313.5 kB / 0.5602 GB, free: 17.36 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.6328, allocations: 0 / 0.5602 GB, free: 17.36 MB / 378.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.00139/0.6342, allocations: 0.7791 MB / 0.5609 GB, free: 17.26 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002575/0.6345, allocations: 1.042 MB / 0.5619 GB, free: 16.16 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.768e-06/0.6345, allocations: 0 / 0.5619 GB, free: 16.16 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.584e-05/0.6345, allocations: 10.86 kB / 0.5619 GB, free: 16.16 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006809/0.6352, allocations: 148.1 kB / 0.5621 GB, free: 16.15 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.566e-05/0.6353, allocations: 11.77 kB / 0.5621 GB, free: 16.14 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005519/0.6358, allocations: 97 kB / 0.5622 GB, free: 16.12 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.821e-05/0.6359, allocations: 21.84 kB / 0.5622 GB, free: 16.12 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.297e-06/0.6359, allocations: 7.875 kB / 0.5622 GB, free: 16.12 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001148/0.637, allocations: 0.6582 MB / 0.5629 GB, free: 16.07 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.6371, allocations: 3.875 kB / 0.5629 GB, free: 16.07 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.873e-06/0.6371, allocations: 7.75 kB / 0.5629 GB, free: 16.07 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005617/0.6376, allocations: 140.6 kB / 0.563 GB, free: 16.07 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.129e-05/0.6377, allocations: 5.719 kB / 0.563 GB, free: 16.07 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000536/0.6382, allocations: 84.55 kB / 0.5631 GB, free: 16.04 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.026e-05/0.6383, allocations: 22.84 kB / 0.5631 GB, free: 16.04 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (68): * Single equations (assignments): 68 * 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.0004035/0.6387, allocations: 275.8 kB / 0.5634 GB, free: 15.84 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001764/0.6389, allocations: 74.34 kB / 0.5634 GB, free: 15.8 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002366/0.6391, allocations: 86.75 kB / 0.5635 GB, free: 15.78 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.005e-06/0.6391, allocations: 4.906 kB / 0.5635 GB, free: 15.78 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.342e-05/0.6391, allocations: 2.5 kB / 0.5635 GB, free: 15.78 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.506e-06/0.6391, allocations: 3.891 kB / 0.5635 GB, free: 15.78 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001512/0.6407, allocations: 0.813 MB / 0.5643 GB, free: 15.46 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.1e-06/0.6407, allocations: 0 / 0.5643 GB, free: 15.46 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006535/0.6413, allocations: 112.8 kB / 0.5644 GB, free: 15.46 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.665e-06/0.6414, allocations: 3.938 kB / 0.5644 GB, free: 15.46 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.219e-05/0.6414, allocations: 18.61 kB / 0.5645 GB, free: 15.46 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.699e-06/0.6414, allocations: 3.875 kB / 0.5645 GB, free: 15.46 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.6415, allocations: 0 / 0.5645 GB, free: 15.46 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001972/0.6434, allocations: 1.21 MB / 0.5657 GB, free: 15.07 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002789/0.6437, allocations: 188 kB / 0.5658 GB, free: 14.94 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.71e-05/0.6438, allocations: 16.22 kB / 0.5658 GB, free: 14.94 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005984/0.6444, allocations: 65.08 kB / 0.5659 GB, free: 14.93 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000149/0.6446, allocations: 42.16 kB / 0.5659 GB, free: 14.93 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.405e-05/0.6446, allocations: 10.62 kB / 0.566 GB, free: 14.93 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0007364/0.6454, allocations: 427.1 kB / 0.5664 GB, free: 14.83 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.6454, allocations: 0 / 0.5664 GB, free: 14.83 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001006/0.6464, allocations: 194.9 kB / 0.5666 GB, free: 14.83 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 18 (limPID.I.y,limPID.D.x,transferFunction.x_scaled[1],stateSpace.x[1],stateSpace.x[2],lowpassButterworth.x1[1],lowpassButterworth.x2[1],criticalDamping.x[1],criticalDamping.x[2],integrator.y,limIntegrator.y,derivative.x,firstOrder.y,secondOrder.y,secondOrder.yd,pI.x,pID.I.y,pID.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 (43): * Single equations (assignments): 43 * 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.0001744/0.6466, allocations: 121.2 kB / 0.5667 GB, free: 14.73 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002106/0.6487, allocations: 0.9673 MB / 0.5676 GB, free: 14.68 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.63e-06/0.6487, allocations: 0 / 0.5676 GB, free: 14.68 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006527/0.6494, allocations: 297.9 kB / 0.5679 GB, free: 14.67 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001208/0.6506, allocations: 159 kB / 0.568 GB, free: 14.66 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003394/0.654, allocations: 1.628 MB / 0.5696 GB, free: 13.86 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004444/0.6545, allocations: 0.9445 MB / 0.5706 GB, free: 13.15 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0006921/0.6552, allocations: 137.9 kB / 0.5707 GB, free: 13.12 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001792/0.6554, allocations: 49.92 kB / 0.5707 GB, free: 13.11 MB / 378.7 MB Notification: Performance of SimCode: time 1.223e-06/0.6554, allocations: 0 / 0.5707 GB, free: 13.11 MB / 378.7 MB Notification: Performance of Templates: time 0.01317/0.6686, allocations: 6.311 MB / 0.5769 GB, free: 10.7 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous.sim & ./ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous.pipe 2>&1)