Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.FirstGrounded.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: translateModel(Modelica.Mechanics.Rotational.Examples.FirstGrounded,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.FirstGrounded") translateModel(Modelica.Mechanics.Rotational.Examples.FirstGrounded,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.FirstGrounded") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009418/0.0009419, allocations: 92.53 kB / 16.3 MB, free: 5.539 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.0008958/0.0008958, allocations: 185.8 kB / 17.2 MB, free: 5.473 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.373/1.373, allocations: 205.4 MB / 223.3 MB, free: 13.18 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.0004454/0.0004457, allocations: 12 kB / 280.1 MB, free: 3.758 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09638/0.09684, allocations: 47.59 MB / 327.7 MB, free: 4.105 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.FirstGrounded): time 0.002494/0.09939, allocations: 1.874 MB / 329.6 MB, free: 2.215 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001142/0.1006, allocations: 0.6091 MB / 330.2 MB, free: 1.598 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000163/0.1007, allocations: 7.938 kB / 330.2 MB, free: 1.59 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 5.906e-05/0.1008, allocations: 19.84 kB / 330.2 MB, free: 1.57 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002269/0.1011, allocations: 83.73 kB / 330.3 MB, free: 1.488 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001848/0.1012, allocations: 39.95 kB / 330.3 MB, free: 1.449 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002869/0.1015, allocations: 179.6 kB / 330.5 MB, free: 1.273 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001674/0.1017, allocations: 68.75 kB / 330.6 MB, free: 1.207 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001709/0.1019, allocations: 83.64 kB / 330.7 MB, free: 1.125 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000152/0.1021, allocations: 91.61 kB / 330.7 MB, free: 1.035 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.949e-05/0.1021, allocations: 15.94 kB / 330.8 MB, free: 1.02 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.397e-05/0.1021, allocations: 12 kB / 330.8 MB, free: 1.008 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 3.113e-05/0.1022, allocations: 31.84 kB / 330.8 MB, free: 0.9766 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 6.865e-05/0.1023, allocations: 69.58 kB / 330.9 MB, free: 0.9023 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001774/0.1024, allocations: 171.7 kB / 331 MB, free: 0.7344 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.1025, allocations: 4 kB / 331 MB, free: 0.7305 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.1025, allocations: 4 kB / 331 MB, free: 0.7266 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.082e-06/0.1025, allocations: 0 / 331 MB, free: 0.7266 MB / 270.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0006979/0.1032, allocations: 486.9 kB / 331.5 MB, free: 204 kB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.413e-05/0.1032, allocations: 8.031 kB / 331.5 MB, free: 196 kB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.992e-05/0.1033, allocations: 23.72 kB / 331.5 MB, free: 172 kB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003215/0.1036, allocations: 247.2 kB / 331.8 MB, free: 15.89 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.144e-05/0.1036, allocations: 20.44 kB / 331.8 MB, free: 15.87 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.756e-05/0.1037, allocations: 16 kB / 331.8 MB, free: 15.85 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003707/0.1041, allocations: 205.9 kB / 332 MB, free: 15.64 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.726e-05/0.1041, allocations: 7.938 kB / 332 MB, free: 15.63 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.119e-05/0.1041, allocations: 8 kB / 332 MB, free: 15.62 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.556e-06/0.1041, allocations: 4 kB / 332 MB, free: 15.62 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002609/0.1044, allocations: 137.6 kB / 332.2 MB, free: 15.48 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001022/0.1054, allocations: 0.7094 MB / 332.9 MB, free: 14.72 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002743/0.1057, allocations: 146.5 kB / 333 MB, free: 14.57 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.92e-05/0.1058, allocations: 0 / 333 MB, free: 14.57 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.77e-05/0.1058, allocations: 46.89 kB / 333.1 MB, free: 14.51 MB / 286.1 MB Notification: Performance of pre-optimization done (n=20): time 1.032e-06/0.1058, allocations: 0 / 333.1 MB, free: 14.51 MB / 286.1 MB Notification: Performance of matching and sorting (n=24): time 0.00156/0.1074, allocations: 0.8864 MB / 334 MB, free: 13.53 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.568e-05/0.1074, allocations: 55.41 kB / 334 MB, free: 13.46 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001838/0.1076, allocations: 174.6 kB / 334.2 MB, free: 13.28 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.133e-05/0.1076, allocations: 29.7 kB / 334.2 MB, free: 13.25 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.897e-05/0.1077, allocations: 144.3 kB / 334.4 MB, free: 13.1 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.891e-05/0.1078, allocations: 86.66 kB / 334.4 MB, free: 13.02 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.927e-06/0.1078, allocations: 8 kB / 334.5 MB, free: 13.01 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001331/0.108, allocations: 334.8 kB / 334.8 MB, free: 12.67 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001155/0.1081, allocations: 55.91 kB / 334.8 MB, free: 12.62 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001334/0.1082, allocations: 100.2 kB / 334.9 MB, free: 12.5 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001478/0.1084, allocations: 79.92 kB / 335 MB, free: 12.43 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.1084, allocations: 0 / 335 MB, free: 12.43 MB / 286.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004292/0.1088, allocations: 246 kB / 335.3 MB, free: 12.18 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.1089, allocations: 12.12 kB / 335.3 MB, free: 12.16 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.218e-06/0.1089, allocations: 3.953 kB / 335.3 MB, free: 12.16 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001587/0.109, allocations: 28.84 kB / 335.3 MB, free: 12.13 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002157/0.1093, allocations: 55.91 kB / 335.3 MB, free: 12.07 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001203/0.1105, allocations: 1.386 MB / 336.7 MB, free: 10.55 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001217/0.1106, allocations: 8.031 kB / 336.7 MB, free: 10.54 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.741e-05/0.1106, allocations: 12 kB / 336.8 MB, free: 10.53 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (28): * Single equations (assignments): 27 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001183/0.1108, allocations: 133.8 kB / 336.9 MB, free: 10.39 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.813e-05/0.1108, allocations: 19.81 kB / 336.9 MB, free: 10.37 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.962e-05/0.1109, allocations: 29.81 kB / 336.9 MB, free: 10.34 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.554e-06/0.1109, allocations: 4 kB / 336.9 MB, free: 10.34 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.1109, allocations: 0 / 336.9 MB, free: 10.34 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.1109, allocations: 0 / 336.9 MB, free: 10.34 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000902/0.1118, allocations: 0.6569 MB / 337.6 MB, free: 9.613 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.059e-06/0.1118, allocations: 3.984 kB / 337.6 MB, free: 9.609 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002162/0.112, allocations: 43.92 kB / 337.6 MB, free: 9.566 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001159/0.1122, allocations: 36.83 kB / 337.7 MB, free: 9.527 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.789e-05/0.1122, allocations: 12.06 kB / 337.7 MB, free: 9.516 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001087/0.1133, allocations: 1.386 MB / 339.1 MB, free: 7.996 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.1133, allocations: 4.062 kB / 339.1 MB, free: 7.992 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005865/0.1139, allocations: 429.6 kB / 339.5 MB, free: 7.535 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.514e-05/0.114, allocations: 88.92 kB / 339.6 MB, free: 7.43 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.749e-05/0.114, allocations: 8 kB / 339.6 MB, free: 7.422 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000127/0.1141, allocations: 15.97 kB / 339.6 MB, free: 7.406 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.977e-05/0.1142, allocations: 15.92 kB / 339.6 MB, free: 7.391 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.223e-05/0.1142, allocations: 8 kB / 339.6 MB, free: 7.383 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001038/0.1143, allocations: 132.8 kB / 339.8 MB, free: 7.254 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1143, allocations: 4 kB / 339.8 MB, free: 7.25 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003268/0.1147, allocations: 59.95 kB / 339.8 MB, free: 7.191 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (inertia3.phi,inertia3.w,damper.phi_rel,damper.w_rel) * 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 (21): * Single equations (assignments): 20 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001269/0.1148, allocations: 99.25 kB / 339.9 MB, free: 7.082 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0005366/0.1153, allocations: 310.5 kB / 340.2 MB, free: 6.766 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.1154, allocations: 3.938 kB / 340.2 MB, free: 6.762 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003266/0.1157, allocations: 206.6 kB / 340.4 MB, free: 6.547 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003503/0.116, allocations: 31.97 kB / 340.5 MB, free: 6.516 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00126/0.1173, allocations: 0.8253 MB / 341.3 MB, free: 5.664 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003501/0.1177, allocations: 0.7521 MB / 342 MB, free: 4.887 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 8.432e-05/0.1178, allocations: 25.94 kB / 342.1 MB, free: 4.859 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.32e-05/0.1178, allocations: 15.44 kB / 342.1 MB, free: 4.844 MB / 286.1 MB Notification: Performance of SimCode: time 6.22e-07/0.1178, allocations: 0 / 342.1 MB, free: 4.844 MB / 286.1 MB Notification: Performance of Templates: time 0.005282/0.1231, allocations: 2.139 MB / 344.2 MB, free: 2.711 MB / 286.1 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.FirstGrounded.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.FirstGrounded.sim & ./Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.FirstGrounded -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe 2>&1) Environment - environmentSimulation: