Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Math.TestNonlinear.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Math.TestNonlinear,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Math_TestNonlinear",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.0101/0.0101, allocations: 175.2 kB / 15.12 MB, free: 5.98 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 2.046/2.046, allocations: 194.5 MB / 210.3 MB, free: 8.582 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.002044/0.002044, allocations: 120.6 kB / 255.6 MB, free: 11.2 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2563/0.2563, allocations: 40.01 MB / 340.8 MB, free: 11.53 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004648/0.0004647, allocations: 9.906 kB / 406.3 MB, free: 51.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09947/0.09998, allocations: 54.88 MB / 461.1 MB, free: 3.281 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.491/0.591, allocations: 83.45 MB / 0.5318 GB, free: 25.6 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002575/0.5914, allocations: 64.98 kB / 0.5319 GB, free: 25.6 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06178/0.6532, allocations: 12.96 MB / 0.5445 GB, free: 24.69 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.853e-06/0.6532, allocations: 0 / 0.5445 GB, free: 24.69 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.821e-06/0.6532, allocations: 0 / 0.5445 GB, free: 24.69 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0007391/0.654, allocations: 455.8 kB / 0.545 GB, free: 24.24 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.864e-05/0.6541, allocations: 12.75 kB / 0.545 GB, free: 24.23 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.176e-05/0.6541, allocations: 111.2 kB / 0.5451 GB, free: 24.12 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.169e-05/0.6542, allocations: 80.73 kB / 0.5452 GB, free: 24.04 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.625e-05/0.6543, allocations: 241.3 kB / 0.5454 GB, free: 23.77 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.079e-05/0.6543, allocations: 150.6 kB / 0.5455 GB, free: 23.62 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.815e-05/0.6543, allocations: 150.6 kB / 0.5457 GB, free: 23.47 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.048e-05/0.6544, allocations: 106.3 kB / 0.5458 GB, free: 23.36 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.689e-05/0.6544, allocations: 75.28 kB / 0.5459 GB, free: 23.29 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.343e-05/0.6545, allocations: 152 kB / 0.546 GB, free: 23.14 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.755e-05/0.6545, allocations: 158.5 kB / 0.5462 GB, free: 22.98 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.991e-05/0.6545, allocations: 155.6 kB / 0.5463 GB, free: 22.83 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001967/0.6548, allocations: 446 kB / 0.5467 GB, free: 22.36 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.304e-05/0.6548, allocations: 170.7 kB / 0.5469 GB, free: 22.18 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.725e-05/0.6548, allocations: 79.28 kB / 0.547 GB, free: 22.1 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.172e-05/0.6549, allocations: 133.1 kB / 0.5471 GB, free: 21.96 MB / 378.7 MB Notification: Performance of pre-optimization done (n=0): time 1.343e-06/0.6549, allocations: 0 / 0.5471 GB, free: 21.96 MB / 378.7 MB Notification: Performance of matching and sorting (n=0): time 7.184e-05/0.655, allocations: 30.7 kB / 0.5471 GB, free: 21.92 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.376e-05/0.655, allocations: 153.4 kB / 0.5473 GB, free: 21.75 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.132e-05/0.6551, allocations: 88.69 kB / 0.5474 GB, free: 21.66 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.251e-05/0.6551, allocations: 27.11 kB / 0.5474 GB, free: 21.63 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.932e-05/0.6551, allocations: 84.14 kB / 0.5475 GB, free: 21.55 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.913e-06/0.6551, allocations: 0 / 0.5475 GB, free: 21.55 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.8e-07/0.6551, allocations: 1.469 kB / 0.5475 GB, free: 21.55 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0007095/0.6559, allocations: 317.8 kB / 0.5478 GB, free: 37.23 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.767e-06/0.6559, allocations: 0 / 0.5478 GB, free: 37.23 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.171e-05/0.6559, allocations: 6.828 kB / 0.5478 GB, free: 37.23 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.791e-05/0.656, allocations: 75.28 kB / 0.5478 GB, free: 37.15 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.9e-05/0.656, allocations: 75.28 kB / 0.5479 GB, free: 37.08 MB / 394.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.834e-05/0.6561, allocations: 37.61 kB / 0.548 GB, free: 37.04 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.917e-05/0.6561, allocations: 80.5 kB / 0.548 GB, free: 36.96 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.75e-05/0.6562, allocations: 78.19 kB / 0.5481 GB, free: 36.89 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.827e-05/0.6563, allocations: 156 kB / 0.5483 GB, free: 36.74 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.155e-05/0.6563, allocations: 78.97 kB / 0.5483 GB, free: 36.66 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.598e-05/0.6564, allocations: 155.8 kB / 0.5485 GB, free: 36.51 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.709e-05/0.6565, allocations: 84.62 kB / 0.5486 GB, free: 36.43 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.956e-05/0.6565, allocations: 76.75 kB / 0.5486 GB, free: 36.36 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * 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.000129/0.6566, allocations: 269.9 kB / 0.5489 GB, free: 36.09 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.304e-05/0.6567, allocations: 110.5 kB / 0.549 GB, free: 35.97 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.801e-05/0.6568, allocations: 109.2 kB / 0.5491 GB, free: 35.86 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.367e-05/0.6569, allocations: 180.3 kB / 0.5493 GB, free: 35.68 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-05/0.6569, allocations: 190 kB / 0.5495 GB, free: 35.49 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.083e-05/0.657, allocations: 177.6 kB / 0.5496 GB, free: 35.31 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002147/0.6572, allocations: 409.2 kB / 0.55 GB, free: 34.86 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.746e-05/0.6573, allocations: 102.4 kB / 0.5501 GB, free: 34.75 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.951e-05/0.6573, allocations: 102.7 kB / 0.5502 GB, free: 34.65 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.783e-05/0.6574, allocations: 184.2 kB / 0.5504 GB, free: 34.46 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7e-05/0.6575, allocations: 184.7 kB / 0.5506 GB, free: 34.28 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.176e-05/0.6576, allocations: 181.6 kB / 0.5507 GB, free: 34.09 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.606e-05/0.6576, allocations: 176.3 kB / 0.5509 GB, free: 33.91 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001388/0.6578, allocations: 314.8 kB / 0.5512 GB, free: 33.59 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.879e-05/0.6579, allocations: 182 kB / 0.5514 GB, free: 33.39 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.134e-05/0.658, allocations: 182.8 kB / 0.5515 GB, free: 33.21 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.966e-05/0.6581, allocations: 106 kB / 0.5516 GB, free: 33.11 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.934e-05/0.6581, allocations: 181.4 kB / 0.5518 GB, free: 32.92 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.035e-05/0.6582, allocations: 106.4 kB / 0.5519 GB, free: 32.81 MB / 394.7 MB Notification: Performance of sorting global known variables: time 3.173e-05/0.6582, allocations: 79.33 kB / 0.552 GB, free: 32.73 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.11e-07/0.6583, allocations: 0 / 0.552 GB, free: 32.73 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001085/0.6593, allocations: 165.3 kB / 0.5522 GB, free: 32.69 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (0): * Single equations (assignments): 0 * 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.001475/0.6608, allocations: 1.089 MB / 0.5532 GB, free: 31.81 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 5.412e-05/0.6609, allocations: 1.188 kB / 0.5532 GB, free: 31.81 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.6609, allocations: 0 / 0.5532 GB, free: 31.81 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.204e-06/0.6609, allocations: 0 / 0.5532 GB, free: 31.81 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003427/0.6613, allocations: 0.5255 MB / 0.5537 GB, free: 31.29 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005066/0.6618, allocations: 271.8 kB / 0.554 GB, free: 31.03 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002796/0.6621, allocations: 0.6707 MB / 0.5546 GB, free: 30.33 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 6.833e-06/0.6621, allocations: 0 / 0.5546 GB, free: 30.33 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.167e-05/0.6621, allocations: 10.34 kB / 0.5547 GB, free: 30.32 MB / 394.7 MB Notification: Performance of SimCode: time 1.102e-06/0.6621, allocations: 0 / 0.5547 GB, free: 30.32 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02576/0.6879, allocations: 3.577 MB / 0.5582 GB, free: 29.89 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00022/0.6882, allocations: 198.8 kB / 0.5583 GB, free: 29.64 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.498/3.186, allocations: 3.938 kB / 0.5583 GB, free: 29.64 MB / 394.7 MB