Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous_InitialOutput.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.Continuous_InitialOutput,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous_InitialOutput") translateModel(ModelicaTest.Blocks.Continuous_InitialOutput,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous_InitialOutput") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001781/0.001781, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002418/0.002417, allocations: 191 kB / 16.13 MB, free: 6.707 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.549/1.549, allocations: 205.1 MB / 222 MB, free: 4.805 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.3243/0.3243, allocations: 37.99 MB / 307.3 MB, free: 10.01 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.002803/0.002803, allocations: 69.19 kB / 374.5 MB, free: 15.65 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1771/0.18, allocations: 56.47 MB / 431 MB, free: 7.086 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous_InitialOutput): time 0.007454/0.1875, allocations: 3.405 MB / 434.4 MB, free: 3.656 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003654/0.1912, allocations: 1.563 MB / 436 MB, free: 2.082 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001053/0.1924, allocations: 19.88 kB / 436 MB, free: 2.062 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007879/0.1932, allocations: 115.2 kB / 436.1 MB, free: 1.949 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007357/0.1939, allocations: 159 kB / 436.3 MB, free: 1.793 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001328/0.1953, allocations: 495.2 kB / 436.7 MB, free: 1.309 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001087/0.1964, allocations: 0.9003 MB / 437.6 MB, free: 416 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004092/0.1968, allocations: 226.4 kB / 437.9 MB, free: 176 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004377/0.1972, allocations: 330.4 kB / 438.2 MB, free: 15.85 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004281/0.1977, allocations: 386.1 kB / 438.6 MB, free: 15.47 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.23e-05/0.1978, allocations: 32 kB / 438.6 MB, free: 15.44 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002762/0.1981, allocations: 147.7 kB / 438.7 MB, free: 15.29 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001913/0.1983, allocations: 163.3 kB / 438.9 MB, free: 15.13 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002823/0.1986, allocations: 321.8 kB / 439.2 MB, free: 14.82 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000796/0.1994, allocations: 0.8331 MB / 440.1 MB, free: 13.98 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.1994, allocations: 0 / 440.1 MB, free: 13.98 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.1994, allocations: 4 kB / 440.1 MB, free: 13.98 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.16e-05/0.1994, allocations: 3.938 kB / 440.1 MB, free: 13.97 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: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.002612/0.202, allocations: 1.164 MB / 441.2 MB, free: 12.75 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.371e-05/0.2021, allocations: 8.031 kB / 441.2 MB, free: 12.75 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001547/0.2022, allocations: 99.8 kB / 441.3 MB, free: 12.65 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009367/0.2032, allocations: 0.5623 MB / 441.9 MB, free: 12.04 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.991e-05/0.2032, allocations: 45.31 kB / 441.9 MB, free: 12 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001015/0.2033, allocations: 64.2 kB / 442 MB, free: 11.94 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001209/0.2046, allocations: 0.5982 MB / 442.6 MB, free: 11.29 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.467e-05/0.2046, allocations: 7.984 kB / 442.6 MB, free: 11.28 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.895e-05/0.2047, allocations: 20 kB / 442.6 MB, free: 11.26 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.503e-05/0.2047, allocations: 19.94 kB / 442.6 MB, free: 11.24 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001107/0.2058, allocations: 461.8 kB / 443.1 MB, free: 10.79 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004188/0.21, allocations: 2.655 MB / 445.7 MB, free: 8.035 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001013/0.211, allocations: 0.5079 MB / 446.3 MB, free: 7.5 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005571/0.2116, allocations: 262.9 kB / 446.5 MB, free: 7.234 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.889e-05/0.2117, allocations: 12.23 kB / 446.5 MB, free: 7.223 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.602e-05/0.2117, allocations: 42.73 kB / 446.6 MB, free: 7.172 MB / 382.1 MB Notification: Performance of pre-optimization done (n=45): time 2.445e-06/0.2117, allocations: 0 / 446.6 MB, free: 7.172 MB / 382.1 MB Notification: Performance of matching and sorting (n=46): time 0.002741/0.2145, allocations: 1.149 MB / 447.7 MB, free: 6.012 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000105/0.2146, allocations: 136.5 kB / 447.8 MB, free: 5.848 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009605/0.2155, allocations: 0.6529 MB / 448.5 MB, free: 5.188 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.902e-05/0.2156, allocations: 41.62 kB / 448.5 MB, free: 5.141 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003014/0.2159, allocations: 364.8 kB / 448.9 MB, free: 4.781 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001659/0.2161, allocations: 177.5 kB / 449.1 MB, free: 4.605 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002008/0.2163, allocations: 118.2 kB / 449.2 MB, free: 4.484 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001441/0.2165, allocations: 337.9 kB / 449.5 MB, free: 4.148 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006831/0.2171, allocations: 279.3 kB / 449.8 MB, free: 3.871 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007203/0.2179, allocations: 436.4 kB / 450.2 MB, free: 3.379 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001358/0.2192, allocations: 0.7228 MB / 450.9 MB, free: 2.594 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.2193, allocations: 4 kB / 450.9 MB, free: 2.59 MB / 382.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001826/0.2211, allocations: 0.8159 MB / 451.8 MB, free: 1.766 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.202e-05/0.2211, allocations: 8 kB / 451.8 MB, free: 1.758 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.379e-05/0.2211, allocations: 8.516 kB / 451.8 MB, free: 1.75 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.097e-05/0.2212, allocations: 12.05 kB / 451.8 MB, free: 1.738 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009039/0.2221, allocations: 199.7 kB / 452 MB, free: 1.543 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.535e-05/0.2221, allocations: 8 kB / 452 MB, free: 1.535 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000548/0.2227, allocations: 83.56 kB / 452.1 MB, free: 1.453 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.157e-05/0.2227, allocations: 24 kB / 452.1 MB, free: 1.43 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008777/0.2236, allocations: 425.2 kB / 452.5 MB, free: 1.012 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007193/0.2243, allocations: 424.3 kB / 452.9 MB, free: 0.5312 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.2186/0.443, allocations: 0.6996 MB / 453.6 MB, free: 52.96 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.317e-06/0.443, allocations: 0 / 453.6 MB, free: 52.96 MB / 382.1 MB Notification: Performance of matching and sorting (n=79) (initialization_lambda0): time 0.00169/0.4447, allocations: 0.8003 MB / 454.4 MB, free: 52.93 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.4447, allocations: 9.375 kB / 454.4 MB, free: 52.93 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/0.4447, allocations: 7.438 kB / 454.4 MB, free: 52.93 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.558e-06/0.4448, allocations: 6.438 kB / 454.4 MB, free: 52.93 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007923/0.4456, allocations: 194.5 kB / 454.6 MB, free: 52.93 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.899e-06/0.4456, allocations: 13.05 kB / 454.6 MB, free: 52.93 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000532/0.4461, allocations: 81.08 kB / 454.7 MB, free: 52.93 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.336e-05/0.4462, allocations: 22.44 kB / 454.8 MB, free: 52.93 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 4 (limPID.I.local_reset,pID.I.local_reset,limIntegrator.local_reset,integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (78): * Single equations (assignments): 77 * Array equations: 1 * 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.0002229/0.4464, allocations: 214.2 kB / 455 MB, free: 52.75 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001458/0.4466, allocations: 80.64 kB / 455 MB, free: 52.75 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002048/0.4468, allocations: 89.77 kB / 455.1 MB, free: 52.74 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/0.4468, allocations: 7.188 kB / 455.1 MB, free: 52.74 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.846e-06/0.4468, allocations: 2.062 kB / 455.1 MB, free: 52.74 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.4468, allocations: 3.188 kB / 455.1 MB, free: 52.74 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001651/0.4485, allocations: 1.266 MB / 456.4 MB, free: 52.35 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/0.4485, allocations: 0 / 456.4 MB, free: 52.35 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006068/0.4491, allocations: 111.9 kB / 456.5 MB, free: 52.34 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.599e-06/0.4491, allocations: 3.25 kB / 456.5 MB, free: 52.34 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.483e-05/0.4492, allocations: 18.09 kB / 456.5 MB, free: 52.34 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.07e-06/0.4492, allocations: 7.734 kB / 456.5 MB, free: 52.34 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/0.4492, allocations: 3.656 kB / 456.5 MB, free: 52.34 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001716/0.4509, allocations: 1.16 MB / 457.7 MB, free: 51.8 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002037/0.4511, allocations: 194.6 kB / 457.9 MB, free: 51.68 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.82e-05/0.4512, allocations: 18.34 kB / 457.9 MB, free: 51.67 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000538/0.4517, allocations: 53.08 kB / 458 MB, free: 51.66 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000129/0.4519, allocations: 42.81 kB / 458 MB, free: 51.66 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.106e-05/0.4519, allocations: 12.52 kB / 458 MB, free: 51.66 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005912/0.4525, allocations: 462.7 kB / 458.5 MB, free: 51.46 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4525, allocations: 0 / 458.5 MB, free: 51.46 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008542/0.4534, allocations: 227.2 kB / 458.7 MB, free: 51.44 MB / 382.1 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 46 * 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.0002907/0.4537, allocations: 132.4 kB / 458.8 MB, free: 51.34 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001833/0.4555, allocations: 0.9914 MB / 459.8 MB, free: 51.12 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.4555, allocations: 1.203 kB / 459.8 MB, free: 51.12 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000547/0.4561, allocations: 295.2 kB / 460.1 MB, free: 51.05 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001/0.4571, allocations: 176.5 kB / 460.3 MB, free: 51 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0022/0.4593, allocations: 1.754 MB / 462 MB, free: 49.99 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003459/0.4597, allocations: 0.9551 MB / 463 MB, free: 49.28 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004882/0.4602, allocations: 150.7 kB / 463.1 MB, free: 49.26 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001677/0.4604, allocations: 42.69 kB / 463.2 MB, free: 49.25 MB / 382.1 MB Notification: Performance of SimCode: time 3.41e-07/0.4604, allocations: 3.344 kB / 463.2 MB, free: 49.25 MB / 382.1 MB Notification: Performance of Templates: time 0.01278/0.4732, allocations: 7.777 MB / 471 MB, free: 48.78 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous_InitialOutput.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous_InitialOutput.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous_InitialOutput.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous_InitialOutput.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous_InitialOutput.sim & ./ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous_InitialOutput -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous_InitialOutput.pipe 2>&1)