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.0009461/0.0009462, allocations: 176.2 kB / 7.652 MB, free: 1.426 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.352/1.352, allocations: 194.4 MB / 202.4 MB, free: 12.95 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.001633/0.001634, allocations: 112 kB / 247.4 MB, free: 15.95 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.1876/0.1876, allocations: 39.95 MB / 332.2 MB, free: 0.6367 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.484e-05/1.489e-05, allocations: 0 / 393.3 MB, free: 3.445 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2518/0.2519, allocations: 54.88 MB / 448.2 MB, free: 13.68 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1172/0.3691, allocations: 88.89 MB / 0.5245 GB, free: 4.656 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001984/0.3693, allocations: 71.95 kB / 0.5246 GB, free: 4.586 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3149/0.6842, allocations: 13.64 MB / 0.5379 GB, free: 85.41 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.515e-06/0.6843, allocations: 4 kB / 0.5379 GB, free: 85.4 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001567/0.6845, allocations: 17.12 kB / 0.5379 GB, free: 85.4 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.002991/0.6875, allocations: 0.9048 MB / 0.5388 GB, free: 84.78 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.017e-05/0.6876, allocations: 8.062 kB / 0.5388 GB, free: 84.78 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007181/0.6883, allocations: 84.72 kB / 0.5389 GB, free: 84.73 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001637/0.69, allocations: 0.5139 MB / 0.5394 GB, free: 84.32 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.171e-05/0.69, allocations: 10.22 kB / 0.5394 GB, free: 84.32 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001962/0.6902, allocations: 36.64 kB / 0.5394 GB, free: 84.32 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007028/0.6909, allocations: 316.6 kB / 0.5397 GB, free: 84.18 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007615/0.6917, allocations: 427.4 kB / 0.5401 GB, free: 83.91 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.976e-05/0.6918, allocations: 3.781 kB / 0.5401 GB, free: 83.91 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.108e-05/0.6918, allocations: 0 / 0.5401 GB, free: 83.91 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.533e-05/0.6918, allocations: 7.656 kB / 0.5401 GB, free: 83.91 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003455/0.6953, allocations: 1.885 MB / 0.542 GB, free: 82.52 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006813/0.696, allocations: 448.9 kB / 0.5424 GB, free: 82.27 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002348/0.6963, allocations: 183.8 kB / 0.5426 GB, free: 82.17 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.67e-05/0.6963, allocations: 6.812 kB / 0.5426 GB, free: 82.17 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.443e-05/0.6963, allocations: 45.91 kB / 0.5426 GB, free: 82.12 MB / 378.7 MB Notification: Performance of pre-optimization done (n=42): time 2.214e-06/0.6963, allocations: 0 / 0.5426 GB, free: 82.12 MB / 378.7 MB Notification: Performance of matching and sorting (n=43): time 0.00132/0.6977, allocations: 0.7191 MB / 0.5433 GB, free: 81.69 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.651e-05/0.6977, allocations: 136.3 kB / 0.5435 GB, free: 81.53 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004813/0.6982, allocations: 459.3 kB / 0.5439 GB, free: 81.26 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.117e-05/0.6983, allocations: 33.52 kB / 0.5439 GB, free: 81.23 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001748/0.6985, allocations: 318.3 kB / 0.5442 GB, free: 80.95 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001197/0.6986, allocations: 164.6 kB / 0.5444 GB, free: 80.8 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.753e-05/0.6986, allocations: 0 / 0.5444 GB, free: 80.8 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001052/0.6987, allocations: 386.2 kB / 0.5448 GB, free: 80.43 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002855/0.699, allocations: 181.4 kB / 0.5449 GB, free: 80.35 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000327/0.6994, allocations: 296.6 kB / 0.5452 GB, free: 80.14 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003163/0.6997, allocations: 217.2 kB / 0.5454 GB, free: 80.03 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.6997, allocations: 0 / 0.5454 GB, free: 80.03 MB / 378.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.0008044/0.7005, allocations: 0.558 MB / 0.546 GB, free: 79.76 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002221/0.7007, allocations: 1.055 MB / 0.547 GB, free: 78.64 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.125e-05/0.7008, allocations: 3.906 kB / 0.547 GB, free: 78.64 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.682e-05/0.7008, allocations: 3.906 kB / 0.547 GB, free: 78.64 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006128/0.7014, allocations: 151.4 kB / 0.5472 GB, free: 78.6 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.303e-05/0.7014, allocations: 14.67 kB / 0.5472 GB, free: 78.59 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005486/0.702, allocations: 82.05 kB / 0.5472 GB, free: 78.55 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.716e-05/0.702, allocations: 18.84 kB / 0.5473 GB, free: 78.55 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.077e-05/0.7021, allocations: 3.969 kB / 0.5473 GB, free: 78.55 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007041/0.7028, allocations: 469.3 kB / 0.5477 GB, free: 78.16 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.7028, allocations: 8 kB / 0.5477 GB, free: 78.16 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.293e-06/0.7028, allocations: 4.312 kB / 0.5477 GB, free: 78.15 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005549/0.7034, allocations: 147.8 kB / 0.5479 GB, free: 78.01 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.7034, allocations: 7.938 kB / 0.5479 GB, free: 78 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005209/0.7039, allocations: 75.62 kB / 0.5479 GB, free: 77.93 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.13e-05/0.704, allocations: 20 kB / 0.548 GB, free: 77.91 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 () * 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.0001222/0.7041, allocations: 116.8 kB / 0.5481 GB, free: 77.79 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001392/0.7042, allocations: 71.11 kB / 0.5481 GB, free: 77.71 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001744/0.7044, allocations: 73.17 kB / 0.5482 GB, free: 77.64 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.7044, allocations: 8 kB / 0.5482 GB, free: 77.63 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/0.7044, allocations: 0 / 0.5482 GB, free: 77.63 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.203e-06/0.7045, allocations: 3.984 kB / 0.5482 GB, free: 77.63 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001119/0.7056, allocations: 0.7245 MB / 0.5489 GB, free: 76.87 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.606e-06/0.7056, allocations: 4 kB / 0.5489 GB, free: 76.87 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006446/0.7062, allocations: 115.9 kB / 0.5491 GB, free: 76.75 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.124e-06/0.7063, allocations: 0 / 0.5491 GB, free: 76.75 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.658e-05/0.7063, allocations: 12 kB / 0.5491 GB, free: 76.74 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/0.7063, allocations: 0 / 0.5491 GB, free: 76.74 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.7063, allocations: 4 kB / 0.5491 GB, free: 76.74 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009661/0.7073, allocations: 0.9375 MB / 0.55 GB, free: 75.77 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002124/0.7075, allocations: 196.2 kB / 0.5502 GB, free: 75.56 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.091e-05/0.7076, allocations: 4 kB / 0.5502 GB, free: 75.55 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005567/0.7082, allocations: 55.94 kB / 0.5502 GB, free: 75.5 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001191/0.7083, allocations: 40.02 kB / 0.5503 GB, free: 75.46 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.9e-05/0.7084, allocations: 15.94 kB / 0.5503 GB, free: 75.45 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003623/0.7087, allocations: 359.2 kB / 0.5506 GB, free: 75.1 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.7087, allocations: 0 / 0.5506 GB, free: 75.1 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007422/0.7095, allocations: 160 kB / 0.5508 GB, free: 74.95 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 () * 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.0001625/0.7097, allocations: 115.1 kB / 0.5509 GB, free: 74.82 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001012/0.7107, allocations: 0.7189 MB / 0.5516 GB, free: 74.1 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.7107, allocations: 1.25 kB / 0.5516 GB, free: 74.1 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002691/0.711, allocations: 210.3 kB / 0.5518 GB, free: 73.9 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000898/0.7119, allocations: 148.2 kB / 0.5519 GB, free: 73.75 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00197/0.7139, allocations: 1.118 MB / 0.553 GB, free: 72.6 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004136/0.7143, allocations: 0.9506 MB / 0.5539 GB, free: 71.62 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0006846/0.715, allocations: 190.4 kB / 0.5541 GB, free: 71.43 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001367/0.7151, allocations: 31.44 kB / 0.5542 GB, free: 71.4 MB / 378.7 MB Notification: Performance of SimCode: time 3.7e-07/0.7151, allocations: 0 / 0.5542 GB, free: 71.4 MB / 378.7 MB Notification: Performance of Templates: time 0.0127/0.7278, allocations: 6.913 MB / 0.5609 GB, free: 64.53 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)