Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous_InitialState.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_InitialState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous_InitialState") translateModel(ModelicaTest.Blocks.Continuous_InitialState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous_InitialState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008354/0.008354, allocations: 104.7 kB / 15.74 MB, free: 6.484 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.001397/0.001397, allocations: 193.5 kB / 16.67 MB, free: 6.375 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.535/1.535, allocations: 205.1 MB / 222.6 MB, free: 4.504 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.331/0.331, allocations: 37.99 MB / 307.9 MB, free: 10.16 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.001458/0.001458, allocations: 75.89 kB / 433 MB, free: 5.398 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3708/0.3722, allocations: 56.45 MB / 489.5 MB, free: 19.95 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous_InitialState): time 0.004949/0.3772, allocations: 3.378 MB / 492.8 MB, free: 17.53 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004043/0.3813, allocations: 1.579 MB / 494.4 MB, free: 16.43 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000733/0.3821, allocations: 22.88 kB / 494.4 MB, free: 16.42 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006403/0.3828, allocations: 150.6 kB / 494.6 MB, free: 16.32 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005892/0.3834, allocations: 200.1 kB / 494.8 MB, free: 16.2 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.001571/0.385, allocations: 0.5271 MB / 495.3 MB, free: 15.92 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001359/0.3863, allocations: 0.9229 MB / 496.2 MB, free: 15.5 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004241/0.3868, allocations: 234.5 kB / 496.5 MB, free: 15.37 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005678/0.3873, allocations: 376.8 kB / 496.8 MB, free: 15.19 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000552/0.3879, allocations: 396.6 kB / 497.2 MB, free: 15 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001208/0.388, allocations: 62.12 kB / 497.3 MB, free: 15 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001208/0.3882, allocations: 64.41 kB / 497.3 MB, free: 15 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000271/0.3884, allocations: 205.5 kB / 497.5 MB, free: 14.89 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003447/0.3888, allocations: 347.9 kB / 497.9 MB, free: 14.64 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001035/0.3898, allocations: 0.7857 MB / 498.7 MB, free: 14.28 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.3898, allocations: 0 / 498.7 MB, free: 14.28 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3899, allocations: 1.375 kB / 498.7 MB, free: 14.28 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.263e-05/0.3899, allocations: 0 / 498.7 MB, free: 14.28 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.00229/0.3922, allocations: 1.156 MB / 499.8 MB, free: 13.51 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.403e-05/0.3922, allocations: 15.31 kB / 499.8 MB, free: 13.5 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001474/0.3924, allocations: 91.88 kB / 499.9 MB, free: 13.46 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009736/0.3934, allocations: 0.5889 MB / 0.4888 GB, free: 13.06 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.572e-05/0.3934, allocations: 41.81 kB / 0.4888 GB, free: 13.04 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.539e-05/0.3935, allocations: 56.22 kB / 0.4889 GB, free: 13.02 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001088/0.3946, allocations: 0.6157 MB / 0.4895 GB, free: 12.69 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.504e-05/0.3946, allocations: 6.328 kB / 0.4895 GB, free: 12.68 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.893e-05/0.3947, allocations: 17.09 kB / 0.4895 GB, free: 12.67 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.814e-05/0.3947, allocations: 11.34 kB / 0.4895 GB, free: 12.67 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001092/0.3958, allocations: 463.9 kB / 0.4899 GB, free: 12.54 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003801/0.3996, allocations: 2.661 MB / 0.4925 GB, free: 10.68 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001206/0.4009, allocations: 0.5453 MB / 0.4931 GB, free: 10.45 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006786/0.4015, allocations: 251.6 kB / 0.4933 GB, free: 10.35 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.605e-05/0.4016, allocations: 4.844 kB / 0.4933 GB, free: 10.35 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.007e-05/0.4017, allocations: 41.5 kB / 0.4934 GB, free: 10.3 MB / 382.1 MB Notification: Performance of pre-optimization done (n=43): time 2.294e-06/0.4017, allocations: 1.188 kB / 0.4934 GB, free: 10.3 MB / 382.1 MB Notification: Performance of matching and sorting (n=44): time 0.002672/0.4044, allocations: 1.132 MB / 0.4945 GB, free: 9.785 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.893e-05/0.4044, allocations: 137.1 kB / 0.4946 GB, free: 9.625 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001011/0.4054, allocations: 0.659 MB / 0.4952 GB, free: 9.352 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.029e-05/0.4055, allocations: 35.98 kB / 0.4953 GB, free: 9.312 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002513/0.4058, allocations: 366.4 kB / 0.4956 GB, free: 9.016 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001356/0.4059, allocations: 170.4 kB / 0.4958 GB, free: 8.883 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001929/0.4061, allocations: 116.5 kB / 0.4959 GB, free: 8.82 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.321e-05/0.4062, allocations: 332.6 kB / 0.4962 GB, free: 8.504 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006238/0.4068, allocations: 274.3 kB / 0.4965 GB, free: 8.422 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007378/0.4076, allocations: 426.3 kB / 0.4969 GB, free: 8.156 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001381/0.4089, allocations: 0.6782 MB / 0.4976 GB, free: 7.785 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.948e-06/0.409, allocations: 1.125 kB / 0.4976 GB, free: 7.785 MB / 382.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001718/0.4107, allocations: 0.7962 MB / 0.4983 GB, free: 7.445 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.612e-05/0.4107, allocations: 6.062 kB / 0.4983 GB, free: 7.445 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.416e-05/0.4107, allocations: 4.25 kB / 0.4983 GB, free: 7.445 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.832e-05/0.4108, allocations: 8.844 kB / 0.4983 GB, free: 7.445 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000655/0.4114, allocations: 146.4 kB / 0.4985 GB, free: 7.41 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.514e-05/0.4115, allocations: 8.75 kB / 0.4985 GB, free: 7.41 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004874/0.412, allocations: 88.97 kB / 0.4986 GB, free: 7.355 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.179e-05/0.412, allocations: 27.16 kB / 0.4986 GB, free: 7.348 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007303/0.4128, allocations: 408.6 kB / 0.499 GB, free: 7.113 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006234/0.4134, allocations: 416.1 kB / 0.4994 GB, free: 6.801 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00111/0.4145, allocations: 0.6619 MB / 0.5 GB, free: 6.363 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.167e-06/0.4145, allocations: 1.156 kB / 0.5 GB, free: 6.363 MB / 382.1 MB Notification: Performance of matching and sorting (n=77) (initialization_lambda0): time 0.001441/0.416, allocations: 0.7688 MB / 0.5008 GB, free: 5.988 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.416, allocations: 6.469 kB / 0.5008 GB, free: 5.988 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.416, allocations: 4.219 kB / 0.5008 GB, free: 5.988 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.053e-05/0.416, allocations: 8.406 kB / 0.5008 GB, free: 5.988 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005708/0.4166, allocations: 144.5 kB / 0.5009 GB, free: 5.953 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.647e-05/0.4166, allocations: 15.75 kB / 0.501 GB, free: 5.945 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004915/0.4171, allocations: 76.62 kB / 0.501 GB, free: 5.902 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.655e-05/0.4172, allocations: 30 kB / 0.5011 GB, free: 5.891 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 (77): * Single equations (assignments): 77 * 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 prepare postOptimizeDAE: time 0.0001996/0.4174, allocations: 213.2 kB / 0.5013 GB, free: 5.684 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001427/0.4175, allocations: 79.08 kB / 0.5013 GB, free: 5.641 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001914/0.4177, allocations: 100.6 kB / 0.5014 GB, free: 5.562 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.808e-06/0.4178, allocations: 13.72 kB / 0.5015 GB, free: 5.555 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.325e-05/0.4178, allocations: 1.438 kB / 0.5015 GB, free: 5.555 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.4178, allocations: 3.984 kB / 0.5015 GB, free: 5.551 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001292/0.4191, allocations: 0.845 MB / 0.5023 GB, free: 4.871 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.4191, allocations: 1.031 kB / 0.5023 GB, free: 4.871 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006224/0.4197, allocations: 111.5 kB / 0.5024 GB, free: 4.836 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.919e-06/0.4197, allocations: 2 kB / 0.5024 GB, free: 4.836 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.556e-05/0.4198, allocations: 17.55 kB / 0.5024 GB, free: 4.824 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.32e-06/0.4198, allocations: 6.688 kB / 0.5024 GB, free: 4.82 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.4198, allocations: 1.375 kB / 0.5024 GB, free: 4.82 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001957/0.4218, allocations: 1.13 MB / 0.5035 GB, free: 4.137 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002226/0.422, allocations: 192.6 kB / 0.5037 GB, free: 3.961 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.671e-05/0.4221, allocations: 17.2 kB / 0.5037 GB, free: 3.949 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004994/0.4226, allocations: 51.02 kB / 0.5038 GB, free: 3.926 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000127/0.4227, allocations: 36.72 kB / 0.5038 GB, free: 3.906 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.281e-05/0.4228, allocations: 12.22 kB / 0.5038 GB, free: 3.902 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000657/0.4234, allocations: 465.4 kB / 0.5043 GB, free: 3.645 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.002e-06/0.4235, allocations: 0 / 0.5043 GB, free: 3.645 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008744/0.4243, allocations: 197.3 kB / 0.5044 GB, free: 3.617 MB / 382.1 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 (44): * Single equations (assignments): 44 * 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.0001294/0.4245, allocations: 117.5 kB / 0.5046 GB, free: 3.512 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002141/0.4266, allocations: 0.9611 MB / 0.5055 GB, free: 3.102 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.4266, allocations: 0 / 0.5055 GB, free: 3.102 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005814/0.4272, allocations: 285.5 kB / 0.5058 GB, free: 2.98 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001011/0.4282, allocations: 200.3 kB / 0.506 GB, free: 2.871 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002483/0.4307, allocations: 1.486 MB / 0.5074 GB, free: 1.953 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004098/0.4312, allocations: 0.951 MB / 0.5083 GB, free: 1.141 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004959/0.4317, allocations: 147.2 kB / 0.5085 GB, free: 1.078 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001812/0.4319, allocations: 48.33 kB / 0.5085 GB, free: 1.066 MB / 382.1 MB Notification: Performance of SimCode: time 1.152e-06/0.4319, allocations: 0 / 0.5085 GB, free: 1.066 MB / 382.1 MB Notification: Performance of Templates: time 0.01693/0.4488, allocations: 7.563 MB / 0.5159 GB, free: 11.91 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous_InitialState.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous_InitialState.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous_InitialState.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous_InitialState.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous_InitialState.sim & ./ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous_InitialState -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous_InitialState.pipe 2>&1)