Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_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.1_Modelica.Mechanics.Rotational.Examples.FirstGrounded") translateModel(Modelica.Mechanics.Rotational.Examples.FirstGrounded,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_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.01074/0.01074, allocations: 102.5 kB / 15.73 MB, free: 6.07 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.001812/0.001812, allocations: 190.8 kB / 16.67 MB, free: 5.977 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.544/1.544, allocations: 205.1 MB / 222.6 MB, free: 4.414 MB / 174.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.001215/0.001215, allocations: 46.56 kB / 326.5 MB, free: 14.45 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1068/0.1081, allocations: 46.63 MB / 373.2 MB, free: 1.312 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.FirstGrounded): time 0.004466/0.1126, allocations: 2.341 MB / 375.5 MB, free: 14.95 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001215/0.1138, allocations: 0.6278 MB / 376.1 MB, free: 14.32 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001572/0.114, allocations: 4 kB / 376.1 MB, free: 14.31 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001955/0.1142, allocations: 35.66 kB / 376.2 MB, free: 14.28 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001588/0.1144, allocations: 71.34 kB / 376.2 MB, free: 14.21 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002438/0.1146, allocations: 47.88 kB / 376.3 MB, free: 14.16 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003181/0.115, allocations: 262.8 kB / 376.5 MB, free: 13.9 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002233/0.1152, allocations: 92.27 kB / 376.6 MB, free: 13.81 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001687/0.1154, allocations: 103.6 kB / 376.7 MB, free: 13.71 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001672/0.1156, allocations: 103.5 kB / 376.8 MB, free: 13.61 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.356e-05/0.1156, allocations: 19.94 kB / 376.9 MB, free: 13.59 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.121e-05/0.1157, allocations: 20 kB / 376.9 MB, free: 13.57 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.125e-05/0.1157, allocations: 47.83 kB / 376.9 MB, free: 13.52 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001312/0.1159, allocations: 111.5 kB / 377 MB, free: 13.41 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000345/0.1162, allocations: 250.9 kB / 377.3 MB, free: 13.17 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.1162, allocations: 4 kB / 377.3 MB, free: 13.16 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.1162, allocations: 0 / 377.3 MB, free: 13.16 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.196e-05/0.1162, allocations: 4 kB / 377.3 MB, free: 13.16 MB / 318.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.0008246/0.1171, allocations: 0.5105 MB / 377.8 MB, free: 12.6 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.038e-05/0.1172, allocations: 8.031 kB / 377.8 MB, free: 12.59 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.133e-05/0.1172, allocations: 24.8 kB / 377.8 MB, free: 12.57 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003904/0.1176, allocations: 244.6 kB / 378.1 MB, free: 12.29 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.462e-05/0.1177, allocations: 24.73 kB / 378.1 MB, free: 12.27 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.12e-05/0.1177, allocations: 24.38 kB / 378.1 MB, free: 12.25 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004016/0.1181, allocations: 210.2 kB / 378.3 MB, free: 12.03 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.416e-05/0.1182, allocations: 11.89 kB / 378.3 MB, free: 12.02 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.289e-05/0.1182, allocations: 8 kB / 378.3 MB, free: 12.01 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.518e-06/0.1182, allocations: 4 kB / 378.3 MB, free: 12 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002663/0.1185, allocations: 125.7 kB / 378.5 MB, free: 11.88 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001023/0.1195, allocations: 0.7017 MB / 379.2 MB, free: 11.12 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002625/0.1198, allocations: 146.5 kB / 379.3 MB, free: 10.97 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001381/0.1199, allocations: 72.83 kB / 379.4 MB, free: 10.9 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.375e-05/0.12, allocations: 0 / 379.4 MB, free: 10.9 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.117e-05/0.12, allocations: 46.5 kB / 379.4 MB, free: 10.84 MB / 318.1 MB Notification: Performance of pre-optimization done (n=20): time 1.183e-06/0.12, allocations: 0 / 379.4 MB, free: 10.84 MB / 318.1 MB Notification: Performance of matching and sorting (n=24): time 0.001541/0.1216, allocations: 0.8895 MB / 380.3 MB, free: 9.859 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.769e-05/0.1216, allocations: 59.41 kB / 380.4 MB, free: 9.789 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001495/0.1218, allocations: 174.7 kB / 380.5 MB, free: 9.602 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.123e-05/0.1218, allocations: 29.7 kB / 380.6 MB, free: 9.566 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.946e-05/0.1219, allocations: 144.4 kB / 380.7 MB, free: 9.422 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.087e-05/0.122, allocations: 87.22 kB / 380.8 MB, free: 9.336 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.799e-05/0.1221, allocations: 49.7 kB / 380.8 MB, free: 9.281 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001756/0.1223, allocations: 330.8 kB / 381.2 MB, free: 8.949 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001247/0.1224, allocations: 59.97 kB / 381.2 MB, free: 8.891 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001395/0.1225, allocations: 96.25 kB / 381.3 MB, free: 8.781 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002636/0.1228, allocations: 176.1 kB / 381.5 MB, free: 8.594 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.1228, allocations: 4 kB / 381.5 MB, free: 8.59 MB / 318.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004649/0.1233, allocations: 250.1 kB / 381.7 MB, free: 8.336 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.1233, allocations: 4 kB / 381.7 MB, free: 8.332 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/0.1233, allocations: 4 kB / 381.8 MB, free: 8.328 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001808/0.1235, allocations: 32.95 kB / 381.8 MB, free: 8.293 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002209/0.1237, allocations: 59.91 kB / 381.8 MB, free: 8.234 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00119/0.1249, allocations: 1.477 MB / 383.3 MB, free: 6.617 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001072/0.1251, allocations: 12.03 kB / 383.3 MB, free: 6.605 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.593e-05/0.1251, allocations: 8 kB / 383.3 MB, free: 6.598 MB / 318.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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001968/0.1253, allocations: 137.7 kB / 383.5 MB, free: 6.453 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.027e-05/0.1253, allocations: 19.86 kB / 383.5 MB, free: 6.434 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.333e-05/0.1254, allocations: 29.86 kB / 383.5 MB, free: 6.398 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.1254, allocations: 8 kB / 383.5 MB, free: 6.391 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/0.1254, allocations: 4 kB / 383.5 MB, free: 6.387 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.1254, allocations: 0 / 383.5 MB, free: 6.387 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009194/0.1264, allocations: 0.6364 MB / 384.2 MB, free: 5.68 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.459e-06/0.1264, allocations: 4 kB / 384.2 MB, free: 5.676 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002003/0.1266, allocations: 47.97 kB / 384.2 MB, free: 5.629 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001576/0.1268, allocations: 44.89 kB / 384.3 MB, free: 5.582 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.738e-05/0.1268, allocations: 8 kB / 384.3 MB, free: 5.574 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001068/0.1279, allocations: 1.485 MB / 385.8 MB, free: 3.949 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.1279, allocations: 0 / 385.8 MB, free: 3.949 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005211/0.1284, allocations: 410 kB / 386.2 MB, free: 3.523 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.308e-05/0.1285, allocations: 92.97 kB / 386.2 MB, free: 3.414 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.616e-05/0.1285, allocations: 8 kB / 386.3 MB, free: 3.406 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001166/0.1286, allocations: 12.03 kB / 386.3 MB, free: 3.395 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.626e-05/0.1287, allocations: 15.92 kB / 386.3 MB, free: 3.379 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.319e-05/0.1287, allocations: 8 kB / 386.3 MB, free: 3.371 MB / 318.1 MB Notification: Performance of sorting global known variables: time 9.14e-05/0.1288, allocations: 140.8 kB / 386.4 MB, free: 3.234 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1288, allocations: 0 / 386.4 MB, free: 3.234 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000307/0.1291, allocations: 56 kB / 386.5 MB, free: 3.18 MB / 318.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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001149/0.1292, allocations: 103.2 kB / 386.6 MB, free: 3.07 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0005125/0.1297, allocations: 294.8 kB / 386.9 MB, free: 2.77 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.1298, allocations: 4.062 kB / 386.9 MB, free: 2.766 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002715/0.13, allocations: 202.6 kB / 387.1 MB, free: 2.555 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004046/0.1305, allocations: 51.83 kB / 387.1 MB, free: 2.504 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001092/0.1316, allocations: 0.6765 MB / 387.8 MB, free: 1.793 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003147/0.1319, allocations: 0.752 MB / 388.6 MB, free: 1.016 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 7.013e-05/0.132, allocations: 17.95 kB / 388.6 MB, free: 1 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.605e-05/0.132, allocations: 15.44 kB / 388.6 MB, free: 0.9844 MB / 318.1 MB Notification: Performance of SimCode: time 2.7e-07/0.132, allocations: 0 / 388.6 MB, free: 0.9844 MB / 318.1 MB Notification: Performance of Templates: time 0.005478/0.1375, allocations: 2.417 MB / 391 MB, free: 14.57 MB / 334.1 MB make -j1 -f Modelica_3.1_Modelica.Mechanics.Rotational.Examples.FirstGrounded.makefile (rm -f Modelica_3.1_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; mkfifo Modelica_3.1_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe >> ../files/Modelica_3.1_Modelica.Mechanics.Rotational.Examples.FirstGrounded.sim & ./Modelica_3.1_Modelica.Mechanics.Rotational.Examples.FirstGrounded -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe 2>&1)