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.001628/0.001628, allocations: 156.8 kB / 7.633 MB, free: 1.445 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.336/1.336, allocations: 170.7 MB / 178.7 MB, free: 7.039 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.001543/0.001543, allocations: 111.4 kB / 218 MB, free: 15.34 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.188/0.188, allocations: 37.96 MB / 295.1 MB, free: 2.098 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.38e-05/1.368e-05, allocations: 4 kB / 350 MB, free: 32.52 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2908/0.2908, allocations: 48.7 MB / 398.7 MB, free: 6.047 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1196/0.4105, allocations: 81.69 MB / 480.4 MB, free: 1.43 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002095/0.4107, allocations: 70.59 kB / 480.5 MB, free: 1.363 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04046/0.4512, allocations: 14.08 MB / 494.5 MB, free: 3.27 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.4512, allocations: 0 / 494.5 MB, free: 3.27 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.876e-05/0.4513, allocations: 15.94 kB / 494.6 MB, free: 3.254 MB / 346.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.001381/0.4527, allocations: 0.8307 MB / 495.4 MB, free: 2.379 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.511e-05/0.4527, allocations: 12.03 kB / 495.4 MB, free: 2.367 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001357/0.4529, allocations: 83.02 kB / 495.5 MB, free: 2.285 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008022/0.4537, allocations: 480.1 kB / 496 MB, free: 1.773 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.826e-05/0.4537, allocations: 19.94 kB / 496 MB, free: 1.754 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.611e-05/0.4538, allocations: 31.91 kB / 496 MB, free: 1.723 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005571/0.4544, allocations: 274.5 kB / 496.3 MB, free: 1.453 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006408/0.455, allocations: 392.9 kB / 496.7 MB, free: 1.055 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.755e-05/0.455, allocations: 4 kB / 496.7 MB, free: 1.051 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.545e-05/0.4551, allocations: 0 / 496.7 MB, free: 1.051 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.426e-05/0.4551, allocations: 11.95 kB / 496.7 MB, free: 1.039 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003077/0.4582, allocations: 1.682 MB / 498.4 MB, free: 15.28 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005659/0.4588, allocations: 349.5 kB / 498.7 MB, free: 14.92 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001924/0.459, allocations: 133.7 kB / 498.8 MB, free: 14.78 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.621e-05/0.459, allocations: 4 kB / 498.8 MB, free: 14.78 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.331e-05/0.4591, allocations: 38.52 kB / 498.9 MB, free: 14.73 MB / 362.7 MB Notification: Performance of pre-optimization done (n=38): time 1.783e-06/0.4591, allocations: 0 / 498.9 MB, free: 14.73 MB / 362.7 MB Notification: Performance of matching and sorting (n=38): time 0.0006123/0.4597, allocations: 322.1 kB / 499.2 MB, free: 14.41 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.582e-05/0.4598, allocations: 136.5 kB / 499.3 MB, free: 14.24 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003931/0.4602, allocations: 361.5 kB / 499.7 MB, free: 13.88 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.41e-05/0.4602, allocations: 25.7 kB / 499.7 MB, free: 13.85 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002313/0.4605, allocations: 312.5 kB / 0.4883 GB, free: 13.54 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001144/0.4606, allocations: 141.9 kB / 0.4884 GB, free: 13.4 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.932e-05/0.4606, allocations: 0 / 0.4884 GB, free: 13.4 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001627/0.4608, allocations: 370.8 kB / 0.4888 GB, free: 13.03 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002049/0.461, allocations: 125.1 kB / 0.4889 GB, free: 12.91 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003042/0.4613, allocations: 247.9 kB / 0.4891 GB, free: 12.61 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002398/0.4616, allocations: 151.5 kB / 0.4893 GB, free: 12.46 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.4616, allocations: 3.938 kB / 0.4893 GB, free: 12.46 MB / 362.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.0006843/0.4623, allocations: 432.4 kB / 0.4897 GB, free: 12.03 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.4623, allocations: 4.438 kB / 0.4897 GB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.111e-05/0.4623, allocations: 11.95 kB / 0.4897 GB, free: 12.01 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.16e-05/0.4623, allocations: 8 kB / 0.4897 GB, free: 12 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005073/0.4628, allocations: 123.8 kB / 0.4898 GB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.213e-05/0.4629, allocations: 8 kB / 0.4898 GB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003755/0.4632, allocations: 55.56 kB / 0.4899 GB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.614e-05/0.4633, allocations: 20 kB / 0.4899 GB, free: 11.8 MB / 362.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 0.0001205/0.4634, allocations: 116.8 kB / 0.49 GB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.318e-05/0.4635, allocations: 51.34 kB / 0.4901 GB, free: 11.63 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000122/0.4636, allocations: 65.45 kB / 0.4901 GB, free: 11.56 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.602e-06/0.4637, allocations: 7.953 kB / 0.4901 GB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.4637, allocations: 7.938 kB / 0.4901 GB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.853e-06/0.4637, allocations: 3.984 kB / 0.4902 GB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000685/0.4644, allocations: 485.6 kB / 0.4906 GB, free: 11.03 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.4644, allocations: 0 / 0.4906 GB, free: 11.03 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004759/0.4649, allocations: 87.89 kB / 0.4907 GB, free: 10.94 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.92e-06/0.4649, allocations: 0 / 0.4907 GB, free: 10.94 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.042e-05/0.4649, allocations: 8 kB / 0.4907 GB, free: 10.93 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.028e-06/0.4649, allocations: 4 kB / 0.4907 GB, free: 10.93 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.4649, allocations: 0 / 0.4907 GB, free: 10.93 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008461/0.4658, allocations: 0.6724 MB / 0.4914 GB, free: 10.23 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002159/0.466, allocations: 164.5 kB / 0.4915 GB, free: 10.05 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.59e-05/0.4661, allocations: 0 / 0.4915 GB, free: 10.05 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003611/0.4665, allocations: 35.97 kB / 0.4916 GB, free: 10.02 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.381e-05/0.4666, allocations: 31.91 kB / 0.4916 GB, free: 9.984 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.515e-05/0.4666, allocations: 12 kB / 0.4916 GB, free: 9.973 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003068/0.4669, allocations: 279 kB / 0.4919 GB, free: 9.703 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4669, allocations: 0 / 0.4919 GB, free: 9.703 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004963/0.4674, allocations: 107.7 kB / 0.492 GB, free: 9.598 MB / 362.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.0001487/0.4676, allocations: 107.1 kB / 0.4921 GB, free: 9.484 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005395/0.4681, allocations: 311.5 kB / 0.4924 GB, free: 9.18 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.4681, allocations: 4 kB / 0.4924 GB, free: 9.176 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002034/0.4683, allocations: 143.9 kB / 0.4925 GB, free: 9.035 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007881/0.4691, allocations: 134.8 kB / 0.4926 GB, free: 8.906 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001563/0.4707, allocations: 0.9685 MB / 0.4936 GB, free: 7.902 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004649/0.4712, allocations: 0.8944 MB / 0.4945 GB, free: 6.98 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002686/0.4715, allocations: 60.25 kB / 0.4945 GB, free: 6.922 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001157/0.4716, allocations: 39.42 kB / 0.4946 GB, free: 6.883 MB / 362.7 MB Notification: Performance of SimCode: time 3.61e-07/0.4716, allocations: 0 / 0.4946 GB, free: 6.883 MB / 362.7 MB Notification: Performance of Templates: time 0.009615/0.4812, allocations: 4.9 MB / 0.4993 GB, free: 2.02 MB / 362.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)