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.01253/0.01253, allocations: 100.6 kB / 15.73 MB, free: 6.035 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.00178/0.00178, allocations: 192.4 kB / 16.67 MB, free: 5.973 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.802/1.802, allocations: 205.1 MB / 222.5 MB, free: 4.477 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.4102/0.4102, allocations: 38 MB / 307.9 MB, free: 10.11 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.001503/0.001503, allocations: 71.91 kB / 433 MB, free: 5.414 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3641/0.3656, allocations: 56.46 MB / 489.5 MB, free: 19.98 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous_InitialState): time 0.004655/0.3703, allocations: 3.368 MB / 492.8 MB, free: 17.58 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003475/0.3738, allocations: 1.579 MB / 494.4 MB, free: 16.48 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005452/0.3744, allocations: 23.25 kB / 494.4 MB, free: 16.47 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005561/0.375, allocations: 145.5 kB / 494.6 MB, free: 16.38 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005585/0.3755, allocations: 194 kB / 494.8 MB, free: 16.25 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.001543/0.3771, allocations: 0.53 MB / 495.3 MB, free: 15.97 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001659/0.3788, allocations: 0.9236 MB / 496.2 MB, free: 15.54 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000487/0.3793, allocations: 239.3 kB / 496.4 MB, free: 15.41 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006822/0.38, allocations: 355.6 kB / 496.8 MB, free: 15.24 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006148/0.3806, allocations: 396.7 kB / 497.2 MB, free: 15.05 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001354/0.3808, allocations: 66.41 kB / 497.2 MB, free: 15.05 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001245/0.3809, allocations: 64.47 kB / 497.3 MB, free: 15.05 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002302/0.3811, allocations: 204.7 kB / 497.5 MB, free: 14.94 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002964/0.3814, allocations: 343.4 kB / 497.8 MB, free: 14.7 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009501/0.3824, allocations: 0.7864 MB / 498.6 MB, free: 14.33 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.3824, allocations: 5.031 kB / 498.6 MB, free: 14.33 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.3824, allocations: 0 / 498.6 MB, free: 14.33 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.209e-05/0.3824, allocations: 0 / 498.6 MB, free: 14.33 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.002852/0.3853, allocations: 1.157 MB / 499.8 MB, free: 13.56 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.743e-05/0.3854, allocations: 13.48 kB / 499.8 MB, free: 13.55 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003037/0.3857, allocations: 100.9 kB / 499.9 MB, free: 13.5 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001185/0.3869, allocations: 0.5849 MB / 0.4888 GB, free: 13.11 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.078e-05/0.3869, allocations: 37.66 kB / 0.4888 GB, free: 13.09 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001117/0.387, allocations: 55.5 kB / 0.4888 GB, free: 13.07 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001379/0.3884, allocations: 0.6122 MB / 0.4894 GB, free: 12.74 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.645e-05/0.3885, allocations: 5.031 kB / 0.4894 GB, free: 12.74 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.123e-05/0.3885, allocations: 21.31 kB / 0.4895 GB, free: 12.72 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.776e-05/0.3885, allocations: 12.28 kB / 0.4895 GB, free: 12.72 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001137/0.3897, allocations: 464.4 kB / 0.4899 GB, free: 12.59 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003783/0.3935, allocations: 2.661 MB / 0.4925 GB, free: 10.73 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001218/0.3947, allocations: 0.541 MB / 0.493 GB, free: 10.5 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006167/0.3954, allocations: 259.6 kB / 0.4933 GB, free: 10.4 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.764e-05/0.3954, allocations: 4.406 kB / 0.4933 GB, free: 10.4 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.16e-05/0.3954, allocations: 41.81 kB / 0.4933 GB, free: 10.35 MB / 382.1 MB Notification: Performance of pre-optimization done (n=43): time 3.617e-06/0.3955, allocations: 3.984 kB / 0.4933 GB, free: 10.35 MB / 382.1 MB Notification: Performance of matching and sorting (n=44): time 0.002851/0.3983, allocations: 1.128 MB / 0.4944 GB, free: 9.832 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.353e-05/0.3984, allocations: 138.9 kB / 0.4946 GB, free: 9.672 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009182/0.3993, allocations: 0.6536 MB / 0.4952 GB, free: 9.402 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.315e-05/0.3994, allocations: 36.08 kB / 0.4953 GB, free: 9.363 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002393/0.3996, allocations: 367 kB / 0.4956 GB, free: 9.066 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001456/0.3998, allocations: 170.3 kB / 0.4958 GB, free: 8.934 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002268/0.4, allocations: 116.5 kB / 0.4959 GB, free: 8.871 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.163e-05/0.4001, allocations: 332.7 kB / 0.4962 GB, free: 8.555 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007186/0.4008, allocations: 273.2 kB / 0.4965 GB, free: 8.473 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009351/0.4018, allocations: 431.3 kB / 0.4969 GB, free: 8.203 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001606/0.4034, allocations: 0.6742 MB / 0.4975 GB, free: 7.836 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.4034, allocations: 1.156 kB / 0.4975 GB, free: 7.836 MB / 382.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001849/0.4052, allocations: 0.7938 MB / 0.4983 GB, free: 7.477 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.756e-05/0.4053, allocations: 6.875 kB / 0.4983 GB, free: 7.477 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.471e-05/0.4053, allocations: 5.531 kB / 0.4983 GB, free: 7.477 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.85e-05/0.4053, allocations: 7.062 kB / 0.4983 GB, free: 7.477 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006802/0.406, allocations: 151.5 kB / 0.4985 GB, free: 7.438 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.117e-05/0.4061, allocations: 12.09 kB / 0.4985 GB, free: 7.434 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000518/0.4066, allocations: 85.06 kB / 0.4986 GB, free: 7.383 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.1e-05/0.4066, allocations: 22.66 kB / 0.4986 GB, free: 7.379 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007578/0.4074, allocations: 416.9 kB / 0.499 GB, free: 7.137 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006824/0.4081, allocations: 413 kB / 0.4994 GB, free: 6.828 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00116/0.4093, allocations: 0.6611 MB / 0.5 GB, free: 6.391 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.297e-06/0.4093, allocations: 1.25 kB / 0.5 GB, free: 6.391 MB / 382.1 MB Notification: Performance of matching and sorting (n=77) (initialization_lambda0): time 0.001542/0.4108, allocations: 0.7646 MB / 0.5008 GB, free: 6.02 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.4109, allocations: 9.031 kB / 0.5008 GB, free: 6.02 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.4109, allocations: 4.281 kB / 0.5008 GB, free: 6.02 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.4109, allocations: 8.219 kB / 0.5008 GB, free: 6.02 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006214/0.4115, allocations: 152.1 kB / 0.5009 GB, free: 5.977 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.507e-05/0.4115, allocations: 16.27 kB / 0.5009 GB, free: 5.969 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005162/0.4121, allocations: 67.14 kB / 0.501 GB, free: 5.934 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.773e-05/0.4121, allocations: 27.38 kB / 0.501 GB, free: 5.926 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.0001982/0.4123, allocations: 228.7 kB / 0.5013 GB, free: 5.703 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001418/0.4125, allocations: 75.41 kB / 0.5013 GB, free: 5.664 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002027/0.4127, allocations: 88.52 kB / 0.5014 GB, free: 5.598 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.007e-06/0.4127, allocations: 8.5 kB / 0.5014 GB, free: 5.594 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.015e-05/0.4127, allocations: 1.375 kB / 0.5014 GB, free: 5.594 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.015e-06/0.4127, allocations: 9.016 kB / 0.5014 GB, free: 5.586 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001307/0.414, allocations: 0.8494 MB / 0.5023 GB, free: 4.902 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.4141, allocations: 0 / 0.5023 GB, free: 4.902 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006129/0.4147, allocations: 110.9 kB / 0.5024 GB, free: 4.867 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.37e-06/0.4147, allocations: 3.281 kB / 0.5024 GB, free: 4.867 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.496e-05/0.4147, allocations: 16.98 kB / 0.5024 GB, free: 4.855 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.686e-06/0.4147, allocations: 2.5 kB / 0.5024 GB, free: 4.855 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.4148, allocations: 1.125 kB / 0.5024 GB, free: 4.855 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002008/0.4168, allocations: 1.132 MB / 0.5035 GB, free: 4.172 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000268/0.417, allocations: 192.3 kB / 0.5037 GB, free: 3.996 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.406e-05/0.4171, allocations: 18.2 kB / 0.5037 GB, free: 3.984 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005226/0.4177, allocations: 54.06 kB / 0.5037 GB, free: 3.957 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000133/0.4178, allocations: 36.08 kB / 0.5038 GB, free: 3.938 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.54e-05/0.4179, allocations: 12.12 kB / 0.5038 GB, free: 3.934 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007506/0.4186, allocations: 465.3 kB / 0.5042 GB, free: 3.676 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4186, allocations: 0 / 0.5042 GB, free: 3.676 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001051/0.4197, allocations: 198 kB / 0.5044 GB, free: 3.648 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.0001565/0.4199, allocations: 112.7 kB / 0.5045 GB, free: 3.547 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002191/0.422, allocations: 0.9658 MB / 0.5055 GB, free: 3.133 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.4221, allocations: 0 / 0.5055 GB, free: 3.133 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006037/0.4227, allocations: 285.9 kB / 0.5057 GB, free: 3.012 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001083/0.4238, allocations: 198.7 kB / 0.5059 GB, free: 2.902 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002725/0.4265, allocations: 1.491 MB / 0.5074 GB, free: 1.98 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004634/0.427, allocations: 0.9487 MB / 0.5083 GB, free: 1.172 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005073/0.4275, allocations: 149.5 kB / 0.5085 GB, free: 1.105 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001785/0.4277, allocations: 43.88 kB / 0.5085 GB, free: 1.098 MB / 382.1 MB Notification: Performance of SimCode: time 8.91e-07/0.4277, allocations: 0 / 0.5085 GB, free: 1.098 MB / 382.1 MB Notification: Performance of Templates: time 0.01561/0.4433, allocations: 7.566 MB / 0.5159 GB, free: 11.95 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)