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.007007/0.007007, allocations: 101.3 kB / 15.73 MB, free: 6.02 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.001369/0.001369, allocations: 197.8 kB / 16.68 MB, free: 5.938 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.607/1.607, allocations: 205.1 MB / 222.6 MB, free: 4.316 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.3425/0.3425, allocations: 37.99 MB / 307.9 MB, free: 10.48 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.001519/0.001519, allocations: 72.52 kB / 433 MB, free: 5.406 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4118/0.4134, allocations: 56.46 MB / 489.5 MB, free: 19.89 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous_InitialOutput): time 0.004861/0.4183, allocations: 3.38 MB / 492.8 MB, free: 17.48 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003853/0.4222, allocations: 1.587 MB / 494.4 MB, free: 16.38 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005251/0.4228, allocations: 28.12 kB / 494.5 MB, free: 16.36 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006541/0.4234, allocations: 148.7 kB / 494.6 MB, free: 16.27 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000561/0.424, allocations: 197 kB / 494.8 MB, free: 16.14 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/package.mo:1555:3-1615:27:writable] Warning: Pure function 'Modelica.Math.Matrices.equalityLeastSquares' contains a call to impure function 'Modelica.Math.Matrices.LAPACK.dgglse_vec'. Notification: Performance of NFTyping.typeClassSections: time 0.001644/0.4256, allocations: 0.5268 MB / 495.3 MB, free: 15.87 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001321/0.427, allocations: 0.9572 MB / 496.3 MB, free: 15.43 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004274/0.4274, allocations: 235 kB / 496.5 MB, free: 15.3 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005615/0.428, allocations: 382.8 kB / 496.9 MB, free: 15.12 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006171/0.4286, allocations: 407.7 kB / 497.3 MB, free: 14.93 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001262/0.4287, allocations: 62.44 kB / 497.3 MB, free: 14.93 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003716/0.4291, allocations: 177.7 kB / 497.5 MB, free: 14.9 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002703/0.4294, allocations: 200.9 kB / 497.7 MB, free: 14.79 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003507/0.4298, allocations: 344 kB / 498 MB, free: 14.54 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001358/0.4311, allocations: 0.9155 MB / 499 MB, free: 14.16 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.698e-06/0.4311, allocations: 4 kB / 499 MB, free: 14.15 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.4311, allocations: 0 / 499 MB, free: 14.15 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.127e-05/0.4312, allocations: 0 / 499 MB, free: 14.15 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.002456/0.4336, allocations: 1.169 MB / 0.4884 GB, free: 13.38 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/0.4337, allocations: 13.11 kB / 0.4884 GB, free: 13.37 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000168/0.4339, allocations: 93.56 kB / 0.4885 GB, free: 13.32 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001045/0.4349, allocations: 0.5847 MB / 0.4891 GB, free: 12.93 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.373e-05/0.435, allocations: 38.09 kB / 0.4891 GB, free: 12.91 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001396/0.4351, allocations: 65.05 kB / 0.4892 GB, free: 12.89 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001369/0.4365, allocations: 0.6098 MB / 0.4898 GB, free: 12.56 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.601e-05/0.4365, allocations: 2.562 kB / 0.4898 GB, free: 12.56 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.569e-05/0.4366, allocations: 16.41 kB / 0.4898 GB, free: 12.55 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.333e-05/0.4366, allocations: 12.47 kB / 0.4898 GB, free: 12.55 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001237/0.4379, allocations: 464.4 kB / 0.4903 GB, free: 12.41 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003603/0.4415, allocations: 2.65 MB / 0.4928 GB, free: 10.55 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00099/0.4425, allocations: 0.5015 MB / 0.4933 GB, free: 10.34 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005735/0.4431, allocations: 272.2 kB / 0.4936 GB, free: 10.23 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.19e-05/0.4432, allocations: 5.578 kB / 0.4936 GB, free: 10.23 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.442e-05/0.4432, allocations: 42.19 kB / 0.4936 GB, free: 10.19 MB / 382.1 MB Notification: Performance of pre-optimization done (n=45): time 2.154e-06/0.4432, allocations: 0 / 0.4936 GB, free: 10.19 MB / 382.1 MB Notification: Performance of matching and sorting (n=46): time 0.002782/0.446, allocations: 1.141 MB / 0.4947 GB, free: 9.672 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.159e-05/0.4461, allocations: 134.4 kB / 0.4949 GB, free: 9.516 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001188/0.4473, allocations: 0.6616 MB / 0.4955 GB, free: 9.238 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.825e-05/0.4473, allocations: 37.67 kB / 0.4956 GB, free: 9.199 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002977/0.4476, allocations: 357.4 kB / 0.4959 GB, free: 8.914 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001821/0.4478, allocations: 179.2 kB / 0.4961 GB, free: 8.773 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002336/0.4481, allocations: 119.6 kB / 0.4962 GB, free: 8.711 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001087/0.4482, allocations: 335.5 kB / 0.4965 GB, free: 8.391 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007238/0.4489, allocations: 287.7 kB / 0.4968 GB, free: 8.305 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008193/0.4497, allocations: 439.1 kB / 0.4972 GB, free: 8.039 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00132/0.4511, allocations: 0.7201 MB / 0.4979 GB, free: 7.586 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.4511, allocations: 1.375 kB / 0.4979 GB, free: 7.586 MB / 382.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001571/0.4527, allocations: 0.826 MB / 0.4987 GB, free: 7.188 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.474e-05/0.4527, allocations: 7 kB / 0.4987 GB, free: 7.188 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.469e-05/0.4527, allocations: 4.656 kB / 0.4987 GB, free: 7.188 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.668e-05/0.4527, allocations: 7.156 kB / 0.4987 GB, free: 7.188 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008743/0.4536, allocations: 200.1 kB / 0.4989 GB, free: 7.137 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.775e-05/0.4537, allocations: 11.42 kB / 0.4989 GB, free: 7.133 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005168/0.4542, allocations: 78.14 kB / 0.499 GB, free: 7.09 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.655e-05/0.4543, allocations: 26.98 kB / 0.499 GB, free: 7.082 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008219/0.4551, allocations: 422.7 kB / 0.4994 GB, free: 6.844 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006771/0.4558, allocations: 422.4 kB / 0.4998 GB, free: 6.535 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001155/0.4569, allocations: 0.6964 MB / 0.5005 GB, free: 6.09 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.547e-06/0.4569, allocations: 5.969 kB / 0.5005 GB, free: 6.086 MB / 382.1 MB Notification: Performance of matching and sorting (n=79) (initialization_lambda0): time 0.001566/0.4585, allocations: 0.7993 MB / 0.5013 GB, free: 5.699 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/0.4586, allocations: 6.781 kB / 0.5013 GB, free: 5.699 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.488e-06/0.4586, allocations: 9.734 kB / 0.5013 GB, free: 5.695 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.044e-05/0.4586, allocations: 11.67 kB / 0.5013 GB, free: 5.691 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008739/0.4595, allocations: 200.4 kB / 0.5015 GB, free: 5.637 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.436e-05/0.4595, allocations: 11 kB / 0.5015 GB, free: 5.633 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005058/0.46, allocations: 76.75 kB / 0.5016 GB, free: 5.59 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.683e-05/0.4601, allocations: 22.31 kB / 0.5016 GB, free: 5.586 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.0002181/0.4603, allocations: 222 kB / 0.5018 GB, free: 5.371 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001742/0.4605, allocations: 75.81 kB / 0.5019 GB, free: 5.332 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001917/0.4607, allocations: 93.16 kB / 0.502 GB, free: 5.258 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.554e-06/0.4607, allocations: 4.625 kB / 0.502 GB, free: 5.258 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.567e-05/0.4607, allocations: 4.938 kB / 0.502 GB, free: 5.254 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.4607, allocations: 5.141 kB / 0.502 GB, free: 5.25 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001996/0.4627, allocations: 1.266 MB / 0.5032 GB, free: 4.316 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.4627, allocations: 3.938 kB / 0.5033 GB, free: 4.312 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006069/0.4634, allocations: 106.4 kB / 0.5034 GB, free: 4.285 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.234e-06/0.4634, allocations: 6.812 kB / 0.5034 GB, free: 4.281 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.291e-05/0.4634, allocations: 14.88 kB / 0.5034 GB, free: 4.273 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.48e-06/0.4634, allocations: 6.688 kB / 0.5034 GB, free: 4.27 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.4634, allocations: 1.375 kB / 0.5034 GB, free: 4.27 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001925/0.4654, allocations: 1.164 MB / 0.5045 GB, free: 3.555 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002243/0.4656, allocations: 197.3 kB / 0.5047 GB, free: 3.375 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001022/0.4657, allocations: 18.58 kB / 0.5047 GB, free: 3.363 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005284/0.4663, allocations: 45.86 kB / 0.5048 GB, free: 3.344 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001368/0.4664, allocations: 46.31 kB / 0.5048 GB, free: 3.316 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.473e-05/0.4664, allocations: 12.91 kB / 0.5048 GB, free: 3.312 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007483/0.4672, allocations: 460.8 kB / 0.5053 GB, free: 3.059 MB / 382.1 MB Notification: Performance of sort global known variables: time 6.41e-07/0.4672, allocations: 1.719 kB / 0.5053 GB, free: 3.059 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001157/0.4684, allocations: 219.2 kB / 0.5055 GB, free: 3.031 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.000329/0.4687, allocations: 145.7 kB / 0.5056 GB, free: 2.906 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002207/0.4709, allocations: 0.9906 MB / 0.5066 GB, free: 2.492 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.4709, allocations: 0 / 0.5066 GB, free: 2.492 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006029/0.4715, allocations: 291.4 kB / 0.5069 GB, free: 2.371 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001091/0.4726, allocations: 201.5 kB / 0.507 GB, free: 2.262 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00272/0.4754, allocations: 1.503 MB / 0.5085 GB, free: 1.312 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000468/0.4759, allocations: 0.9545 MB / 0.5095 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000605/0.4765, allocations: 147.8 kB / 0.5096 GB, free: 444 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002234/0.4767, allocations: 50.2 kB / 0.5096 GB, free: 432 kB / 382.1 MB Notification: Performance of SimCode: time 9.12e-07/0.4767, allocations: 0 / 0.5096 GB, free: 432 kB / 382.1 MB Notification: Performance of Templates: time 0.0204/0.4971, allocations: 8.494 MB / 0.5179 GB, free: 9.824 MB / 398.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)