Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_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.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 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.2_ModelicaTest.Blocks.Continuous_InitialState") translateModel(ModelicaTest.Blocks.Continuous_InitialState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.00971/0.00971, allocations: 101.3 kB / 15.73 MB, free: 6.422 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.001845/0.001845, allocations: 188.8 kB / 16.67 MB, free: 6.352 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.521/1.521, allocations: 205.1 MB / 222.5 MB, free: 4.543 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3222/0.3222, allocations: 39.95 MB / 309.8 MB, free: 9.219 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.2. 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.001442/0.001442, allocations: 75.88 kB / 435.8 MB, free: 2.453 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3995/0.4009, allocations: 56.87 MB / 492.7 MB, free: 19.52 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous_InitialState): time 0.006435/0.4074, allocations: 3.384 MB / 496 MB, free: 17.11 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004342/0.4118, allocations: 1.583 MB / 497.6 MB, free: 16.01 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007174/0.4126, allocations: 23.44 kB / 497.6 MB, free: 16 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006246/0.4133, allocations: 146.2 kB / 497.8 MB, free: 15.91 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005312/0.4138, allocations: 196.7 kB / 498 MB, free: 15.78 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.001559/0.4154, allocations: 0.5151 MB / 498.5 MB, free: 15.52 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001198/0.4166, allocations: 0.9234 MB / 499.4 MB, free: 15.09 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004574/0.417, allocations: 243.8 kB / 499.7 MB, free: 14.95 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000518/0.4176, allocations: 354.8 kB / 0.4883 GB, free: 14.78 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005759/0.4182, allocations: 397.2 kB / 0.4887 GB, free: 14.59 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001261/0.4183, allocations: 61.44 kB / 0.4887 GB, free: 14.59 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001275/0.4184, allocations: 68.53 kB / 0.4888 GB, free: 14.59 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000299/0.4187, allocations: 206.3 kB / 0.489 GB, free: 14.48 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000334/0.4191, allocations: 344.1 kB / 0.4893 GB, free: 14.23 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0013/0.4204, allocations: 0.7857 MB / 0.4901 GB, free: 13.87 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.187e-05/0.4204, allocations: 0 / 0.4901 GB, free: 13.87 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.879e-06/0.4204, allocations: 0 / 0.4901 GB, free: 13.87 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.823e-05/0.4205, allocations: 1.156 kB / 0.4901 GB, free: 13.87 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.003492/0.424, allocations: 1.165 MB / 0.4912 GB, free: 13.09 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.945e-05/0.424, allocations: 13.48 kB / 0.4912 GB, free: 13.09 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001718/0.4242, allocations: 87.91 kB / 0.4913 GB, free: 13.05 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001161/0.4254, allocations: 0.5971 MB / 0.4919 GB, free: 12.64 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.573e-05/0.4254, allocations: 37.94 kB / 0.4919 GB, free: 12.62 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001168/0.4255, allocations: 58.69 kB / 0.492 GB, free: 12.6 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0013/0.4269, allocations: 0.6153 MB / 0.4926 GB, free: 12.28 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.494e-05/0.4269, allocations: 1.719 kB / 0.4926 GB, free: 12.28 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.588e-05/0.427, allocations: 16.56 kB / 0.4926 GB, free: 12.27 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.869e-05/0.427, allocations: 11.44 kB / 0.4926 GB, free: 12.27 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00117/0.4282, allocations: 469.2 kB / 0.4931 GB, free: 12.12 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003809/0.432, allocations: 2.651 MB / 0.4957 GB, free: 9.926 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001143/0.4331, allocations: 0.5437 MB / 0.4962 GB, free: 9.625 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005676/0.4337, allocations: 254.8 kB / 0.4964 GB, free: 9.492 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.154e-05/0.4338, allocations: 4.125 kB / 0.4964 GB, free: 9.492 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.014e-05/0.4338, allocations: 41.69 kB / 0.4965 GB, free: 9.445 MB / 382.1 MB Notification: Performance of pre-optimization done (n=43): time 3.546e-06/0.4338, allocations: 4 kB / 0.4965 GB, free: 9.441 MB / 382.1 MB Notification: Performance of matching and sorting (n=44): time 0.002843/0.4367, allocations: 1.118 MB / 0.4976 GB, free: 8.816 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.602e-05/0.4368, allocations: 141.5 kB / 0.4977 GB, free: 8.652 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009836/0.4378, allocations: 0.659 MB / 0.4983 GB, free: 8.273 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.472e-05/0.4378, allocations: 36.11 kB / 0.4984 GB, free: 8.234 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002554/0.4381, allocations: 358.6 kB / 0.4987 GB, free: 7.918 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001687/0.4382, allocations: 181.3 kB / 0.4989 GB, free: 7.758 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002261/0.4385, allocations: 110.1 kB / 0.499 GB, free: 7.691 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001149/0.4386, allocations: 332.4 kB / 0.4993 GB, free: 7.367 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007033/0.4393, allocations: 271.6 kB / 0.4996 GB, free: 7.242 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000764/0.4401, allocations: 432.5 kB / 0.5 GB, free: 6.918 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001337/0.4414, allocations: 0.6821 MB / 0.5007 GB, free: 6.473 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.389e-06/0.4415, allocations: 1.25 kB / 0.5007 GB, free: 6.473 MB / 382.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001734/0.4432, allocations: 0.7948 MB / 0.5014 GB, free: 6.086 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.89e-05/0.4432, allocations: 6.594 kB / 0.5014 GB, free: 6.086 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.472e-05/0.4433, allocations: 8.344 kB / 0.5014 GB, free: 6.082 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.138e-05/0.4433, allocations: 11.62 kB / 0.5015 GB, free: 6.078 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007429/0.444, allocations: 151.5 kB / 0.5016 GB, free: 6.039 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.04e-05/0.4441, allocations: 12.47 kB / 0.5016 GB, free: 6.035 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005808/0.4447, allocations: 81.27 kB / 0.5017 GB, free: 5.988 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.748e-05/0.4447, allocations: 22.47 kB / 0.5017 GB, free: 5.984 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008383/0.4456, allocations: 413.7 kB / 0.5021 GB, free: 5.746 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006649/0.4462, allocations: 416.5 kB / 0.5025 GB, free: 5.43 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0012/0.4475, allocations: 0.6535 MB / 0.5031 GB, free: 5 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.286e-06/0.4475, allocations: 1.469 kB / 0.5031 GB, free: 5 MB / 382.1 MB Notification: Performance of matching and sorting (n=77) (initialization_lambda0): time 0.001595/0.4491, allocations: 0.7787 MB / 0.5039 GB, free: 4.613 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.113e-05/0.4491, allocations: 9.344 kB / 0.5039 GB, free: 4.613 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.4491, allocations: 4.156 kB / 0.5039 GB, free: 4.613 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/0.4491, allocations: 11.06 kB / 0.5039 GB, free: 4.609 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006415/0.4498, allocations: 145.7 kB / 0.5041 GB, free: 4.574 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.235e-05/0.4498, allocations: 11 kB / 0.5041 GB, free: 4.57 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005412/0.4503, allocations: 72.59 kB / 0.5041 GB, free: 4.531 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.818e-05/0.4504, allocations: 26.03 kB / 0.5042 GB, free: 4.523 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.0002245/0.4506, allocations: 213.7 kB / 0.5044 GB, free: 4.316 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001796/0.4508, allocations: 83.34 kB / 0.5045 GB, free: 4.27 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002336/0.4511, allocations: 92 kB / 0.5045 GB, free: 4.199 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.658e-06/0.4511, allocations: 5.562 kB / 0.5045 GB, free: 4.199 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.468e-05/0.4511, allocations: 1.094 kB / 0.5046 GB, free: 4.199 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.957e-06/0.4511, allocations: 1.156 kB / 0.5046 GB, free: 4.199 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001474/0.4526, allocations: 0.8568 MB / 0.5054 GB, free: 3.508 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.4526, allocations: 0 / 0.5054 GB, free: 3.508 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006556/0.4533, allocations: 107.9 kB / 0.5055 GB, free: 3.477 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.364e-06/0.4533, allocations: 2.156 kB / 0.5055 GB, free: 3.477 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.916e-05/0.4533, allocations: 17.39 kB / 0.5055 GB, free: 3.465 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.981e-06/0.4533, allocations: 2.719 kB / 0.5055 GB, free: 3.465 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.4534, allocations: 9.281 kB / 0.5055 GB, free: 3.457 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002198/0.4556, allocations: 1.131 MB / 0.5066 GB, free: 2.77 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002446/0.4558, allocations: 192 kB / 0.5068 GB, free: 2.594 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.93e-05/0.4559, allocations: 14 kB / 0.5068 GB, free: 2.586 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000526/0.4564, allocations: 54.16 kB / 0.5069 GB, free: 2.559 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001276/0.4566, allocations: 40.38 kB / 0.5069 GB, free: 2.535 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.18e-05/0.4566, allocations: 12.91 kB / 0.5069 GB, free: 2.531 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006682/0.4573, allocations: 460.1 kB / 0.5074 GB, free: 2.277 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4573, allocations: 1.844 kB / 0.5074 GB, free: 2.277 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009062/0.4582, allocations: 192.4 kB / 0.5075 GB, free: 2.254 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.0001477/0.4584, allocations: 124.9 kB / 0.5077 GB, free: 2.141 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00251/0.4609, allocations: 0.9545 MB / 0.5086 GB, free: 1.738 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.898e-06/0.4609, allocations: 0 / 0.5086 GB, free: 1.738 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006526/0.4616, allocations: 296.5 kB / 0.5089 GB, free: 1.605 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001204/0.4628, allocations: 203 kB / 0.5091 GB, free: 1.492 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00283/0.4656, allocations: 1.482 MB / 0.5105 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005447/0.4662, allocations: 0.9505 MB / 0.5115 GB, free: 15.76 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005778/0.4668, allocations: 147.8 kB / 0.5116 GB, free: 15.7 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001872/0.467, allocations: 48.39 kB / 0.5116 GB, free: 15.69 MB / 398.1 MB Notification: Performance of SimCode: time 5.71e-07/0.467, allocations: 0 / 0.5116 GB, free: 15.69 MB / 398.1 MB Notification: Performance of Templates: time 0.01499/0.482, allocations: 7.564 MB / 0.519 GB, free: 8.762 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous_InitialState.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous_InitialState.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous_InitialState.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous_InitialState.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous_InitialState.sim & ./ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous_InitialState -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous_InitialState.pipe 2>&1)