Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Mechanics_MultiBody_Examples_Constraints_PrismaticConstraint",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Mechanics_MultiBody_Examples_Constraints_PrismaticConstraint",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002268/0.002267, allocations: 188.2 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.389/2.389, allocations: 205.4 MB / 222.5 MB, free: 13.86 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001092/0.001092, allocations: 102.8 kB / 270.9 MB, free: 13.38 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005231/0.0005233, allocations: 8 kB / 327.1 MB, free: 15.01 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09507/0.09563, allocations: 47.58 MB / 374.6 MB, free: 15.34 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint): time 0.3806/0.4763, allocations: 77.23 MB / 451.9 MB, free: 15 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.05422/0.5306, allocations: 17.96 MB / 469.8 MB, free: 12.98 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01874/0.5494, allocations: 402.9 kB / 470.2 MB, free: 12.59 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01593/0.5654, allocations: 3.896 MB / 474.1 MB, free: 8.676 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.04366/0.6091, allocations: 10.79 MB / 484.9 MB, free: 13.86 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008369/0.6175, allocations: 1.233 MB / 486.2 MB, free: 12.62 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.01136/0.6289, allocations: 3.962 MB / 490.1 MB, free: 8.656 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02115/0.6502, allocations: 9.521 MB / 499.6 MB, free: 15.05 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004653/0.6549, allocations: 1.775 MB / 0.4897 GB, free: 13.27 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005196/0.6601, allocations: 2.262 MB / 0.4919 GB, free: 11 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001708/0.6619, allocations: 256 kB / 0.4921 GB, free: 10.75 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004736/0.6667, allocations: 1.326 MB / 0.4934 GB, free: 9.418 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005077/0.6718, allocations: 2.778 MB / 0.4961 GB, free: 6.633 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003037/0.6749, allocations: 1.458 MB / 0.4975 GB, free: 5.16 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01706/0.692, allocations: 10.22 MB / 0.5075 GB, free: 10.91 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.692, allocations: 0 / 0.5075 GB, free: 10.91 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.224e-06/0.6921, allocations: 0 / 0.5075 GB, free: 10.91 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0004359/0.6925, allocations: 4 kB / 0.5075 GB, free: 10.91 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: 2584 * Number of variables: 2584 Notification: Performance of Generate backend data structure: time 0.02465/0.7172, allocations: 7.187 MB / 0.5145 GB, free: 3.633 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.246e-05/0.7173, allocations: 12.03 kB / 0.5146 GB, free: 3.621 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004527/0.7218, allocations: 1.231 MB / 0.5158 GB, free: 2.379 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01917/0.741, allocations: 3.001 MB / 0.5187 GB, free: 15.36 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01511/0.7562, allocations: 4.678 MB / 0.5233 GB, free: 10.6 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006721/0.7569, allocations: 459.9 kB / 0.5237 GB, free: 10.15 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003747/0.7607, allocations: 0.7064 MB / 0.5244 GB, free: 9.441 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5755/1.336, allocations: 18.55 MB / 0.5425 GB, free: 123.6 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004304/1.337, allocations: 66.42 kB / 0.5426 GB, free: 123.6 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002531/1.339, allocations: 275.8 kB / 0.5428 GB, free: 123.5 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008324/1.348, allocations: 3.035 MB / 0.5458 GB, free: 122.9 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0521/1.4, allocations: 15.52 MB / 0.561 GB, free: 116.9 MB / 410.8 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1188/1.519, allocations: 67.24 MB / 0.6266 GB, free: 49.61 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04/1.559, allocations: 8.09 MB / 0.6345 GB, free: 41.37 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0338/1.593, allocations: 15.09 MB / 0.6493 GB, free: 25.85 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.922e-05/1.593, allocations: 60.56 kB / 0.6493 GB, free: 25.79 MB / 410.8 MB Notification: Performance of pre-optimization done (n=268): time 7.204e-06/1.593, allocations: 0 / 0.6493 GB, free: 25.79 MB / 410.8 MB Notification: Performance of matching and sorting (n=314): time 0.678/2.271, allocations: 55.47 MB / 0.7035 GB, free: 131.1 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001089/2.271, allocations: 167.3 kB / 0.7036 GB, free: 131 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01526/2.286, allocations: 6.104 MB / 0.7096 GB, free: 129 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0009445/2.287, allocations: 73.45 kB / 0.7097 GB, free: 128.9 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.004324/2.291, allocations: 4.82 MB / 0.7144 GB, free: 125.8 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002028/2.294, allocations: 1.2 MB / 0.7156 GB, free: 124.9 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00133/2.295, allocations: 175.9 kB / 0.7157 GB, free: 124.8 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0007173/2.296, allocations: 0.6948 MB / 0.7164 GB, free: 124.3 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01046/2.306, allocations: 4.128 MB / 0.7204 GB, free: 122.2 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01399/2.32, allocations: 9.373 MB / 0.7296 GB, free: 112.9 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01435/2.335, allocations: 5.999 MB / 0.7354 GB, free: 109.9 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001956/2.335, allocations: 58.53 kB / 0.7355 GB, free: 109.9 MB / 426.8 MB Notification: Performance of matching and sorting (n=1179) (initialization): time 0.132/2.467, allocations: 24.23 MB / 0.7592 GB, free: 87.38 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.000127/2.467, allocations: 84 kB / 0.7592 GB, free: 87.29 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002288/2.467, allocations: 192 kB / 0.7594 GB, free: 87.11 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0285/2.496, allocations: 5.398 MB / 0.7647 GB, free: 81.71 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01298/2.509, allocations: 2.07 MB / 0.7667 GB, free: 79.64 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07653/2.585, allocations: 34.54 MB / 0.8004 GB, free: 44.2 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01189/2.597, allocations: 0.614 MB / 0.801 GB, free: 43.58 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001808/2.599, allocations: 0.526 MB / 0.8016 GB, free: 43.06 MB / 426.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 846 * Number of states: 0 () * Number of discrete variables: 63 (freeMotionScalarInit.arrowColor[3],freeMotionScalarInit.arrowColor[2],freeMotionScalarInit.arrowColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],springOfConstraint.color[3],springOfConstraint.color[2],springOfConstraint.color[1],springOfConstraint.massColor[3],springOfConstraint.massColor[2],springOfConstraint.massColor[1],springOfJoint.color[3],springOfJoint.color[2],springOfJoint.color[1],springOfJoint.massColor[3],springOfJoint.massColor[2],springOfJoint.massColor[1],bodyOfConstraint.color[3],bodyOfConstraint.color[2],bodyOfConstraint.color[1],bodyOfConstraint.body.sphereColor[3],bodyOfConstraint.body.sphereColor[2],bodyOfConstraint.body.sphereColor[1],bodyOfConstraint.frameTranslation.color[3],bodyOfConstraint.frameTranslation.color[2],bodyOfConstraint.frameTranslation.color[1],bodyOfJoint.color[3],bodyOfJoint.color[2],bodyOfJoint.color[1],bodyOfJoint.body.sphereColor[3],bodyOfJoint.body.sphereColor[2],bodyOfJoint.body.sphereColor[1],bodyOfJoint.frameTranslation.color[3],bodyOfJoint.frameTranslation.color[2],bodyOfJoint.frameTranslation.color[1],sensorConstraintRelative.arrowColor[3],sensorConstraintRelative.arrowColor[2],sensorConstraintRelative.arrowColor[1],constraint.sphereColor[3],constraint.sphereColor[2],constraint.sphereColor[1],jointPrismatic_y.boxColor[3],jointPrismatic_y.boxColor[2],jointPrismatic_y.boxColor[1],jointPrismatic_x.boxColor[3],jointPrismatic_x.boxColor[2],jointPrismatic_x.boxColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1086): * Single equations (assignments): 1073 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(5,60.0%) 4,(1,100.0%) 3,(1,100.0%) 3,(2,100.0%) 6,(4,100.0%) 9,(4,100.0%) 9} * Non-linear torn systems: 1 {4 9} Notification: Performance of prepare postOptimizeDAE: time 0.008706/2.608, allocations: 3.398 MB / 0.8049 GB, free: 39.64 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001587/2.61, allocations: 0.536 MB / 0.8054 GB, free: 39.1 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1159/2.725, allocations: 17.65 MB / 0.8226 GB, free: 21.32 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.396e-05/2.726, allocations: 48.48 kB / 0.8227 GB, free: 21.27 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.693e-05/2.726, allocations: 12 kB / 0.8227 GB, free: 21.26 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.961e-05/2.726, allocations: 15.94 kB / 0.8227 GB, free: 21.24 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4888/3.215, allocations: 28.59 MB / 0.8506 GB, free: 127.1 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.183e-05/3.215, allocations: 0 / 0.8506 GB, free: 127.1 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007047/3.222, allocations: 0.5208 MB / 0.8511 GB, free: 127.1 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03748/3.259, allocations: 5.143 MB / 0.8562 GB, free: 127.1 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001243/3.261, allocations: 57.72 kB / 0.8562 GB, free: 127.1 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.105/3.366, allocations: 34.04 MB / 0.8895 GB, free: 110.3 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/3.366, allocations: 0 / 0.8895 GB, free: 110.3 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1283/3.494, allocations: 22.73 MB / 0.9117 GB, free: 97.47 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004453/3.498, allocations: 1.216 MB / 0.9128 GB, free: 96.53 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001869/3.5, allocations: 48 kB / 0.9129 GB, free: 96.48 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007014/3.507, allocations: 313 kB / 0.9132 GB, free: 96.18 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00187/3.509, allocations: 181.8 kB / 0.9134 GB, free: 96 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004788/3.51, allocations: 84.36 kB / 0.9134 GB, free: 95.92 MB / 442.8 MB Notification: Performance of sorting global known variables: time 0.008587/3.518, allocations: 3.824 MB / 0.9172 GB, free: 92.1 MB / 442.8 MB Notification: Performance of sort global known variables: time 1.001e-06/3.518, allocations: 3.938 kB / 0.9172 GB, free: 92.1 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.01162/3.53, allocations: 1.928 MB / 0.9191 GB, free: 90.19 MB / 442.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (jointPrismatic_x.s,jointPrismatic_x.v,jointPrismatic_y.s,jointPrismatic_y.v,bodyOfConstraint.v_0[2],bodyOfConstraint.v_0[3],bodyOfConstraint.body.frame_a.r_0[2],bodyOfConstraint.body.frame_a.r_0[3]) * 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 (235): * Single equations (assignments): 224 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(2,100.0%) 6,(5,60.0%) 4,(2,100.0%) 1,(4,100.0%) 9,(4,100.0%) 9,(2,100.0%) 1} * Non-linear torn systems: 1 {4 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.1272/3.657, allocations: 23.64 MB / 0.9421 GB, free: 66.59 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.03506/3.692, allocations: 11.4 MB / 0.9533 GB, free: 55.19 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 1.004e-05/3.693, allocations: 0 / 0.9533 GB, free: 55.19 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 0.02065/3.713, allocations: 5.264 MB / 0.9584 GB, free: 49.84 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006581/3.72, allocations: 0.7517 MB / 0.9592 GB, free: 49.1 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4102/4.13, allocations: 163.1 MB / 1.118 GB, free: 45.7 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01311/4.143, allocations: 5.331 MB / 1.124 GB, free: 44.8 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007473/4.151, allocations: 3.444 MB / 1.127 GB, free: 44.02 MB / 458.8 MB Notification: Performance of SimCode: time 2.344e-06/4.151, allocations: 1.25 kB / 1.127 GB, free: 44.02 MB / 458.8 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 7.093/11.24, allocations: 348.5 MB / 1.467 GB, free: 74.19 MB / 474.8 MB (rm -f Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Mechanics_MultiBody_Examples_Constraints_PrismaticConstraint_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Mechanics_MultiBody_Examples_Constraints_PrismaticConstraint.fmu > Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint.pipe 2>&1)