Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.First.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.First,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.First") translateModel(Modelica.Mechanics.Rotational.Examples.First,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.First") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009161/0.0009161, allocations: 89.09 kB / 16.65 MB, free: 6.535 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.0009011/0.0009013, allocations: 175.1 kB / 17.56 MB, free: 6.184 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.552/1.552, 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.0007899/0.00079, allocations: 16 kB / 280.7 MB, free: 3.426 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1179/0.1187, allocations: 47.58 MB / 328.3 MB, free: 3.777 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.First): time 0.002768/0.1215, allocations: 2.04 MB / 330.3 MB, free: 1.719 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001206/0.1227, allocations: 0.6087 MB / 331 MB, free: 1.102 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000198/0.1229, allocations: 7.938 kB / 331 MB, free: 1.094 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001618/0.1231, allocations: 27.78 kB / 331 MB, free: 1.066 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002473/0.1234, allocations: 71.45 kB / 331.1 MB, free: 0.9961 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002386/0.1236, allocations: 39.97 kB / 331.1 MB, free: 0.957 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003557/0.124, allocations: 266.7 kB / 331.4 MB, free: 0.6953 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002467/0.1243, allocations: 83.31 kB / 331.4 MB, free: 0.6133 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002117/0.1245, allocations: 95.56 kB / 331.5 MB, free: 0.5195 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000178/0.1247, allocations: 103.5 kB / 331.6 MB, free: 428 kB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.001e-05/0.1247, allocations: 8 kB / 331.6 MB, free: 420 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.863e-05/0.1248, allocations: 12 kB / 331.7 MB, free: 408 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 4.736e-05/0.1248, allocations: 43.77 kB / 331.7 MB, free: 364 kB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001335/0.125, allocations: 133.1 kB / 331.8 MB, free: 224 kB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002903/0.1253, allocations: 251.2 kB / 332.1 MB, free: 15.97 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.1253, allocations: 0 / 332.1 MB, free: 15.97 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.734e-06/0.1253, allocations: 0 / 332.1 MB, free: 15.97 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.608e-06/0.1253, allocations: 3.938 kB / 332.1 MB, free: 15.97 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0008094/0.1261, allocations: 491 kB / 332.6 MB, free: 15.44 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.789e-05/0.1262, allocations: 12.03 kB / 332.6 MB, free: 15.43 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.942e-05/0.1263, allocations: 24.66 kB / 332.6 MB, free: 15.4 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002816/0.1265, allocations: 240.6 kB / 332.8 MB, free: 15.13 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.07e-05/0.1266, allocations: 20.81 kB / 332.8 MB, free: 15.11 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.106e-05/0.1266, allocations: 20.38 kB / 332.9 MB, free: 15.09 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004071/0.127, allocations: 203.6 kB / 333.1 MB, free: 14.88 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.978e-05/0.1271, allocations: 3.906 kB / 333.1 MB, free: 14.88 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.306e-05/0.1271, allocations: 12 kB / 333.1 MB, free: 14.87 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/0.1271, allocations: 4 kB / 333.1 MB, free: 14.86 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002977/0.1274, allocations: 145.6 kB / 333.2 MB, free: 14.72 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001052/0.1285, allocations: 0.6307 MB / 333.9 MB, free: 14.04 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003019/0.1288, allocations: 186.5 kB / 334 MB, free: 13.85 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001785/0.129, allocations: 104.5 kB / 334.1 MB, free: 13.75 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.619e-05/0.129, allocations: 4 kB / 334.1 MB, free: 13.75 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.037e-05/0.1291, allocations: 38.59 kB / 334.2 MB, free: 13.7 MB / 286.1 MB Notification: Performance of pre-optimization done (n=24): time 1.873e-06/0.1291, allocations: 0 / 334.2 MB, free: 13.7 MB / 286.1 MB Notification: Performance of matching and sorting (n=32): time 0.001999/0.1311, allocations: 1.081 MB / 335.3 MB, free: 12.53 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.377e-05/0.1311, allocations: 59.34 kB / 335.3 MB, free: 12.46 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001885/0.1313, allocations: 194.8 kB / 335.5 MB, free: 12.26 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.531e-05/0.1314, allocations: 29.7 kB / 335.5 MB, free: 12.22 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.078e-05/0.1315, allocations: 136.7 kB / 335.7 MB, free: 12.09 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.812e-05/0.1316, allocations: 118.3 kB / 335.8 MB, free: 11.97 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.531e-05/0.1316, allocations: 29.7 kB / 335.8 MB, free: 11.93 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001209/0.1317, allocations: 338.8 kB / 336.2 MB, free: 11.59 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001445/0.1319, allocations: 67.97 kB / 336.2 MB, free: 11.53 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001617/0.1321, allocations: 110.3 kB / 336.3 MB, free: 11.41 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003152/0.1324, allocations: 204.7 kB / 336.5 MB, free: 11.2 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.1324, allocations: 0 / 336.5 MB, free: 11.2 MB / 286.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0005021/0.1329, allocations: 290 kB / 336.8 MB, free: 10.91 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/0.1329, allocations: 4 kB / 336.8 MB, free: 10.91 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/0.1329, allocations: 7.984 kB / 336.8 MB, free: 10.9 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001739/0.1331, allocations: 40.91 kB / 336.9 MB, free: 10.86 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002355/0.1334, allocations: 63.91 kB / 336.9 MB, free: 10.79 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001457/0.1348, allocations: 1.561 MB / 338.5 MB, free: 9.094 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001449/0.135, allocations: 15.98 kB / 338.5 MB, free: 9.078 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.974e-05/0.135, allocations: 8.188 kB / 338.5 MB, free: 9.07 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (32): * Single equations (assignments): 31 * 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,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001511/0.1352, allocations: 133.8 kB / 338.6 MB, free: 8.93 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.909e-05/0.1352, allocations: 23.72 kB / 338.7 MB, free: 8.906 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.871e-05/0.1353, allocations: 38.66 kB / 338.7 MB, free: 8.871 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.009e-05/0.1353, allocations: 15.92 kB / 338.7 MB, free: 8.855 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.275e-06/0.1353, allocations: 0 / 338.7 MB, free: 8.855 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.95e-06/0.1354, allocations: 0 / 338.7 MB, free: 8.855 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001224/0.1366, allocations: 0.7814 MB / 339.5 MB, free: 7.996 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.1366, allocations: 0 / 339.5 MB, free: 7.996 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002657/0.1369, allocations: 67.84 kB / 339.6 MB, free: 7.93 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001319/0.137, allocations: 36.92 kB / 339.6 MB, free: 7.891 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.102e-05/0.137, allocations: 8 kB / 339.6 MB, free: 7.883 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001308/0.1384, allocations: 1.378 MB / 341 MB, free: 6.371 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.1384, allocations: 0 / 341 MB, free: 6.371 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007396/0.1391, allocations: 494.4 kB / 341.5 MB, free: 5.859 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.422e-05/0.1392, allocations: 96.83 kB / 341.6 MB, free: 5.746 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.908e-05/0.1392, allocations: 19.88 kB / 341.6 MB, free: 5.727 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001379/0.1394, allocations: 12.03 kB / 341.6 MB, free: 5.715 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.776e-05/0.1395, allocations: 23.91 kB / 341.6 MB, free: 5.691 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.632e-05/0.1395, allocations: 8 kB / 341.6 MB, free: 5.684 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001234/0.1396, allocations: 135.2 kB / 341.8 MB, free: 5.551 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1396, allocations: 0 / 341.8 MB, free: 5.551 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004094/0.1401, allocations: 64 kB / 341.8 MB, free: 5.488 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (29): * Single equations (assignments): 28 * 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.0001553/0.1402, allocations: 107.2 kB / 341.9 MB, free: 5.375 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0006165/0.1408, allocations: 331.8 kB / 342.2 MB, free: 5.039 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.1409, allocations: 0 / 342.2 MB, free: 5.039 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003523/0.1412, allocations: 246.8 kB / 342.5 MB, free: 4.785 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005066/0.1417, allocations: 47.91 kB / 342.5 MB, free: 4.738 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001438/0.1432, allocations: 0.9063 MB / 343.4 MB, free: 3.793 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003869/0.1436, allocations: 0.7522 MB / 344.2 MB, free: 3.016 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001003/0.1437, allocations: 30.27 kB / 344.2 MB, free: 2.988 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.892e-05/0.1438, allocations: 23.38 kB / 344.2 MB, free: 2.965 MB / 286.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1438, allocations: 0 / 344.2 MB, free: 2.965 MB / 286.1 MB Notification: Performance of Templates: time 0.00626/0.15, allocations: 2.481 MB / 346.7 MB, free: 496 kB / 286.1 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.First.makefile (rm -f Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.First.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.First.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.First.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.First.sim & ./Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.First -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.First.pipe 2>&1)