Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous_InitialOutput.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_InitialOutput,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous_InitialOutput") translateModel(ModelicaTest.Blocks.Continuous_InitialOutput,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous_InitialOutput") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.0009632/0.0009632, allocations: 178.9 kB / 7.651 MB, free: 1.398 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.382/1.382, allocations: 194.3 MB / 202.4 MB, free: 8.531 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.001669/0.001669, allocations: 118.1 kB / 247.4 MB, free: 6.227 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.1951/0.1951, allocations: 39.94 MB / 332.2 MB, free: 4.766 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.303e-05/1.305e-05, allocations: 0 / 393.3 MB, free: 75.55 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09332/0.09335, allocations: 54.87 MB / 448.2 MB, free: 20.66 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3761/0.4696, allocations: 89.4 MB / 0.525 GB, free: 8.902 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001889/0.4698, allocations: 63.16 kB / 0.525 GB, free: 8.895 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1161/0.5859, allocations: 27.43 MB / 0.5518 GB, free: 3.738 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.586, allocations: 0 / 0.5518 GB, free: 3.738 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001002/0.5861, allocations: 24.31 kB / 0.5518 GB, free: 3.715 MB / 362.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.003053/0.5892, allocations: 0.9054 MB / 0.5527 GB, free: 2.805 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.587e-05/0.5892, allocations: 12.03 kB / 0.5527 GB, free: 2.793 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002579/0.5895, allocations: 82.97 kB / 0.5528 GB, free: 2.711 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001717/0.5913, allocations: 0.546 MB / 0.5534 GB, free: 2.188 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.924e-05/0.5913, allocations: 12 kB / 0.5534 GB, free: 2.176 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000147/0.5915, allocations: 31.91 kB / 0.5534 GB, free: 2.145 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001059/0.5926, allocations: 311.9 kB / 0.5537 GB, free: 1.945 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001117/0.5937, allocations: 416.6 kB / 0.5541 GB, free: 1.609 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.077e-05/0.5938, allocations: 4 kB / 0.5541 GB, free: 1.605 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.358e-05/0.5938, allocations: 0 / 0.5541 GB, free: 1.605 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.982e-05/0.5939, allocations: 8 kB / 0.5541 GB, free: 1.598 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005542/0.5994, allocations: 1.842 MB / 0.5559 GB, free: 12 kB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00116/0.6006, allocations: 415.9 kB / 0.5563 GB, free: 15.7 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005178/0.6012, allocations: 186 kB / 0.5565 GB, free: 15.57 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.032e-05/0.6013, allocations: 4.438 kB / 0.5565 GB, free: 15.57 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.212e-05/0.6013, allocations: 42.23 kB / 0.5565 GB, free: 15.52 MB / 378.7 MB Notification: Performance of pre-optimization done (n=44): time 5.249e-06/0.6014, allocations: 3.938 kB / 0.5565 GB, free: 15.52 MB / 378.7 MB Notification: Performance of matching and sorting (n=45): time 0.002322/0.6037, allocations: 0.7407 MB / 0.5572 GB, free: 14.87 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.947e-05/0.6038, allocations: 110.8 kB / 0.5574 GB, free: 14.74 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008621/0.6047, allocations: 452.5 kB / 0.5578 GB, free: 14.38 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.363e-05/0.6048, allocations: 25.7 kB / 0.5578 GB, free: 14.35 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003152/0.6051, allocations: 320.1 kB / 0.5581 GB, free: 14.15 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002259/0.6053, allocations: 167.3 kB / 0.5583 GB, free: 14.01 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.663e-05/0.6054, allocations: 8 kB / 0.5583 GB, free: 14 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002305/0.6057, allocations: 381.6 kB / 0.5586 GB, free: 13.65 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005409/0.6062, allocations: 183.6 kB / 0.5588 GB, free: 13.54 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006465/0.6069, allocations: 287.1 kB / 0.5591 GB, free: 13.3 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007132/0.6076, allocations: 223.3 kB / 0.5593 GB, free: 13.15 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.6076, allocations: 0 / 0.5593 GB, free: 13.15 MB / 378.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001652/0.6093, allocations: 0.5753 MB / 0.5599 GB, free: 12.7 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005668/0.6099, allocations: 1.051 MB / 0.5609 GB, free: 11.59 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.195e-05/0.6099, allocations: 11.95 kB / 0.5609 GB, free: 11.58 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.809e-05/0.61, allocations: 4 kB / 0.5609 GB, free: 11.57 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001847/0.6118, allocations: 187 kB / 0.5611 GB, free: 11.39 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.7e-05/0.6119, allocations: 12 kB / 0.5611 GB, free: 11.38 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009303/0.6128, allocations: 75.19 kB / 0.5612 GB, free: 11.31 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.812e-05/0.6129, allocations: 19.31 kB / 0.5612 GB, free: 11.3 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/0.613, allocations: 4 kB / 0.5612 GB, free: 11.29 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00154/0.6145, allocations: 493.5 kB / 0.5617 GB, free: 10.94 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/0.6145, allocations: 4 kB / 0.5617 GB, free: 10.94 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.6146, allocations: 8 kB / 0.5617 GB, free: 10.93 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001659/0.6162, allocations: 193.9 kB / 0.5619 GB, free: 10.75 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.068e-05/0.6163, allocations: 4 kB / 0.5619 GB, free: 10.74 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007912/0.6171, allocations: 71.62 kB / 0.5619 GB, free: 10.67 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.569e-05/0.6172, allocations: 19.19 kB / 0.562 GB, free: 10.66 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 (69): * Single equations (assignments): 68 * Array equations: 1 * 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.0002062/0.6174, allocations: 126.5 kB / 0.5621 GB, free: 10.53 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002217/0.6176, allocations: 67.16 kB / 0.5621 GB, free: 10.46 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002798/0.6179, allocations: 75.98 kB / 0.5622 GB, free: 10.42 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.147e-05/0.6179, allocations: 4 kB / 0.5622 GB, free: 10.42 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.947e-06/0.6179, allocations: 3.938 kB / 0.5622 GB, free: 10.41 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.056e-05/0.618, allocations: 7.984 kB / 0.5622 GB, free: 10.41 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002341/0.6203, allocations: 1.075 MB / 0.5633 GB, free: 9.508 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.835e-06/0.6203, allocations: 4 kB / 0.5633 GB, free: 9.504 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001137/0.6215, allocations: 110.3 kB / 0.5634 GB, free: 9.402 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.187e-06/0.6215, allocations: 4 kB / 0.5634 GB, free: 9.398 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.029e-05/0.6216, allocations: 15.86 kB / 0.5634 GB, free: 9.387 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.859e-06/0.6216, allocations: 0 / 0.5634 GB, free: 9.387 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.179e-05/0.6216, allocations: 4 kB / 0.5634 GB, free: 9.383 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001836/0.6235, allocations: 0.9769 MB / 0.5644 GB, free: 8.555 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003899/0.6239, allocations: 187.2 kB / 0.5645 GB, free: 8.375 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001349/0.624, allocations: 10.61 kB / 0.5645 GB, free: 8.367 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009314/0.625, allocations: 47.95 kB / 0.5646 GB, free: 8.32 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001654/0.6252, allocations: 42.91 kB / 0.5646 GB, free: 8.285 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.685e-05/0.6253, allocations: 15.97 kB / 0.5647 GB, free: 8.27 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006589/0.6259, allocations: 353.3 kB / 0.565 GB, free: 8.012 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.206e-06/0.626, allocations: 0 / 0.565 GB, free: 8.012 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001444/0.6274, allocations: 199.3 kB / 0.5652 GB, free: 7.82 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (45): * Single equations (assignments): 45 * 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.0004815/0.6279, allocations: 139.8 kB / 0.5653 GB, free: 7.676 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001987/0.6299, allocations: 0.7374 MB / 0.566 GB, free: 7.16 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.692e-06/0.6299, allocations: 4 kB / 0.566 GB, free: 7.156 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005373/0.6305, allocations: 207.3 kB / 0.5662 GB, free: 7.016 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001282/0.6318, allocations: 155.5 kB / 0.5664 GB, free: 6.891 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003415/0.6352, allocations: 1.139 MB / 0.5675 GB, free: 5.82 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008192/0.6361, allocations: 0.9399 MB / 0.5684 GB, free: 4.859 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001366/0.6375, allocations: 190.7 kB / 0.5686 GB, free: 4.672 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002708/0.6377, allocations: 43.44 kB / 0.5686 GB, free: 4.633 MB / 378.7 MB Notification: Performance of SimCode: time 1.052e-06/0.6378, allocations: 0 / 0.5686 GB, free: 4.633 MB / 378.7 MB Notification: Performance of Templates: time 0.02557/0.6633, allocations: 7.615 MB / 0.5761 GB, free: 13.08 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous_InitialOutput.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous_InitialOutput.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous_InitialOutput.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous_InitialOutput.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous_InitialOutput.sim & ./ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous_InitialOutput -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous_InitialOutput.pipe 2>&1)