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.0009198/0.00092, allocations: 90.31 kB / 16.65 MB, free: 6.59 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.0008955/0.0008956, allocations: 184.7 kB / 17.56 MB, free: 6.199 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.54/1.54, allocations: 205.4 MB / 223.7 MB, free: 13.07 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.0004938/0.0004938, allocations: 12 kB / 280.7 MB, free: 3.41 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1134/0.1139, allocations: 47.59 MB / 328.3 MB, free: 3.754 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.FirstGrounded): time 0.002887/0.1168, allocations: 2.032 MB / 330.4 MB, free: 1.703 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001086/0.1179, allocations: 0.6165 MB / 331 MB, free: 1.078 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001262/0.118, allocations: 4 kB / 331 MB, free: 1.074 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001347/0.1182, allocations: 23.78 kB / 331 MB, free: 1.051 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001815/0.1184, allocations: 67.47 kB / 331.1 MB, free: 0.9844 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002097/0.1186, allocations: 43.95 kB / 331.1 MB, free: 0.9414 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003863/0.119, allocations: 250.8 kB / 331.3 MB, free: 0.6953 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001732/0.1192, allocations: 68.77 kB / 331.4 MB, free: 0.6289 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001415/0.1193, allocations: 83.64 kB / 331.5 MB, free: 0.5469 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001555/0.1195, allocations: 99.48 kB / 331.6 MB, free: 460 kB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.795e-05/0.1195, allocations: 8 kB / 331.6 MB, free: 452 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.112e-05/0.1196, allocations: 16 kB / 331.6 MB, free: 436 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 3.892e-05/0.1196, allocations: 35.84 kB / 331.7 MB, free: 400 kB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002703/0.1199, allocations: 129.1 kB / 331.8 MB, free: 264 kB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002326/0.1201, allocations: 231.3 kB / 332 MB, free: 32 kB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.1201, allocations: 0 / 332 MB, free: 32 kB / 270.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.1201, allocations: 0 / 332 MB, free: 32 kB / 270.1 MB Notification: Performance of Transformations before backend: time 5.17e-06/0.1202, allocations: 0 / 332 MB, free: 32 kB / 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.0006688/0.1208, allocations: 487.2 kB / 332.5 MB, free: 15.5 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.708e-05/0.1209, allocations: 12.03 kB / 332.5 MB, free: 15.49 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.25e-05/0.1209, allocations: 24.66 kB / 332.5 MB, free: 15.47 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002683/0.1212, allocations: 244.5 kB / 332.8 MB, free: 15.19 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.469e-05/0.1213, allocations: 16.81 kB / 332.8 MB, free: 15.18 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.28e-05/0.1213, allocations: 24.25 kB / 332.8 MB, free: 15.15 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003721/0.1217, allocations: 214.2 kB / 333 MB, free: 14.93 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.726e-05/0.1217, allocations: 15.98 kB / 333 MB, free: 14.91 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.269e-05/0.1217, allocations: 8 kB / 333 MB, free: 14.91 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.245e-06/0.1218, allocations: 7.938 kB / 333 MB, free: 14.9 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002537/0.122, allocations: 129.7 kB / 333.2 MB, free: 14.77 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001106/0.1231, allocations: 0.717 MB / 333.9 MB, free: 14 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003033/0.1235, allocations: 146.5 kB / 334 MB, free: 13.85 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001326/0.1236, allocations: 72.83 kB / 334.1 MB, free: 13.77 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.578e-05/0.1236, allocations: 4 kB / 334.1 MB, free: 13.77 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.732e-05/0.1237, allocations: 30.56 kB / 334.1 MB, free: 13.73 MB / 286.1 MB Notification: Performance of pre-optimization done (n=20): time 1.302e-06/0.1237, allocations: 0 / 334.1 MB, free: 13.73 MB / 286.1 MB Notification: Performance of matching and sorting (n=24): time 0.00173/0.1254, allocations: 0.8999 MB / 335 MB, free: 12.73 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.645e-05/0.1255, allocations: 55.41 kB / 335.1 MB, free: 12.67 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001735/0.1256, allocations: 182.7 kB / 335.3 MB, free: 12.48 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.896e-05/0.1257, allocations: 25.7 kB / 335.3 MB, free: 12.45 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.029e-05/0.1258, allocations: 144.3 kB / 335.4 MB, free: 12.3 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.925e-05/0.1258, allocations: 86.66 kB / 335.5 MB, free: 12.21 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.112e-05/0.1259, allocations: 29.7 kB / 335.5 MB, free: 12.18 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001283/0.126, allocations: 326.8 kB / 335.9 MB, free: 11.85 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000119/0.1261, allocations: 59.97 kB / 335.9 MB, free: 11.79 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001417/0.1263, allocations: 104.2 kB / 336 MB, free: 11.68 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002834/0.1266, allocations: 172.1 kB / 336.2 MB, free: 11.49 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.1266, allocations: 0 / 336.2 MB, free: 11.49 MB / 286.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004557/0.1271, allocations: 250.1 kB / 336.4 MB, free: 11.24 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.191e-05/0.1271, allocations: 12.11 kB / 336.4 MB, free: 11.23 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.166e-06/0.1271, allocations: 4 kB / 336.4 MB, free: 11.22 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002269/0.1273, allocations: 32.78 kB / 336.5 MB, free: 11.19 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002106/0.1276, allocations: 47.97 kB / 336.5 MB, free: 11.14 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001494/0.1291, allocations: 1.37 MB / 337.9 MB, free: 9.633 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001233/0.1292, allocations: 16.02 kB / 337.9 MB, free: 9.617 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.829e-05/0.1292, allocations: 11.94 kB / 337.9 MB, free: 9.605 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 (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.0001414/0.1294, allocations: 137.8 kB / 338.1 MB, free: 9.461 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.459e-05/0.1294, allocations: 23.78 kB / 338.1 MB, free: 9.438 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.325e-05/0.1295, allocations: 25.86 kB / 338.1 MB, free: 9.414 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/0.1295, allocations: 4 kB / 338.1 MB, free: 9.41 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.1295, allocations: 0 / 338.1 MB, free: 9.41 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.124e-06/0.1295, allocations: 0 / 338.1 MB, free: 9.41 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001006/0.1305, allocations: 0.6673 MB / 338.8 MB, free: 8.672 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/0.1305, allocations: 0 / 338.8 MB, free: 8.672 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002048/0.1308, allocations: 47.97 kB / 338.8 MB, free: 8.625 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001626/0.1309, allocations: 32.97 kB / 338.9 MB, free: 8.59 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.869e-05/0.131, allocations: 15.92 kB / 338.9 MB, free: 8.574 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001328/0.1323, allocations: 1.374 MB / 340.2 MB, free: 7.066 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/0.1323, allocations: 4 kB / 340.2 MB, free: 7.062 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005594/0.1329, allocations: 410.2 kB / 340.7 MB, free: 6.637 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.598e-05/0.1329, allocations: 96.95 kB / 340.7 MB, free: 6.523 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.165e-05/0.133, allocations: 8 kB / 340.8 MB, free: 6.516 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000113/0.1331, allocations: 4 kB / 340.8 MB, free: 6.512 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.569e-05/0.1332, allocations: 23.91 kB / 340.8 MB, free: 6.488 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.05e-05/0.1332, allocations: 4 kB / 340.8 MB, free: 6.484 MB / 286.1 MB Notification: Performance of sorting global known variables: time 9.445e-05/0.1333, allocations: 128.8 kB / 340.9 MB, free: 6.359 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1333, allocations: 0 / 340.9 MB, free: 6.359 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.000311/0.1336, allocations: 60 kB / 341 MB, free: 6.301 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 (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.0001622/0.1338, allocations: 99.25 kB / 341.1 MB, free: 6.191 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.000545/0.1343, allocations: 306.3 kB / 341.4 MB, free: 5.879 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.1343, allocations: 0 / 341.4 MB, free: 5.879 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002918/0.1346, allocations: 215.2 kB / 341.6 MB, free: 5.656 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004495/0.1351, allocations: 35.64 kB / 341.6 MB, free: 5.625 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001262/0.1364, allocations: 0.8526 MB / 342.5 MB, free: 4.746 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003305/0.1367, allocations: 0.7521 MB / 343.2 MB, free: 3.969 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 7.336e-05/0.1368, allocations: 21.95 kB / 343.2 MB, free: 3.945 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.644e-05/0.1368, allocations: 19.44 kB / 343.3 MB, free: 3.926 MB / 286.1 MB Notification: Performance of SimCode: time 3.8e-07/0.1369, allocations: 0 / 343.3 MB, free: 3.926 MB / 286.1 MB Notification: Performance of Templates: time 0.00587/0.1427, allocations: 2.226 MB / 345.5 MB, free: 1.703 MB / 286.1 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.FirstGrounded.makefile (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)