Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Blocks.UnitDeduction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+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 ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.Blocks.UnitDeduction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Blocks.UnitDeduction") translateModel(ModelicaTest.Blocks.UnitDeduction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Blocks.UnitDeduction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002089/0.002089, allocations: 169.8 kB / 12.72 MB, free: 2.594 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.263/1.263, allocations: 170.6 MB / 183.8 MB, free: 11.42 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001576/0.001576, allocations: 107.5 kB / 223.2 MB, free: 4.043 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.1582/0.1582, allocations: 37.99 MB / 300.4 MB, free: 5.344 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.248e-05/2.25e-05, allocations: 0 / 357 MB, free: 32.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07437/0.07441, allocations: 48.7 MB / 405.7 MB, free: 15.65 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3313/0.4058, allocations: 82.35 MB / 488 MB, free: 18.46 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000191/0.406, allocations: 68.36 kB / 488.1 MB, free: 18.46 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03692/0.443, allocations: 14.17 MB / 0.4905 GB, free: 15.6 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.443, allocations: 0 / 0.4905 GB, free: 15.6 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.127e-05/0.4431, allocations: 15.5 kB / 0.4905 GB, free: 15.6 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.001301/0.4444, allocations: 0.8296 MB / 0.4913 GB, free: 14.98 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.629e-05/0.4444, allocations: 7.656 kB / 0.4913 GB, free: 14.98 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001382/0.4446, allocations: 85.48 kB / 0.4914 GB, free: 14.94 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007529/0.4453, allocations: 488 kB / 0.4919 GB, free: 14.61 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.934e-05/0.4454, allocations: 34.81 kB / 0.4919 GB, free: 14.61 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.818e-05/0.4455, allocations: 59.59 kB / 0.492 GB, free: 14.6 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000677/0.4461, allocations: 458.9 kB / 0.4924 GB, free: 14.47 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.865e-05/0.4462, allocations: 3.984 kB / 0.4924 GB, free: 14.47 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.448e-05/0.4462, allocations: 22.41 kB / 0.4924 GB, free: 14.46 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.239e-05/0.4462, allocations: 11.75 kB / 0.4925 GB, free: 14.46 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004378/0.4467, allocations: 288.6 kB / 0.4927 GB, free: 14.45 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002869/0.4496, allocations: 1.778 MB / 0.4945 GB, free: 13.49 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005436/0.4501, allocations: 358.4 kB / 0.4948 GB, free: 13.41 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001823/0.4503, allocations: 143.6 kB / 0.4949 GB, free: 13.39 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.674e-05/0.4504, allocations: 3.844 kB / 0.4949 GB, free: 13.39 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.024e-05/0.4504, allocations: 42.06 kB / 0.495 GB, free: 13.35 MB / 330.7 MB Notification: Performance of pre-optimization done (n=38): time 2.064e-06/0.4504, allocations: 0 / 0.495 GB, free: 13.35 MB / 330.7 MB Notification: Performance of matching and sorting (n=38): time 0.0005684/0.451, allocations: 332.8 kB / 0.4953 GB, free: 13.27 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.34e-05/0.451, allocations: 132.4 kB / 0.4954 GB, free: 13.11 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003504/0.4514, allocations: 400.2 kB / 0.4958 GB, free: 12.95 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.105e-05/0.4514, allocations: 36.61 kB / 0.4958 GB, free: 12.92 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00014/0.4516, allocations: 309.3 kB / 0.4961 GB, free: 12.75 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000131/0.4517, allocations: 156.7 kB / 0.4963 GB, free: 12.64 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.947e-05/0.4518, allocations: 10.56 kB / 0.4963 GB, free: 12.64 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.268e-05/0.4518, allocations: 366.8 kB / 0.4966 GB, free: 12.3 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001957/0.452, allocations: 132.2 kB / 0.4968 GB, free: 12.3 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002487/0.4523, allocations: 260.3 kB / 0.497 GB, free: 12.14 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002286/0.4525, allocations: 172.8 kB / 0.4972 GB, free: 12.11 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.786e-06/0.4526, allocations: 0 / 0.4972 GB, free: 12.11 MB / 330.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.000615/0.4532, allocations: 489.1 kB / 0.4977 GB, free: 11.99 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.089e-05/0.4532, allocations: 4.375 kB / 0.4977 GB, free: 11.99 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.4532, allocations: 7.719 kB / 0.4977 GB, free: 11.98 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.478e-05/0.4532, allocations: 7.812 kB / 0.4977 GB, free: 11.98 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004516/0.4537, allocations: 124 kB / 0.4978 GB, free: 11.96 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.483e-05/0.4537, allocations: 15.62 kB / 0.4978 GB, free: 11.95 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003607/0.4541, allocations: 66.44 kB / 0.4979 GB, free: 11.92 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.021e-05/0.4541, allocations: 19.22 kB / 0.4979 GB, free: 11.92 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.384e-05/0.4542, allocations: 135.2 kB / 0.498 GB, free: 11.8 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.18e-05/0.4543, allocations: 58.36 kB / 0.4981 GB, free: 11.77 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001191/0.4545, allocations: 66.55 kB / 0.4981 GB, free: 11.75 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/0.4545, allocations: 3.75 kB / 0.4981 GB, free: 11.75 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/0.4545, allocations: 0 / 0.4981 GB, free: 11.75 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.4545, allocations: 0 / 0.4981 GB, free: 11.75 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006506/0.4552, allocations: 0.5444 MB / 0.4987 GB, free: 11.43 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.4552, allocations: 0 / 0.4987 GB, free: 11.43 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004589/0.4556, allocations: 88.92 kB / 0.4988 GB, free: 11.42 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/0.4557, allocations: 0 / 0.4988 GB, free: 11.42 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.02e-05/0.4557, allocations: 15.5 kB / 0.4988 GB, free: 11.41 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.548e-06/0.4558, allocations: 3.875 kB / 0.4988 GB, free: 11.41 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.4558, allocations: 0 / 0.4988 GB, free: 11.41 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007632/0.4565, allocations: 0.6879 MB / 0.4994 GB, free: 11.11 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001711/0.4567, allocations: 169.7 kB / 0.4996 GB, free: 10.96 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.254e-05/0.4568, allocations: 7.438 kB / 0.4996 GB, free: 10.96 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003691/0.4572, allocations: 42.34 kB / 0.4997 GB, free: 10.95 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001102/0.4573, allocations: 35.02 kB / 0.4997 GB, free: 10.93 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.158e-05/0.4573, allocations: 7.75 kB / 0.4997 GB, free: 10.93 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003205/0.4576, allocations: 308.2 kB / 0.5 GB, free: 10.82 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4577, allocations: 0 / 0.5 GB, free: 10.82 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000486/0.4581, allocations: 122.4 kB / 0.5001 GB, free: 10.81 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 16 (integrator.y,inertia.phi,inertia.w,limIntegrator.y,derivative.x,firstOrder.y,secondOrder.y,secondOrder.yd,PI.x,PID.I.y,PID.D.x,PID1.I.y,PID1.D.x,Wsec.y,Vsec.y,Asec.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001563/0.4583, allocations: 119.8 kB / 0.5002 GB, free: 10.71 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005729/0.4589, allocations: 334.2 kB / 0.5005 GB, free: 10.68 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.4589, allocations: 0 / 0.5005 GB, free: 10.68 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000208/0.4591, allocations: 155.7 kB / 0.5007 GB, free: 10.67 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008813/0.46, allocations: 139.2 kB / 0.5008 GB, free: 10.63 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001514/0.4615, allocations: 0.9929 MB / 0.5018 GB, free: 10.07 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002649/0.4618, allocations: 0.895 MB / 0.5027 GB, free: 9.277 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002416/0.4621, allocations: 59.5 kB / 0.5027 GB, free: 9.246 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001034/0.4622, allocations: 38.56 kB / 0.5028 GB, free: 9.238 MB / 330.7 MB Notification: Performance of SimCode: time 1.102e-06/0.4622, allocations: 0 / 0.5028 GB, free: 9.238 MB / 330.7 MB Notification: Performance of Templates: time 0.008987/0.4712, allocations: 5.3 MB / 0.5079 GB, free: 6.656 MB / 330.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Blocks.UnitDeduction.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Blocks.UnitDeduction.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Blocks.UnitDeduction.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Blocks.UnitDeduction.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Blocks.UnitDeduction.sim & ./ModelicaTest_3.2.1_ModelicaTest.Blocks.UnitDeduction -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Blocks.UnitDeduction.pipe 2>&1)