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.007635/0.007635, allocations: 164.7 kB / 15.11 MB, free: 5.973 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.31/1.31, allocations: 170.8 MB / 186.6 MB, free: 1.121 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.001808/0.001808, allocations: 106.6 kB / 226.2 MB, free: 10.11 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.3232/0.3232, allocations: 38.05 MB / 303.7 MB, free: 42.48 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003859/0.0003864, allocations: 12 kB / 362.9 MB, free: 5.59 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1045/0.1049, allocations: 48.69 MB / 411.6 MB, free: 4.828 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3534/0.4583, allocations: 82.45 MB / 494 MB, free: 5.379 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002103/0.4586, allocations: 74.94 kB / 494.1 MB, free: 5.344 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03974/0.4984, allocations: 14.19 MB / 0.4964 GB, free: 9.449 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.4984, allocations: 0 / 0.4964 GB, free: 9.449 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.808e-05/0.4985, allocations: 15.94 kB / 0.4964 GB, free: 9.434 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.002385/0.5009, allocations: 0.9181 MB / 0.4973 GB, free: 8.512 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.681e-05/0.501, allocations: 8.031 kB / 0.4973 GB, free: 8.504 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003169/0.5013, allocations: 79.81 kB / 0.4973 GB, free: 8.426 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009616/0.5023, allocations: 495.4 kB / 0.4978 GB, free: 7.957 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.706e-05/0.5023, allocations: 39.56 kB / 0.4979 GB, free: 7.938 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.424e-05/0.5024, allocations: 56.84 kB / 0.4979 GB, free: 7.898 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009663/0.5034, allocations: 0.489 MB / 0.4984 GB, free: 7.531 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.232e-05/0.5034, allocations: 0 / 0.4984 GB, free: 7.531 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.32e-05/0.5035, allocations: 18.44 kB / 0.4984 GB, free: 7.527 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.45e-05/0.5035, allocations: 16.28 kB / 0.4984 GB, free: 7.512 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007986/0.5043, allocations: 365.2 kB / 0.4988 GB, free: 7.258 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003299/0.5076, allocations: 1.784 MB / 0.5005 GB, free: 5.754 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009942/0.5086, allocations: 469.2 kB / 0.501 GB, free: 5.398 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.173e-05/0.5087, allocations: 11.95 kB / 0.501 GB, free: 5.387 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.085e-05/0.5087, allocations: 34.44 kB / 0.501 GB, free: 5.348 MB / 346.7 MB Notification: Performance of pre-optimization done (n=38): time 2.144e-06/0.5087, allocations: 0 / 0.501 GB, free: 5.348 MB / 346.7 MB Notification: Performance of matching and sorting (n=38): time 0.001218/0.51, allocations: 0.5551 MB / 0.5015 GB, free: 4.914 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.575e-05/0.5101, allocations: 132.5 kB / 0.5017 GB, free: 4.754 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004629/0.5105, allocations: 398.6 kB / 0.5021 GB, free: 4.434 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.363e-05/0.5106, allocations: 36.7 kB / 0.5021 GB, free: 4.398 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002197/0.5108, allocations: 309.6 kB / 0.5024 GB, free: 4.191 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001295/0.511, allocations: 155.8 kB / 0.5025 GB, free: 4.059 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.989e-05/0.511, allocations: 6.812 kB / 0.5025 GB, free: 4.059 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001654/0.5111, allocations: 367.1 kB / 0.5029 GB, free: 3.715 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003768/0.5115, allocations: 174.9 kB / 0.5031 GB, free: 3.598 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005357/0.5121, allocations: 305.5 kB / 0.5033 GB, free: 3.309 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004027/0.5125, allocations: 205.5 kB / 0.5035 GB, free: 3.18 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.686e-06/0.5125, allocations: 0 / 0.5035 GB, free: 3.18 MB / 346.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001005/0.5135, allocations: 0.5546 MB / 0.5041 GB, free: 2.754 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.001e-05/0.5135, allocations: 8 kB / 0.5041 GB, free: 2.746 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.954e-06/0.5136, allocations: 4 kB / 0.5041 GB, free: 2.742 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.807e-05/0.5136, allocations: 12 kB / 0.5041 GB, free: 2.73 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005113/0.5141, allocations: 123.6 kB / 0.5042 GB, free: 2.613 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.763e-05/0.5141, allocations: 12.17 kB / 0.5042 GB, free: 2.602 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003869/0.5145, allocations: 65.95 kB / 0.5043 GB, free: 2.547 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.832e-05/0.5146, allocations: 19.94 kB / 0.5043 GB, free: 2.531 MB / 346.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 () * Number of clocked 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.000244/0.5148, allocations: 180.9 kB / 0.5045 GB, free: 2.379 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001068/0.515, allocations: 63.28 kB / 0.5046 GB, free: 2.316 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001139/0.5151, allocations: 61.8 kB / 0.5046 GB, free: 2.285 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.865e-06/0.5151, allocations: 4 kB / 0.5046 GB, free: 2.281 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.458e-06/0.5151, allocations: 0 / 0.5046 GB, free: 2.281 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.456e-06/0.5151, allocations: 11.92 kB / 0.5046 GB, free: 2.27 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007227/0.5158, allocations: 0.5369 MB / 0.5051 GB, free: 1.809 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.5e-06/0.5159, allocations: 11.92 kB / 0.5052 GB, free: 1.797 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004698/0.5163, allocations: 87.7 kB / 0.5052 GB, free: 1.715 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.5164, allocations: 4 kB / 0.5052 GB, free: 1.711 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.385e-05/0.5164, allocations: 15.2 kB / 0.5053 GB, free: 1.703 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.318e-06/0.5164, allocations: 4.391 kB / 0.5053 GB, free: 1.699 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.5164, allocations: 3.938 kB / 0.5053 GB, free: 1.695 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001217/0.5176, allocations: 0.8063 MB / 0.5061 GB, free: 1.031 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002033/0.5179, allocations: 155.8 kB / 0.5062 GB, free: 0.8789 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.595e-05/0.5179, allocations: 17.38 kB / 0.5062 GB, free: 0.8672 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003636/0.5183, allocations: 37.36 kB / 0.5063 GB, free: 0.8359 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.901e-05/0.5184, allocations: 26.58 kB / 0.5063 GB, free: 0.8125 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.659e-05/0.5184, allocations: 14.98 kB / 0.5063 GB, free: 0.8008 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003225/0.5187, allocations: 313.6 kB / 0.5066 GB, free: 0.5625 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.5188, allocations: 3.938 kB / 0.5066 GB, free: 0.5586 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004501/0.5192, allocations: 129.7 kB / 0.5067 GB, free: 456 kB / 346.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 () * Number of clocked 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.0001554/0.5194, allocations: 119.1 kB / 0.5068 GB, free: 336 kB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0008735/0.5203, allocations: 418.8 kB / 0.5072 GB, free: 20 kB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.5203, allocations: 192 / 0.5072 GB, free: 20 kB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003672/0.5206, allocations: 203.1 kB / 0.5074 GB, free: 15.87 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007708/0.5214, allocations: 141.5 kB / 0.5076 GB, free: 15.77 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002369/0.5238, allocations: 1.554 MB / 0.5091 GB, free: 14.28 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005331/0.5243, allocations: 0.9023 MB / 0.51 GB, free: 13.35 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000271/0.5246, allocations: 60.25 kB / 0.51 GB, free: 13.29 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000111/0.5247, allocations: 39.38 kB / 0.5101 GB, free: 13.25 MB / 362.7 MB Notification: Performance of SimCode: time 3.11e-07/0.5248, allocations: 0 / 0.5101 GB, free: 13.25 MB / 362.7 MB Notification: Performance of Templates: time 0.0108/0.5356, allocations: 5.287 MB / 0.5152 GB, free: 8.035 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)