Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_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.1_Modelica.Mechanics.Rotational.Examples.First") translateModel(Modelica.Mechanics.Rotational.Examples.First,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_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.006877/0.006877, allocations: 102.8 kB / 15.73 MB, free: 6.055 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.00129/0.00129, allocations: 194.4 kB / 16.67 MB, free: 5.973 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.542/1.542, allocations: 205.1 MB / 222.5 MB, free: 12.22 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.001531/0.001531, allocations: 55.94 kB / 326.5 MB, free: 3.293 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1036/0.1052, allocations: 46.62 MB / 373.2 MB, free: 4.566 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.First): time 0.004124/0.1094, allocations: 2.332 MB / 375.5 MB, free: 2.219 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001331/0.1107, allocations: 0.6356 MB / 376.1 MB, free: 1.574 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000261/0.111, allocations: 7.938 kB / 376.1 MB, free: 1.566 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002238/0.1113, allocations: 39.64 kB / 376.2 MB, free: 1.527 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002662/0.1116, allocations: 75.33 kB / 376.2 MB, free: 1.453 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002654/0.1118, allocations: 51.88 kB / 376.3 MB, free: 1.402 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003674/0.1122, allocations: 274.7 kB / 376.6 MB, free: 1.133 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002246/0.1124, allocations: 98.73 kB / 376.7 MB, free: 1.035 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002096/0.1127, allocations: 115.6 kB / 376.8 MB, free: 0.9219 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002154/0.1129, allocations: 107.5 kB / 376.9 MB, free: 0.8164 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.05e-05/0.113, allocations: 24 kB / 376.9 MB, free: 0.793 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.886e-05/0.113, allocations: 24 kB / 376.9 MB, free: 0.7695 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.462e-05/0.1131, allocations: 51.77 kB / 377 MB, free: 0.7188 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001289/0.1132, allocations: 123.4 kB / 377.1 MB, free: 0.5977 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004041/0.1136, allocations: 267 kB / 377.4 MB, free: 344 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.481e-06/0.1136, allocations: 0 / 377.4 MB, free: 344 kB / 318.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1136, allocations: 0 / 377.4 MB, free: 344 kB / 318.1 MB Notification: Performance of Transformations before backend: time 1.293e-05/0.1137, allocations: 0 / 377.4 MB, free: 344 kB / 318.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.2385/0.3521, allocations: 0.518 MB / 377.9 MB, free: 13.71 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.226e-05/0.3522, allocations: 12.83 kB / 377.9 MB, free: 13.71 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001133/0.3523, allocations: 28.25 kB / 377.9 MB, free: 13.7 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005301/0.3528, allocations: 244.2 kB / 378.2 MB, free: 13.48 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.712e-05/0.3529, allocations: 19 kB / 378.2 MB, free: 13.48 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.086e-05/0.353, allocations: 22.19 kB / 378.2 MB, free: 13.48 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005206/0.3535, allocations: 193.6 kB / 378.4 MB, free: 13.43 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.582e-05/0.3535, allocations: 3.797 kB / 378.4 MB, free: 13.43 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.787e-05/0.3536, allocations: 15.14 kB / 378.4 MB, free: 13.42 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.387e-05/0.3536, allocations: 5.562 kB / 378.4 MB, free: 13.42 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004033/0.354, allocations: 138.1 kB / 378.5 MB, free: 13.38 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00148/0.3555, allocations: 0.6311 MB / 379.2 MB, free: 12.96 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003759/0.3559, allocations: 176.2 kB / 379.3 MB, free: 12.89 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001899/0.3561, allocations: 98.98 kB / 379.4 MB, free: 12.85 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.981e-05/0.3561, allocations: 2.625 kB / 379.4 MB, free: 12.85 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.558e-05/0.3561, allocations: 43.84 kB / 379.5 MB, free: 12.8 MB / 318.1 MB Notification: Performance of pre-optimization done (n=24): time 2.284e-06/0.3562, allocations: 0 / 379.5 MB, free: 12.8 MB / 318.1 MB Notification: Performance of matching and sorting (n=32): time 0.00235/0.3585, allocations: 1.061 MB / 380.5 MB, free: 12.08 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.208e-05/0.3586, allocations: 63.39 kB / 380.6 MB, free: 12.01 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002821/0.3589, allocations: 184.1 kB / 380.8 MB, free: 11.88 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.91e-05/0.3589, allocations: 32.2 kB / 380.8 MB, free: 11.84 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001181/0.359, allocations: 137.6 kB / 381 MB, free: 11.72 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001356/0.3592, allocations: 112.7 kB / 381.1 MB, free: 11.64 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002056/0.3594, allocations: 54.78 kB / 381.1 MB, free: 11.6 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.775e-05/0.3595, allocations: 332.5 kB / 381.4 MB, free: 11.28 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001706/0.3597, allocations: 71.44 kB / 381.5 MB, free: 11.26 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000181/0.3599, allocations: 104.9 kB / 381.6 MB, free: 11.21 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003388/0.3602, allocations: 191.3 kB / 381.8 MB, free: 11.11 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.3602, allocations: 0.9688 kB / 381.8 MB, free: 11.11 MB / 318.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0005322/0.3608, allocations: 299.9 kB / 382.1 MB, free: 10.97 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.959e-05/0.3608, allocations: 8.844 kB / 382.1 MB, free: 10.97 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.3608, allocations: 1.469 kB / 382.1 MB, free: 10.97 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002002/0.361, allocations: 45.42 kB / 382.2 MB, free: 10.95 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002515/0.3613, allocations: 59.2 kB / 382.2 MB, free: 10.95 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001366/0.3626, allocations: 1.735 MB / 383.9 MB, free: 9.293 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001566/0.3628, allocations: 12.89 kB / 384 MB, free: 9.289 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.478e-05/0.3628, allocations: 9.156 kB / 384 MB, free: 9.289 MB / 318.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.0001491/0.363, allocations: 148.2 kB / 384.1 MB, free: 9.145 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.479e-05/0.3631, allocations: 27.36 kB / 384.1 MB, free: 9.129 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.27e-05/0.3631, allocations: 27.91 kB / 384.2 MB, free: 9.105 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.827e-06/0.3632, allocations: 8.594 kB / 384.2 MB, free: 9.105 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.209e-05/0.3632, allocations: 1.156 kB / 384.2 MB, free: 9.105 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.043e-06/0.3632, allocations: 6.281 kB / 384.2 MB, free: 9.102 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001317/0.3645, allocations: 0.7801 MB / 385 MB, free: 8.559 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.559e-06/0.3645, allocations: 1.469 kB / 385 MB, free: 8.559 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002909/0.3648, allocations: 57.92 kB / 385 MB, free: 8.555 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001475/0.365, allocations: 40.98 kB / 385.1 MB, free: 8.535 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.444e-05/0.365, allocations: 7.172 kB / 385.1 MB, free: 8.531 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009759/0.366, allocations: 1.472 MB / 386.5 MB, free: 7.086 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/0.366, allocations: 9.438 kB / 386.5 MB, free: 7.078 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007295/0.3668, allocations: 489 kB / 387 MB, free: 6.781 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.242e-05/0.3669, allocations: 101.2 kB / 387.1 MB, free: 6.672 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.398e-05/0.3669, allocations: 7.594 kB / 387.1 MB, free: 6.668 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001348/0.367, allocations: 8.594 kB / 387.1 MB, free: 6.664 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.209e-05/0.3671, allocations: 25.08 kB / 387.2 MB, free: 6.66 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.849e-05/0.3672, allocations: 15.16 kB / 387.2 MB, free: 6.652 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001241/0.3673, allocations: 131.9 kB / 387.3 MB, free: 6.562 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.232e-06/0.3673, allocations: 0 / 387.3 MB, free: 6.562 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004069/0.3677, allocations: 71.75 kB / 387.4 MB, free: 6.551 MB / 318.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.0001208/0.3678, allocations: 103.6 kB / 387.5 MB, free: 6.457 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000683/0.3685, allocations: 331.9 kB / 387.8 MB, free: 6.277 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.3685, allocations: 7.938 kB / 387.8 MB, free: 6.27 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003403/0.3689, allocations: 236.6 kB / 388 MB, free: 6.121 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004549/0.3693, allocations: 43.59 kB / 388.1 MB, free: 6.105 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001333/0.3707, allocations: 0.717 MB / 388.8 MB, free: 5.629 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002841/0.371, allocations: 0.755 MB / 389.6 MB, free: 4.93 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001196/0.3711, allocations: 25.86 kB / 389.6 MB, free: 4.926 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.674e-05/0.3712, allocations: 25.94 kB / 389.6 MB, free: 4.914 MB / 318.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3712, allocations: 4 kB / 389.6 MB, free: 4.91 MB / 318.1 MB Notification: Performance of Templates: time 0.008596/0.3798, allocations: 2.802 MB / 392.4 MB, free: 4.656 MB / 318.1 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.First.makefile (rm -f Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.First.pipe ; mkfifo Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.First.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.First.pipe >> ../files/Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.First.sim & ./Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.First -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.First.pipe 2>&1)