Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.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) 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: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_MovingActuatedDrive",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_MovingActuatedDrive",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009198/0.0009249, allocations: 95.56 kB / 16.93 MB, free: 6.445 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009005/0.0009007, allocations: 186.6 kB / 17.83 MB, free: 6.004 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.524/1.524, allocations: 205.4 MB / 224 MB, free: 13.17 MB / 190.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: Performance of FrontEnd - loaded program: time 0.0004447/0.0004447, allocations: 15.94 kB / 280.8 MB, free: 3.656 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1008/0.1013, allocations: 47.58 MB / 328.4 MB, free: 4.008 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive): time 0.2459/0.3472, allocations: 56.67 MB / 385.1 MB, free: 8.699 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.02923/0.3765, allocations: 13.02 MB / 398.1 MB, free: 8.352 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01444/0.391, allocations: 280.2 kB / 398.4 MB, free: 8.309 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01177/0.4028, allocations: 2.821 MB / 401.2 MB, free: 7.586 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0293/0.4321, allocations: 8.09 MB / 409.3 MB, free: 5.152 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003956/0.4361, allocations: 0.631 MB / 409.9 MB, free: 4.984 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.005556/0.4417, allocations: 2.494 MB / 412.4 MB, free: 4.48 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007522/0.4492, allocations: 5.78 MB / 418.2 MB, free: 2.719 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002379/0.4516, allocations: 1.209 MB / 419.4 MB, free: 2.305 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002166/0.4538, allocations: 1.615 MB / 421 MB, free: 1.699 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000633/0.4545, allocations: 173.6 kB / 421.2 MB, free: 1.699 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001939/0.4564, allocations: 0.786 MB / 422 MB, free: 1.52 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001407/0.4578, allocations: 1.844 MB / 423.8 MB, free: 0.5469 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009273/0.4588, allocations: 1.009 MB / 424.8 MB, free: 0 / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006084/0.4649, allocations: 6.636 MB / 431.5 MB, free: 10.23 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.4649, allocations: 4 kB / 431.5 MB, free: 10.23 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.4649, allocations: 4 kB / 431.5 MB, free: 10.22 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0002353/0.4651, allocations: 0 / 431.5 MB, free: 10.22 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1851 * Number of variables: 1851 Notification: Performance of Generate backend data structure: time 0.0181/0.4832, allocations: 5.545 MB / 437 MB, free: 5.078 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.319e-05/0.4833, allocations: 8.031 kB / 437 MB, free: 5.07 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003143/0.4865, allocations: 0.8811 MB / 437.9 MB, free: 4.535 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008734/0.4952, allocations: 2.337 MB / 440.2 MB, free: 2.297 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007255/0.5025, allocations: 2.924 MB / 443.2 MB, free: 28 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002844/0.5028, allocations: 298.5 kB / 443.5 MB, free: 15.86 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00134/0.5042, allocations: 407.6 kB / 443.9 MB, free: 15.6 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02393/0.5281, allocations: 12.98 MB / 456.8 MB, free: 2.188 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001344/0.5283, allocations: 43.59 kB / 456.9 MB, free: 2.145 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000514/0.5288, allocations: 189.9 kB / 457.1 MB, free: 2 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004039/0.5328, allocations: 2.37 MB / 459.4 MB, free: 15.64 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0244/0.5573, allocations: 11.86 MB / 471.3 MB, free: 3.773 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06984/0.6272, allocations: 48.61 MB / 0.5077 GB, free: 2.262 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01783/0.6451, allocations: 5.694 MB / 0.5133 GB, free: 12.41 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007001/0.6458, allocations: 380.2 kB / 0.5136 GB, free: 12 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.679e-05/0.6459, allocations: 61.5 kB / 0.5137 GB, free: 11.94 MB / 430.1 MB Notification: Performance of pre-optimization done (n=221): time 5.26e-06/0.6459, allocations: 0 / 0.5137 GB, free: 11.94 MB / 430.1 MB Notification: Performance of matching and sorting (n=252): time 0.3247/0.9706, allocations: 28.69 MB / 0.5417 GB, free: 109.3 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.413e-05/0.9708, allocations: 157.7 kB / 0.5419 GB, free: 109.2 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008468/0.9792, allocations: 4.719 MB / 0.5465 GB, free: 108.9 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008726/0.9802, allocations: 63.97 kB / 0.5465 GB, free: 108.8 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0027/0.9829, allocations: 3.587 MB / 0.55 GB, free: 107.3 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001594/0.9845, allocations: 0.9461 MB / 0.551 GB, free: 106.7 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004299/0.9849, allocations: 139.2 kB / 0.5511 GB, free: 106.7 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0004281/0.9853, allocations: 0.6021 MB / 0.5517 GB, free: 106.4 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006112/0.9915, allocations: 3.425 MB / 0.555 GB, free: 106.4 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007622/0.9991, allocations: 7.458 MB / 0.5623 GB, free: 101.2 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007405/1.007, allocations: 4.939 MB / 0.5671 GB, free: 101 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001354/1.007, allocations: 39.94 kB / 0.5672 GB, free: 101 MB / 446.1 MB Notification: Performance of matching and sorting (n=910) (initialization): time 0.02175/1.029, allocations: 11.81 MB / 0.5787 GB, free: 100.6 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001803/1.029, allocations: 67.62 kB / 0.5788 GB, free: 100.6 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002194/1.029, allocations: 146.2 kB / 0.5789 GB, free: 100.6 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002816/1.032, allocations: 1.151 MB / 0.58 GB, free: 100.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006918/1.039, allocations: 1.797 MB / 0.5818 GB, free: 100.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007549/1.046, allocations: 6.131 MB / 0.5878 GB, free: 98.96 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006706/1.053, allocations: 426 kB / 0.5882 GB, free: 98.71 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001457/1.055, allocations: 465.9 kB / 0.5886 GB, free: 98.36 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 651 * Number of states: 0 () * Number of discrete variables: 42 (fixed.color[3],fixed.color[2],fixed.color[1],r2.cylinderColor[3],r2.cylinderColor[2],r2.cylinderColor[1],r1.cylinderColor[3],r1.cylinderColor[2],r1.cylinderColor[1],rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[1],torque.connectionLineColor[3],torque.connectionLineColor[2],torque.connectionLineColor[1],torque.torqueColor[3],torque.torqueColor[2],torque.torqueColor[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],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],bodyCylinder.frameTranslation.color[3],bodyCylinder.frameTranslation.color[2],bodyCylinder.frameTranslation.color[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (871): * Single equations (assignments): 867 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,77.8%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004739/1.059, allocations: 2.447 MB / 0.591 GB, free: 97.14 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001141/1.06, allocations: 416.8 kB / 0.5914 GB, free: 96.73 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008998/1.069, allocations: 6.502 MB / 0.5978 GB, free: 91.3 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.07e-05/1.07, allocations: 28.88 kB / 0.5978 GB, free: 91.27 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.491e-05/1.07, allocations: 8 kB / 0.5978 GB, free: 91.27 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.139e-05/1.07, allocations: 11.95 kB / 0.5978 GB, free: 91.25 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02189/1.092, allocations: 13.54 MB / 0.611 GB, free: 77.71 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.937e-05/1.092, allocations: 4 kB / 0.611 GB, free: 77.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003853/1.095, allocations: 0.5827 MB / 0.6116 GB, free: 77.14 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002614/1.098, allocations: 0.9453 MB / 0.6125 GB, free: 76.19 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007197/1.099, allocations: 91.89 kB / 0.6126 GB, free: 76.1 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006239/1.105, allocations: 5.836 MB / 0.6183 GB, free: 70.15 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.784e-06/1.105, allocations: 6.906 kB / 0.6183 GB, free: 70.14 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01494/1.12, allocations: 11.38 MB / 0.6294 GB, free: 58.54 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003235/1.123, allocations: 0.9484 MB / 0.6304 GB, free: 57.57 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001054/1.125, allocations: 47.09 kB / 0.6304 GB, free: 57.52 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002379/1.127, allocations: 171.8 kB / 0.6306 GB, free: 57.36 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004576/1.127, allocations: 201 kB / 0.6308 GB, free: 57.16 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002367/1.128, allocations: 113.7 kB / 0.6309 GB, free: 57.05 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.004031/1.132, allocations: 2.974 MB / 0.6338 GB, free: 54.08 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.9e-07/1.132, allocations: 1.406 kB / 0.6338 GB, free: 54.08 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.007383/1.139, allocations: 1.286 MB / 0.635 GB, free: 52.8 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 8 (revolute.phi,revolute.w,rotor1D.phi,rotor1D.w,position1.phi,position1.w,position2.phi,position2.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 (227): * Single equations (assignments): 223 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,77.8%) 13} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01411/1.153, allocations: 12.86 MB / 0.6476 GB, free: 39.82 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01196/1.165, allocations: 8.094 MB / 0.6555 GB, free: 32.14 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.565e-05/1.165, allocations: 4 kB / 0.6555 GB, free: 32.13 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003974/1.169, allocations: 3.161 MB / 0.6586 GB, free: 29.02 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003121/1.172, allocations: 471.2 kB / 0.659 GB, free: 28.57 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2788/1.451, allocations: 146.4 MB / 0.802 GB, free: 111.7 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00319/1.455, allocations: 3.911 MB / 0.8059 GB, free: 110.2 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.00512/1.46, allocations: 2.401 MB / 0.8082 GB, free: 108.7 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002707/1.462, allocations: 2.459 MB / 0.8106 GB, free: 106.2 MB / 478.1 MB Notification: Performance of SimCode: time 8.22e-07/1.462, allocations: 0 / 0.8106 GB, free: 106.2 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1346/1.597, allocations: 104 MB / 0.9121 GB, free: 2.137 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001489/1.597, allocations: 243.6 kB / 0.9124 GB, free: 1.887 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.683/6.28, allocations: 2.188 kB / 0.9124 GB, free: 1.887 MB / 478.1 MB (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_MovingActuatedDrive_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_MovingActuatedDrive.fmu > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive_res.mat does not exist to compare? outputFormat=mat