Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Blocks.UnitDeduction.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.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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.UnitDeduction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Blocks.UnitDeduction") translateModel(ModelicaTest.Blocks.UnitDeduction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Blocks.UnitDeduction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00151/0.00151, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001777/0.001777, allocations: 198.6 kB / 16.54 MB, free: 6.672 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.586/1.586, allocations: 205.1 MB / 222.4 MB, free: 4.617 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3643/0.3643, allocations: 39.95 MB / 309.7 MB, free: 9.285 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.2. 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.001524/0.001524, allocations: 68.28 kB / 377.6 MB, free: 12.69 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1302/0.1318, allocations: 56.88 MB / 434.5 MB, free: 3.699 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.UnitDeduction): time 0.006687/0.1385, allocations: 4.006 MB / 438.5 MB, free: 15.67 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003058/0.1416, allocations: 1.267 MB / 439.8 MB, free: 14.39 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004919/0.1421, allocations: 23.88 kB / 439.8 MB, free: 14.37 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003615/0.1425, allocations: 114.7 kB / 439.9 MB, free: 14.26 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006037/0.1431, allocations: 170.5 kB / 440.1 MB, free: 14.09 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008145/0.1439, allocations: 391.4 kB / 440.4 MB, free: 13.71 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009029/0.1448, allocations: 0.8462 MB / 441.3 MB, free: 12.86 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004738/0.1453, allocations: 300.8 kB / 441.6 MB, free: 12.55 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000376/0.1457, allocations: 318.6 kB / 441.9 MB, free: 12.24 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003231/0.146, allocations: 326.2 kB / 442.2 MB, free: 11.92 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.004e-05/0.1461, allocations: 68 kB / 442.3 MB, free: 11.86 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.786e-05/0.1462, allocations: 71.94 kB / 442.4 MB, free: 11.79 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001274/0.1464, allocations: 147.4 kB / 442.5 MB, free: 11.64 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002772/0.1467, allocations: 357.9 kB / 442.8 MB, free: 11.29 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008615/0.1475, allocations: 0.7667 MB / 443.6 MB, free: 10.52 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.1475, allocations: 0 / 443.6 MB, free: 10.52 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.1475, allocations: 4 kB / 443.6 MB, free: 10.52 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.052e-05/0.1476, allocations: 0 / 443.6 MB, free: 10.52 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: 132 * Number of variables: 132 Notification: Performance of Generate backend data structure: time 0.001975/0.1495, allocations: 1.071 MB / 444.7 MB, free: 9.395 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.892e-05/0.1496, allocations: 11.89 kB / 444.7 MB, free: 9.383 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001409/0.1497, allocations: 91.81 kB / 444.8 MB, free: 9.293 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006419/0.1504, allocations: 0.5071 MB / 445.3 MB, free: 8.746 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.226e-05/0.1504, allocations: 45.69 kB / 445.3 MB, free: 8.703 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.817e-05/0.1505, allocations: 67.84 kB / 445.4 MB, free: 8.637 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000925/0.1515, allocations: 0.5999 MB / 446 MB, free: 7.98 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.428e-05/0.1515, allocations: 7.938 kB / 446 MB, free: 7.973 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.655e-05/0.1516, allocations: 20 kB / 446 MB, free: 7.953 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.453e-05/0.1516, allocations: 16 kB / 446 MB, free: 7.938 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007573/0.1523, allocations: 382.2 kB / 446.4 MB, free: 7.562 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003955/0.1563, allocations: 3.009 MB / 449.4 MB, free: 4.41 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009722/0.1573, allocations: 437.8 kB / 449.9 MB, free: 3.965 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003573/0.1577, allocations: 181.6 kB / 450 MB, free: 3.781 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.389e-05/0.1577, allocations: 4 kB / 450 MB, free: 3.777 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.489e-05/0.1577, allocations: 34.56 kB / 450.1 MB, free: 3.734 MB / 382.1 MB Notification: Performance of pre-optimization done (n=39): time 1.923e-06/0.1578, allocations: 4 kB / 450.1 MB, free: 3.73 MB / 382.1 MB Notification: Performance of matching and sorting (n=39): time 0.001251/0.159, allocations: 0.5363 MB / 450.6 MB, free: 3.188 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.402e-05/0.1591, allocations: 110.8 kB / 450.7 MB, free: 3.055 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005612/0.1596, allocations: 0.547 MB / 451.3 MB, free: 2.5 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.149e-05/0.1597, allocations: 41.69 kB / 451.3 MB, free: 2.453 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002745/0.16, allocations: 372 kB / 451.7 MB, free: 2.082 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002182/0.1602, allocations: 153.8 kB / 451.8 MB, free: 1.93 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001763/0.1604, allocations: 118.2 kB / 451.9 MB, free: 1.809 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001782/0.1606, allocations: 370.8 kB / 452.3 MB, free: 1.438 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004352/0.161, allocations: 187.4 kB / 452.5 MB, free: 1.254 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005796/0.1616, allocations: 393 kB / 452.9 MB, free: 0.7734 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000928/0.1626, allocations: 0.5841 MB / 453.4 MB, free: 100 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.978e-06/0.1626, allocations: 0 / 453.4 MB, free: 100 kB / 382.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.2539/0.4165, allocations: 0.6457 MB / 454.1 MB, free: 51.55 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.984e-05/0.4165, allocations: 7.969 kB / 454.1 MB, free: 51.55 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.404e-05/0.4166, allocations: 7.625 kB / 454.1 MB, free: 51.55 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.373e-05/0.4166, allocations: 15.75 kB / 454.1 MB, free: 51.55 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005293/0.4171, allocations: 138.1 kB / 454.3 MB, free: 51.55 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.11e-05/0.4172, allocations: 15.81 kB / 454.3 MB, free: 51.55 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004144/0.4176, allocations: 75.27 kB / 454.3 MB, free: 51.55 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.666e-05/0.4176, allocations: 26.12 kB / 454.4 MB, free: 51.55 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005531/0.4182, allocations: 309.2 kB / 454.7 MB, free: 51.47 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004258/0.4186, allocations: 381.8 kB / 455.1 MB, free: 51.22 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007603/0.4194, allocations: 0.5583 MB / 455.6 MB, free: 50.98 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.46e-06/0.4194, allocations: 4.688 kB / 455.6 MB, free: 50.98 MB / 382.1 MB Notification: Performance of matching and sorting (n=78) (initialization_lambda0): time 0.0009577/0.4204, allocations: 0.6191 MB / 456.2 MB, free: 50.95 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/0.4204, allocations: 9.594 kB / 456.2 MB, free: 50.95 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.4204, allocations: 8.156 kB / 456.2 MB, free: 50.95 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.4205, allocations: 11.19 kB / 456.3 MB, free: 50.95 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004761/0.4209, allocations: 131.4 kB / 456.4 MB, free: 50.95 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.065e-05/0.421, allocations: 14.92 kB / 456.4 MB, free: 50.95 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003485/0.4213, allocations: 66.33 kB / 456.5 MB, free: 50.95 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.187e-05/0.4213, allocations: 27.56 kB / 456.5 MB, free: 50.95 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 7 (Asec.local_reset,Vsec.local_reset,Wsec.local_reset,PID1.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 (78): * Single equations (assignments): 78 * 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.0001661/0.4215, allocations: 226.3 kB / 456.7 MB, free: 50.76 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001022/0.4216, allocations: 61.66 kB / 456.8 MB, free: 50.76 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001622/0.4218, allocations: 76.25 kB / 456.9 MB, free: 50.75 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.221e-06/0.4218, allocations: 3.031 kB / 456.9 MB, free: 50.75 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.112e-05/0.4218, allocations: 3.812 kB / 456.9 MB, free: 50.75 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.081e-05/0.4218, allocations: 7.141 kB / 456.9 MB, free: 50.75 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007249/0.4226, allocations: 0.5698 MB / 457.4 MB, free: 50.55 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/0.4226, allocations: 3.375 kB / 457.4 MB, free: 50.55 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004576/0.4231, allocations: 87.97 kB / 457.5 MB, free: 50.55 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.4231, allocations: 0 / 457.5 MB, free: 50.55 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.434e-05/0.4231, allocations: 13.86 kB / 457.5 MB, free: 50.55 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/0.4231, allocations: 3.281 kB / 457.5 MB, free: 50.55 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.4231, allocations: 0 / 457.5 MB, free: 50.55 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001078/0.4242, allocations: 0.7811 MB / 458.3 MB, free: 50.31 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001473/0.4244, allocations: 171.6 kB / 458.5 MB, free: 50.18 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.879e-05/0.4244, allocations: 15.16 kB / 458.5 MB, free: 50.16 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003407/0.4248, allocations: 26.53 kB / 458.5 MB, free: 50.16 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.381e-05/0.4249, allocations: 29.47 kB / 458.6 MB, free: 50.16 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.171e-05/0.4249, allocations: 13.81 kB / 458.6 MB, free: 50.15 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003345/0.4253, allocations: 374.3 kB / 458.9 MB, free: 49.98 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4253, allocations: 3.125 kB / 458.9 MB, free: 49.98 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000747/0.426, allocations: 243.6 kB / 459.2 MB, free: 49.91 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 16 (Wsec.y,Vsec.y,Asec.y,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) * 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 (39): * Single equations (assignments): 39 * 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.0001051/0.4261, allocations: 106.9 kB / 459.3 MB, free: 49.82 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00135/0.4275, allocations: 0.7525 MB / 460 MB, free: 49.57 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.4275, allocations: 0 / 460 MB, free: 49.57 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003456/0.4278, allocations: 188 kB / 460.2 MB, free: 49.52 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001026/0.4289, allocations: 192.6 kB / 460.4 MB, free: 49.47 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002009/0.4309, allocations: 1.395 MB / 461.8 MB, free: 48.69 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003034/0.4312, allocations: 0.9113 MB / 462.7 MB, free: 47.98 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003061/0.4315, allocations: 73.44 kB / 462.8 MB, free: 47.96 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001071/0.4316, allocations: 39.06 kB / 462.8 MB, free: 47.95 MB / 382.1 MB Notification: Performance of SimCode: time 2.41e-07/0.4317, allocations: 0 / 462.8 MB, free: 47.95 MB / 382.1 MB Notification: Performance of Templates: time 0.01096/0.4426, allocations: 6.422 MB / 469.2 MB, free: 47.54 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Blocks.UnitDeduction.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Blocks.UnitDeduction.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Blocks.UnitDeduction.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Blocks.UnitDeduction.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Blocks.UnitDeduction.sim & ./ModelicaTest_3.2.2_ModelicaTest.Blocks.UnitDeduction -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Blocks.UnitDeduction.pipe 2>&1)