Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForces.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameForces,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Forces_FrameForces",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.009608/0.009614, allocations: 163.3 kB / 15.12 MB, free: 6.035 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.695/1.695, allocations: 170.8 MB / 186.7 MB, free: 1.02 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001771/0.001771, allocations: 102.8 kB / 226.2 MB, free: 10.07 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4353/0.4353, allocations: 38.05 MB / 303.7 MB, free: 42.51 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006084/0.0006086, allocations: 12 kB / 363 MB, free: 5.48 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1217/0.1224, allocations: 48.72 MB / 411.7 MB, free: 4.684 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces): time 0.3476/0.47, allocations: 63.57 MB / 475.3 MB, free: 12.22 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.03843/0.5085, allocations: 13.29 MB / 488.6 MB, free: 3.16 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01402/0.5226, allocations: 294.8 kB / 488.8 MB, free: 3.117 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01302/0.5357, allocations: 3.11 MB / 492 MB, free: 2.094 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.05099/0.5867, allocations: 10.75 MB / 0.4909 GB, free: 12.46 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007953/0.5948, allocations: 0.8076 MB / 0.4917 GB, free: 11.95 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.08521/0.68, allocations: 28.52 MB / 0.5196 GB, free: 4.031 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01697/0.6971, allocations: 5.484 MB / 0.5249 GB, free: 14.52 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00622/0.7034, allocations: 1.642 MB / 0.5265 GB, free: 12.87 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009107/0.7125, allocations: 2.621 MB / 0.5291 GB, free: 10.24 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002102/0.7147, allocations: 188 kB / 0.5293 GB, free: 10.06 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00637/0.7211, allocations: 1.147 MB / 0.5304 GB, free: 8.91 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.006601/0.7278, allocations: 2.31 MB / 0.5326 GB, free: 6.594 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003106/0.731, allocations: 1.084 MB / 0.5337 GB, free: 5.5 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01341/0.7445, allocations: 7.33 MB / 0.5409 GB, free: 14.14 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.746e-06/0.7445, allocations: 0 / 0.5409 GB, free: 14.14 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.136e-06/0.7446, allocations: 0 / 0.5409 GB, free: 14.14 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0003489/0.7449, allocations: 0 / 0.5409 GB, free: 14.14 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1883 * Number of variables: 1883 Notification: Performance of Generate backend data structure: time 0.02164/0.7666, allocations: 5.546 MB / 0.5463 GB, free: 8.523 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.715e-05/0.7666, allocations: 8.031 kB / 0.5463 GB, free: 8.516 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00335/0.77, allocations: 0.8811 MB / 0.5471 GB, free: 7.621 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07526/0.8453, allocations: 6.213 MB / 0.5532 GB, free: 1.391 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01578/0.8611, allocations: 4.653 MB / 0.5578 GB, free: 12.68 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004552/0.8617, allocations: 299.6 kB / 0.558 GB, free: 12.39 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001944/0.8636, allocations: 391.7 kB / 0.5584 GB, free: 12.01 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03574/0.8994, allocations: 12.51 MB / 0.5706 GB, free: 14.64 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002383/0.8997, allocations: 59.44 kB / 0.5707 GB, free: 14.58 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00114/0.9008, allocations: 191.8 kB / 0.5709 GB, free: 14.39 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006216/0.9071, allocations: 2.292 MB / 0.5731 GB, free: 12.1 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0337/0.9408, allocations: 10.25 MB / 0.5831 GB, free: 1.832 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3833/1.324, allocations: 48.24 MB / 0.6302 GB, free: 93.88 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01927/1.344, allocations: 4.673 MB / 0.6348 GB, free: 92.13 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005301/1.349, allocations: 2.313 MB / 0.6371 GB, free: 91.16 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02105/1.37, allocations: 6.899 MB / 0.6438 GB, free: 87.83 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.6e-05/1.37, allocations: 61.81 kB / 0.6439 GB, free: 87.77 MB / 426.7 MB Notification: Performance of pre-optimization done (n=181): time 5.721e-06/1.37, allocations: 0 / 0.6439 GB, free: 87.77 MB / 426.7 MB Notification: Performance of matching and sorting (n=193): time 0.0756/1.446, allocations: 16.14 MB / 0.6596 GB, free: 80.06 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001015/1.446, allocations: 200.3 kB / 0.6598 GB, free: 79.84 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01326/1.459, allocations: 5.8 MB / 0.6655 GB, free: 76.29 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005223/1.46, allocations: 57.64 kB / 0.6655 GB, free: 76.23 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003757/1.464, allocations: 3.986 MB / 0.6694 GB, free: 72.25 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001266/1.465, allocations: 0.7535 MB / 0.6701 GB, free: 71.5 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008323/1.466, allocations: 140 kB / 0.6703 GB, free: 71.36 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0005298/1.466, allocations: 0.6036 MB / 0.6709 GB, free: 70.75 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006173/1.473, allocations: 2.348 MB / 0.6732 GB, free: 68.4 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008577/1.481, allocations: 6.762 MB / 0.6798 GB, free: 59.48 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008635/1.49, allocations: 3.894 MB / 0.6836 GB, free: 55.59 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001325/1.49, allocations: 44 kB / 0.6836 GB, free: 55.54 MB / 426.7 MB Notification: Performance of matching and sorting (n=923) (initialization): time 0.02444/1.515, allocations: 9.344 MB / 0.6927 GB, free: 46.19 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001151/1.515, allocations: 72 kB / 0.6928 GB, free: 46.12 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002198/1.515, allocations: 156 kB / 0.693 GB, free: 45.97 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003045/1.518, allocations: 0.7275 MB / 0.6937 GB, free: 45.24 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009556/1.528, allocations: 1.649 MB / 0.6953 GB, free: 43.59 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01029/1.538, allocations: 6.323 MB / 0.7015 GB, free: 37.02 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008038/1.546, allocations: 387.4 kB / 0.7018 GB, free: 36.64 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001485/1.548, allocations: 436 kB / 0.7022 GB, free: 36.21 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 709 * Number of states: 0 () * Number of discrete variables: 42 (FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[1],frameForce2.color[3],frameForce2.color[2],frameForce2.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],BodyCylinder2.color[3],BodyCylinder2.color[2],BodyCylinder2.color[1],BodyCylinder2.body.sphereColor[3],BodyCylinder2.body.sphereColor[2],BodyCylinder2.body.sphereColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameForce1.color[3],frameForce1.color[2],frameForce1.color[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],BodyCylinder1.color[3],BodyCylinder1.color[2],BodyCylinder1.color[1],BodyCylinder1.body.sphereColor[3],BodyCylinder1.body.sphereColor[2],BodyCylinder1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (863): * Single equations (assignments): 856 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 13,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007186/1.555, allocations: 2.621 MB / 0.7048 GB, free: 33.58 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001375/1.556, allocations: 481.6 kB / 0.7053 GB, free: 33.11 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00915/1.565, allocations: 3.23 MB / 0.7084 GB, free: 29.85 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.696e-05/1.565, allocations: 20 kB / 0.7084 GB, free: 29.83 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.64e-05/1.565, allocations: 4 kB / 0.7084 GB, free: 29.83 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.684e-05/1.566, allocations: 11.97 kB / 0.7084 GB, free: 29.82 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0245/1.59, allocations: 8.561 MB / 0.7168 GB, free: 21.2 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-05/1.59, allocations: 4.281 kB / 0.7168 GB, free: 21.2 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003458/1.594, allocations: 359.4 kB / 0.7172 GB, free: 20.84 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002386/1.596, allocations: 494.5 kB / 0.7176 GB, free: 20.36 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004105/1.597, allocations: 42.8 kB / 0.7177 GB, free: 20.32 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00906/1.606, allocations: 5.683 MB / 0.7232 GB, free: 14.37 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.259e-06/1.606, allocations: 8.062 kB / 0.7232 GB, free: 14.36 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01354/1.619, allocations: 5.81 MB / 0.7289 GB, free: 8.484 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003132/1.622, allocations: 0.8148 MB / 0.7297 GB, free: 7.645 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001414/1.624, allocations: 32 kB / 0.7297 GB, free: 7.613 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003709/1.628, allocations: 102.1 kB / 0.7298 GB, free: 7.516 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006134/1.628, allocations: 117 kB / 0.7299 GB, free: 7.402 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001954/1.628, allocations: 52 kB / 0.73 GB, free: 7.352 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.009418/1.638, allocations: 3.711 MB / 0.7336 GB, free: 3.668 MB / 426.7 MB Notification: Performance of sort global known variables: time 9.62e-07/1.638, allocations: 0 / 0.7336 GB, free: 3.668 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.008444/1.646, allocations: 1.204 MB / 0.7348 GB, free: 2.469 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 4 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w) * 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 (154): * Single equations (assignments): 149 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 10,(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01573/1.662, allocations: 6.455 MB / 0.7411 GB, free: 11.95 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01498/1.677, allocations: 5.756 MB / 0.7467 GB, free: 6.199 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.226e-06/1.677, allocations: 0 / 0.7467 GB, free: 6.199 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004533/1.682, allocations: 1.757 MB / 0.7484 GB, free: 4.418 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005862/1.688, allocations: 0.628 MB / 0.749 GB, free: 3.805 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.425/2.113, allocations: 47.34 MB / 0.7953 GB, free: 106.6 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009669/2.123, allocations: 4.12 MB / 0.7993 GB, free: 105.1 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.01177/2.134, allocations: 2.284 MB / 0.8015 GB, free: 104.9 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006337/2.141, allocations: 2.504 MB / 0.804 GB, free: 102.9 MB / 442.7 MB Notification: Performance of SimCode: time 1.413e-06/2.141, allocations: 1.438 kB / 0.804 GB, free: 102.9 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2145/2.355, allocations: 99.22 MB / 0.9009 GB, free: 13.52 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00022/2.356, allocations: 217.8 kB / 0.9011 GB, free: 13.26 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.767/9.123, allocations: 0 / 0.9011 GB, free: 13.26 MB / 442.7 MB