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.007561/0.007561, allocations: 101.5 kB / 15.73 MB, free: 6.016 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.002438/0.002438, allocations: 198.4 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.751/1.751, allocations: 205.1 MB / 222.5 MB, free: 4.5 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.4012/0.4012, allocations: 38 MB / 307.9 MB, free: 10.05 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.001979/0.001979, allocations: 75.91 kB / 433 MB, free: 5.406 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4277/0.4297, allocations: 56.45 MB / 489.5 MB, free: 20.19 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous_InitialState): time 0.006678/0.4365, allocations: 3.365 MB / 492.8 MB, free: 17.79 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003998/0.4405, allocations: 1.586 MB / 494.4 MB, free: 16.68 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005283/0.4411, allocations: 22.91 kB / 494.4 MB, free: 16.68 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006345/0.4417, allocations: 146 kB / 494.6 MB, free: 16.58 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005178/0.4423, allocations: 193.8 kB / 494.8 MB, free: 16.46 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.001424/0.4437, allocations: 0.5303 MB / 495.3 MB, free: 16.18 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001247/0.4449, allocations: 0.9237 MB / 496.2 MB, free: 15.75 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004434/0.4454, allocations: 235.2 kB / 496.4 MB, free: 15.62 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005733/0.446, allocations: 371.1 kB / 496.8 MB, free: 15.45 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005978/0.4466, allocations: 401 kB / 497.2 MB, free: 15.25 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001324/0.4467, allocations: 62.56 kB / 497.3 MB, free: 15.25 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001328/0.4469, allocations: 68.44 kB / 497.3 MB, free: 15.25 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002482/0.4471, allocations: 197.3 kB / 497.5 MB, free: 15.14 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003386/0.4475, allocations: 351.7 kB / 497.9 MB, free: 14.89 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001085/0.4486, allocations: 0.7829 MB / 498.6 MB, free: 14.54 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.4486, allocations: 0 / 498.6 MB, free: 14.54 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.4486, allocations: 0 / 498.6 MB, free: 14.54 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.236e-05/0.4486, allocations: 1.375 kB / 498.6 MB, free: 14.54 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.00252/0.4511, allocations: 1.168 MB / 499.8 MB, free: 13.75 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.679e-05/0.4512, allocations: 14.02 kB / 499.8 MB, free: 13.75 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001505/0.4513, allocations: 91.94 kB / 499.9 MB, free: 13.7 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009919/0.4523, allocations: 0.5801 MB / 0.4888 GB, free: 13.31 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.267e-05/0.4524, allocations: 39.36 kB / 0.4888 GB, free: 13.3 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001078/0.4525, allocations: 60.14 kB / 0.4889 GB, free: 13.27 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001159/0.4537, allocations: 0.6107 MB / 0.4895 GB, free: 12.95 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.504e-05/0.4537, allocations: 1.938 kB / 0.4895 GB, free: 12.95 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.276e-05/0.4538, allocations: 20.28 kB / 0.4895 GB, free: 12.93 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.877e-05/0.4538, allocations: 11.78 kB / 0.4895 GB, free: 12.93 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00114/0.4549, allocations: 465.5 kB / 0.4899 GB, free: 12.79 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00369/0.4586, allocations: 2.652 MB / 0.4925 GB, free: 10.94 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001213/0.4599, allocations: 0.5497 MB / 0.4931 GB, free: 10.71 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006126/0.4605, allocations: 255.9 kB / 0.4933 GB, free: 10.61 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.364e-05/0.4606, allocations: 7.938 kB / 0.4933 GB, free: 10.61 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.992e-05/0.4606, allocations: 39.22 kB / 0.4934 GB, free: 10.56 MB / 382.1 MB Notification: Performance of pre-optimization done (n=43): time 2.344e-06/0.4606, allocations: 0 / 0.4934 GB, free: 10.56 MB / 382.1 MB Notification: Performance of matching and sorting (n=44): time 0.002594/0.4632, allocations: 1.129 MB / 0.4945 GB, free: 10.04 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.398e-05/0.4633, allocations: 135.3 kB / 0.4946 GB, free: 9.887 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009865/0.4643, allocations: 0.6571 MB / 0.4952 GB, free: 9.613 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.277e-05/0.4643, allocations: 36.91 kB / 0.4953 GB, free: 9.574 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002577/0.4646, allocations: 366.7 kB / 0.4956 GB, free: 9.277 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001542/0.4648, allocations: 165.5 kB / 0.4958 GB, free: 9.148 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002017/0.465, allocations: 121.7 kB / 0.4959 GB, free: 9.082 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.383e-05/0.4651, allocations: 336.7 kB / 0.4962 GB, free: 8.762 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006547/0.4657, allocations: 268.4 kB / 0.4965 GB, free: 8.684 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007521/0.4665, allocations: 428 kB / 0.4969 GB, free: 8.418 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001356/0.4678, allocations: 0.684 MB / 0.4975 GB, free: 8.027 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.4679, allocations: 1.312 kB / 0.4975 GB, free: 8.027 MB / 382.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001605/0.4695, allocations: 0.7908 MB / 0.4983 GB, free: 7.645 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.448e-05/0.4695, allocations: 11.3 kB / 0.4983 GB, free: 7.641 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.14e-05/0.4695, allocations: 4.031 kB / 0.4983 GB, free: 7.641 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.66e-05/0.4696, allocations: 8.281 kB / 0.4983 GB, free: 7.641 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006695/0.4702, allocations: 147 kB / 0.4985 GB, free: 7.605 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.756e-05/0.4703, allocations: 15.55 kB / 0.4985 GB, free: 7.598 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004893/0.4707, allocations: 77.64 kB / 0.4986 GB, free: 7.555 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.046e-05/0.4708, allocations: 30.55 kB / 0.4986 GB, free: 7.543 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007493/0.4716, allocations: 408.7 kB / 0.499 GB, free: 7.309 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006192/0.4722, allocations: 417.2 kB / 0.4994 GB, free: 6.996 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001178/0.4734, allocations: 0.6613 MB / 0.5 GB, free: 6.559 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.236e-06/0.4734, allocations: 1.219 kB / 0.5 GB, free: 6.559 MB / 382.1 MB Notification: Performance of matching and sorting (n=77) (initialization_lambda0): time 0.001476/0.4749, allocations: 0.7644 MB / 0.5008 GB, free: 6.188 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.4749, allocations: 7.344 kB / 0.5008 GB, free: 6.188 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.852e-06/0.4749, allocations: 13.16 kB / 0.5008 GB, free: 6.18 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.4749, allocations: 7.438 kB / 0.5008 GB, free: 6.18 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006003/0.4755, allocations: 144.1 kB / 0.5009 GB, free: 6.145 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.332e-05/0.4756, allocations: 11.62 kB / 0.5009 GB, free: 6.141 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004752/0.476, allocations: 72.11 kB / 0.501 GB, free: 6.102 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.95e-05/0.4761, allocations: 35.17 kB / 0.5011 GB, free: 6.086 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.0001844/0.4763, allocations: 217 kB / 0.5013 GB, free: 5.875 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001807/0.4765, allocations: 75.34 kB / 0.5013 GB, free: 5.836 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001758/0.4767, allocations: 88.95 kB / 0.5014 GB, free: 5.77 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.756e-06/0.4767, allocations: 8.469 kB / 0.5014 GB, free: 5.766 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.494e-05/0.4767, allocations: 1.25 kB / 0.5014 GB, free: 5.766 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.506e-06/0.4767, allocations: 5.203 kB / 0.5014 GB, free: 5.762 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001354/0.4781, allocations: 0.8602 MB / 0.5023 GB, free: 5.066 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.4781, allocations: 1.219 kB / 0.5023 GB, free: 5.066 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006267/0.4787, allocations: 107.3 kB / 0.5024 GB, free: 5.035 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.579e-06/0.4787, allocations: 1.375 kB / 0.5024 GB, free: 5.035 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.611e-05/0.4788, allocations: 13.88 kB / 0.5024 GB, free: 5.027 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.531e-06/0.4788, allocations: 2.219 kB / 0.5024 GB, free: 5.027 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.4788, allocations: 1.156 kB / 0.5024 GB, free: 5.027 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001988/0.4808, allocations: 1.135 MB / 0.5035 GB, free: 4.34 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002434/0.481, allocations: 197.4 kB / 0.5037 GB, free: 4.16 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.305e-05/0.4811, allocations: 17.5 kB / 0.5037 GB, free: 4.148 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000502/0.4816, allocations: 46.06 kB / 0.5037 GB, free: 4.129 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000128/0.4818, allocations: 36.45 kB / 0.5038 GB, free: 4.109 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.376e-05/0.4818, allocations: 12.23 kB / 0.5038 GB, free: 4.105 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006182/0.4824, allocations: 464.9 kB / 0.5042 GB, free: 3.848 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4825, allocations: 5.188 kB / 0.5042 GB, free: 3.844 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008475/0.4833, allocations: 197.5 kB / 0.5044 GB, free: 3.816 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.0001288/0.4834, allocations: 112.1 kB / 0.5045 GB, free: 3.715 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00208/0.4855, allocations: 0.97 MB / 0.5055 GB, free: 3.297 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.4855, allocations: 0 / 0.5055 GB, free: 3.297 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006397/0.4862, allocations: 284.8 kB / 0.5058 GB, free: 3.176 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001156/0.4874, allocations: 195.5 kB / 0.5059 GB, free: 3.07 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002774/0.4901, allocations: 1.487 MB / 0.5074 GB, free: 2.152 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004478/0.4906, allocations: 0.9508 MB / 0.5083 GB, free: 1.34 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005431/0.4912, allocations: 147.6 kB / 0.5085 GB, free: 1.277 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001862/0.4913, allocations: 47.69 kB / 0.5085 GB, free: 1.266 MB / 382.1 MB Notification: Performance of SimCode: time 1.342e-06/0.4914, allocations: 0 / 0.5085 GB, free: 1.266 MB / 382.1 MB Notification: Performance of Templates: time 0.01832/0.5097, allocations: 7.752 MB / 0.5161 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)