Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo", uses=false) Using package ModelicaServices with version 1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo) Using package Modelica with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a") translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo): time 0.8134/0.8134, allocations: 110.8 MB / 118.3 MB, free: 14.47 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001688/0.001688, allocations: 151.4 kB / 144 MB, free: 4.797 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 1.266e-05/1.268e-05, allocations: 4 kB / 173.9 MB, free: 22.79 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.03929/0.03932, allocations: 25.18 MB / 199 MB, free: 13.68 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1866/0.2259, allocations: 49.36 MB / 248.4 MB, free: 20.02 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002167/0.2262, allocations: 72.33 kB / 248.5 MB, free: 20.02 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9481/1.174, allocations: 265.8 MB / 0.5022 GB, free: 5.895 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.844e-06/1.174, allocations: 0 / 0.5022 GB, free: 5.895 MB / 234.7 MB Notification: Performance of Transformations before backend: time 0.0007997/1.175, allocations: 188 kB / 0.5024 GB, free: 5.711 MB / 234.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3032 * Number of variables: 3032 Notification: Performance of Generate backend data structure: time 0.04457/1.22, allocations: 11.9 MB / 0.514 GB, free: 9.715 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.708e-05/1.22, allocations: 12.03 kB / 0.5141 GB, free: 9.703 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3399/1.56, allocations: 40.51 MB / 0.5536 GB, free: 24.4 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03941/1.599, allocations: 15.69 MB / 0.5689 GB, free: 23.59 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007298/1.6, allocations: 297.1 kB / 0.5692 GB, free: 23.59 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007247/1.607, allocations: 0.5359 MB / 0.5697 GB, free: 23.58 MB / 250.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03894/1.646, allocations: 20.7 MB / 0.59 GB, free: 14.79 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07272/1.719, allocations: 24.52 MB / 0.6139 GB, free: 10.27 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001048/1.72, allocations: 88.55 kB / 0.614 GB, free: 10.21 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007197/1.727, allocations: 28 kB / 0.614 GB, free: 10.18 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.2258/1.953, allocations: 11.15 MB / 0.6249 GB, free: 35.44 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6907/2.644, allocations: 158.5 MB / 0.7797 GB, free: 26.23 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008032/2.652, allocations: 7.61 MB / 0.7871 GB, free: 25.38 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006379/2.658, allocations: 5.504 MB / 0.7925 GB, free: 25.25 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001016/2.659, allocations: 0.8631 MB / 0.7933 GB, free: 24.59 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.684e-05/2.66, allocations: 87.27 kB / 0.7934 GB, free: 24.54 MB / 282.7 MB Notification: Performance of pre-optimization done (n=441): time 1.918e-05/2.66, allocations: 0 / 0.7934 GB, free: 24.54 MB / 282.7 MB Notification: Performance of matching and sorting (n=503): time 0.1074/2.767, allocations: 53.97 MB / 0.8461 GB, free: 2.551 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002928/2.767, allocations: 0.6086 MB / 0.8467 GB, free: 1.809 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1819/2.949, allocations: 6.533 MB / 0.8531 GB, free: 62.67 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001221/2.951, allocations: 27.89 kB / 0.8531 GB, free: 62.64 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004086/2.955, allocations: 6.207 MB / 0.8592 GB, free: 60.29 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002261/2.957, allocations: 1.75 MB / 0.8609 GB, free: 59.21 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009652/2.958, allocations: 1.312 kB / 0.8609 GB, free: 59.21 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0005495/2.958, allocations: 0.7737 MB / 0.8617 GB, free: 58.88 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006744/2.965, allocations: 5.482 MB / 0.867 GB, free: 58.86 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009861/2.975, allocations: 11.42 MB / 0.8782 GB, free: 51.26 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009158/2.984, allocations: 7.064 MB / 0.8851 GB, free: 51.2 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.00017/2.984, allocations: 62.66 kB / 0.8851 GB, free: 51.2 MB / 298.7 MB Notification: Performance of matching and sorting (n=1457) (initialization): time 0.04144/3.026, allocations: 19.88 MB / 0.9045 GB, free: 45.82 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001581/3.026, allocations: 92.75 kB / 0.9046 GB, free: 45.82 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005052/3.027, allocations: 353.8 kB / 0.905 GB, free: 45.79 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01568/3.042, allocations: 5.426 MB / 0.9103 GB, free: 44.87 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008987/3.051, allocations: 2.523 MB / 0.9127 GB, free: 44.59 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0303/3.082, allocations: 26.04 MB / 0.9382 GB, free: 27.75 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01814/3.1, allocations: 1.786 MB / 0.9399 GB, free: 26.7 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003834/3.104, allocations: 0.8102 MB / 0.9407 GB, free: 25.96 MB / 298.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: B1.frame_b.r_0[2]:DUMMY_STATE(flow=false unit = "m" ) "Position vector from world frame to the connector frame origin, resolved in world frame" type: Real [3] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 950 * Number of states: 0 () * Number of discrete variables: 63 (cylPosition.color[3],cylPosition.color[2],cylPosition.color[1],Cylinder.boxColor[3],Cylinder.boxColor[2],Cylinder.boxColor[1],Mid.color[3],Mid.color[2],Mid.color[1],B1.cylinderColor[3],B1.cylinderColor[2],B1.cylinderColor[1],Crank2.color[3],Crank2.color[2],Crank2.color[1],Crank2.body.sphereColor[3],Crank2.body.sphereColor[2],Crank2.body.sphereColor[1],Crank1.color[3],Crank1.color[2],Crank1.color[1],Crank1.body.sphereColor[3],Crank1.body.sphereColor[2],Crank1.body.sphereColor[1],Crank3.color[3],Crank3.color[2],Crank3.color[1],Crank3.body.sphereColor[3],Crank3.body.sphereColor[2],Crank3.body.sphereColor[1],Crank4.color[3],Crank4.color[2],Crank4.color[1],Crank4.body.sphereColor[3],Crank4.body.sphereColor[2],Crank4.body.sphereColor[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],Bearing.cylinderColor[3],Bearing.cylinderColor[2],Bearing.cylinderColor[1],B2.cylinderColor[3],B2.cylinderColor[2],B2.cylinderColor[1],Rod.color[3],Rod.color[2],Rod.color[1],Rod.body.sphereColor[3],Rod.body.sphereColor[2],Rod.body.sphereColor[1],Piston.color[3],Piston.color[2],Piston.color[1],Piston.body.sphereColor[3],Piston.body.sphereColor[2],Piston.body.sphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1289): * Single equations (assignments): 1267 * Array equations: 19 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(7,55.1%) 94,(2,100.0%) 6} * Non-linear torn systems: 1 {2 4} Notification: Performance of prepare postOptimizeDAE: time 0.00614/3.11, allocations: 0.6418 MB / 0.9413 GB, free: 25.32 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003103/3.113, allocations: 0.7153 MB / 0.942 GB, free: 24.59 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2188/3.332, allocations: 12.01 MB / 0.9537 GB, free: 50.86 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03215/3.364, allocations: 13.08 MB / 0.9665 GB, free: 50.64 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.938e-05/3.364, allocations: 23.62 kB / 0.9665 GB, free: 50.64 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001284/3.364, allocations: 27.86 kB / 0.9666 GB, free: 50.64 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08557/3.45, allocations: 37.31 MB / 1.003 GB, free: 45.62 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.024e-05/3.45, allocations: 19.88 kB / 1.003 GB, free: 45.62 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002856/3.453, allocations: 0.6357 MB / 1.004 GB, free: 45.62 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01386/3.467, allocations: 4.55 MB / 1.008 GB, free: 44.84 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001127/3.468, allocations: 103.5 kB / 1.008 GB, free: 44.83 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02788/3.496, allocations: 23.5 MB / 1.031 GB, free: 33.53 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-05/3.496, allocations: 33.86 kB / 1.031 GB, free: 33.53 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03121/3.527, allocations: 23.03 MB / 1.054 GB, free: 13.14 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.1725/3.7, allocations: 1.743 MB / 1.055 GB, free: 49.92 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003294/3.703, allocations: 27.25 kB / 1.055 GB, free: 49.92 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01141/3.714, allocations: 1.422 MB / 1.057 GB, free: 49.92 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00149/3.716, allocations: 358 kB / 1.057 GB, free: 49.92 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009167/3.717, allocations: 303.5 kB / 1.057 GB, free: 49.92 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.008626/3.725, allocations: 4.437 MB / 1.062 GB, free: 49.7 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.51e-07/3.725, allocations: 3.594 kB / 1.062 GB, free: 49.7 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.01292/3.738, allocations: 2.146 MB / 1.064 GB, free: 49.7 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 81 * Number of states: 2 (Inertia.phi,Inertia.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (360): * Single equations (assignments): 345 * Array equations: 12 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(7,55.1%) 87,(2,100.0%) 4} * Non-linear torn systems: 1 {2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.001226/3.74, allocations: 203.2 kB / 1.064 GB, free: 49.61 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.02032/3.76, allocations: 13.26 MB / 1.077 GB, free: 49.15 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.536e-05/3.76, allocations: 3.844 kB / 1.077 GB, free: 49.15 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009385/3.769, allocations: 5.586 MB / 1.082 GB, free: 48.67 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006456/3.776, allocations: 0.9225 MB / 1.083 GB, free: 48.64 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03701/3.813, allocations: 19.4 MB / 1.102 GB, free: 44.82 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01074/3.824, allocations: 6.79 MB / 1.109 GB, free: 43.41 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.01234/3.836, allocations: 3.852 MB / 1.113 GB, free: 43.3 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003758/3.84, allocations: 0.8211 MB / 1.113 GB, free: 43.22 MB / 298.7 MB Notification: Performance of SimCode: time 1.001e-06/3.84, allocations: 0 / 1.113 GB, free: 43.22 MB / 298.7 MB Notification: Performance of Templates: time 0.3435/4.183, allocations: 113.6 MB / 1.224 GB, free: 36.86 MB / 298.7 MB make -j1 -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.makefile (rm -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe ; mkfifo Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe >> ../files/Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.sim & ./Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe 2>&1)