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.001217/0.001217, allocations: 105.7 kB / 17.06 MB, free: 6.012 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.00106/0.00106, allocations: 195 kB / 18 MB, free: 5.094 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.56/1.56, allocations: 205.1 MB / 223.9 MB, free: 12.29 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.001168/0.001168, allocations: 51.94 kB / 327.9 MB, free: 3.324 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1116/0.1128, allocations: 46.62 MB / 374.5 MB, free: 4.586 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.First): time 0.003625/0.1164, allocations: 2.34 MB / 376.8 MB, free: 2.23 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001048/0.1175, allocations: 0.6317 MB / 377.4 MB, free: 1.59 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001191/0.1176, allocations: 7.938 kB / 377.5 MB, free: 1.582 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001519/0.1178, allocations: 35.66 kB / 377.5 MB, free: 1.547 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001551/0.118, allocations: 83.27 kB / 377.6 MB, free: 1.465 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002054/0.1182, allocations: 47.92 kB / 377.6 MB, free: 1.418 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002995/0.1185, allocations: 270.7 kB / 377.9 MB, free: 1.152 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000207/0.1187, allocations: 102.7 kB / 378 MB, free: 1.051 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001615/0.1189, allocations: 111.6 kB / 378.1 MB, free: 0.9414 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001541/0.119, allocations: 115.5 kB / 378.2 MB, free: 0.8281 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.586e-05/0.1191, allocations: 24 kB / 378.2 MB, free: 0.8047 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.627e-05/0.1191, allocations: 24 kB / 378.3 MB, free: 0.7812 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.514e-05/0.1192, allocations: 47.78 kB / 378.3 MB, free: 0.7344 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001074/0.1193, allocations: 119.4 kB / 378.4 MB, free: 0.6172 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002924/0.1196, allocations: 271 kB / 378.7 MB, free: 360 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.1196, allocations: 0 / 378.7 MB, free: 360 kB / 318.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.1196, allocations: 0 / 378.7 MB, free: 360 kB / 318.1 MB Notification: Performance of Transformations before backend: time 9.838e-06/0.1196, allocations: 0 / 378.7 MB, free: 360 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.2233/0.343, allocations: 0.5188 MB / 379.2 MB, free: 13.16 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.716e-05/0.343, allocations: 13.23 kB / 379.2 MB, free: 13.16 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.168e-05/0.3431, allocations: 26.84 kB / 379.2 MB, free: 13.14 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003502/0.3435, allocations: 250.6 kB / 379.5 MB, free: 12.92 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.891e-05/0.3435, allocations: 16.66 kB / 379.5 MB, free: 12.92 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.693e-05/0.3436, allocations: 22.64 kB / 379.5 MB, free: 12.92 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000391/0.344, allocations: 192.6 kB / 379.7 MB, free: 12.88 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.003e-05/0.344, allocations: 2.359 kB / 379.7 MB, free: 12.88 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.367e-05/0.344, allocations: 15.06 kB / 379.7 MB, free: 12.88 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.899e-06/0.344, allocations: 5.312 kB / 379.7 MB, free: 12.88 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002812/0.3443, allocations: 138 kB / 379.9 MB, free: 12.88 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009188/0.3452, allocations: 0.6286 MB / 380.5 MB, free: 12.58 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002712/0.3455, allocations: 178.4 kB / 380.7 MB, free: 12.55 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001536/0.3457, allocations: 98.84 kB / 380.8 MB, free: 12.55 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.226e-05/0.3457, allocations: 1.375 kB / 380.8 MB, free: 12.55 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.768e-05/0.3457, allocations: 36.09 kB / 380.8 MB, free: 12.51 MB / 318.1 MB Notification: Performance of pre-optimization done (n=24): time 1.313e-06/0.3457, allocations: 3.438 kB / 380.8 MB, free: 12.51 MB / 318.1 MB Notification: Performance of matching and sorting (n=32): time 0.001874/0.3476, allocations: 1.065 MB / 381.9 MB, free: 11.86 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.09e-05/0.3477, allocations: 59.11 kB / 381.9 MB, free: 11.79 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000208/0.3479, allocations: 184.5 kB / 382.1 MB, free: 11.66 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.938e-05/0.3479, allocations: 31.33 kB / 382.1 MB, free: 11.62 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.843e-05/0.348, allocations: 142.4 kB / 382.3 MB, free: 11.5 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.283e-05/0.3481, allocations: 120.5 kB / 382.4 MB, free: 11.41 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.555e-05/0.3482, allocations: 53.97 kB / 382.4 MB, free: 11.38 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.222e-05/0.3482, allocations: 334 kB / 382.8 MB, free: 11.06 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001329/0.3484, allocations: 70.5 kB / 382.8 MB, free: 11.04 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001506/0.3485, allocations: 102.3 kB / 382.9 MB, free: 10.98 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002767/0.3488, allocations: 190.7 kB / 383.1 MB, free: 10.89 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.3488, allocations: 0 / 383.1 MB, free: 10.89 MB / 318.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0004552/0.3493, allocations: 304.9 kB / 383.4 MB, free: 10.75 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/0.3493, allocations: 5.094 kB / 383.4 MB, free: 10.75 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.3493, allocations: 5.422 kB / 383.4 MB, free: 10.75 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001805/0.3495, allocations: 45.73 kB / 383.5 MB, free: 10.73 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002389/0.3498, allocations: 56.91 kB / 383.5 MB, free: 10.72 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001101/0.3509, allocations: 1.738 MB / 385.3 MB, free: 9.066 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000113/0.351, allocations: 9.703 kB / 385.3 MB, free: 9.062 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.523e-05/0.351, allocations: 10 kB / 385.3 MB, free: 9.062 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.0001046/0.3511, allocations: 145.3 kB / 385.4 MB, free: 8.922 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.593e-05/0.3512, allocations: 26.95 kB / 385.5 MB, free: 8.906 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.781e-05/0.3512, allocations: 32.53 kB / 385.5 MB, free: 8.883 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.3513, allocations: 3.844 kB / 385.5 MB, free: 8.883 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.798e-06/0.3513, allocations: 3 kB / 385.5 MB, free: 8.883 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.3513, allocations: 2.203 kB / 385.5 MB, free: 8.883 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001002/0.3523, allocations: 0.7823 MB / 386.3 MB, free: 8.34 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.3523, allocations: 1.078 kB / 386.3 MB, free: 8.34 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002493/0.3526, allocations: 57.44 kB / 386.3 MB, free: 8.336 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001125/0.3527, allocations: 39.98 kB / 386.4 MB, free: 8.316 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.869e-05/0.3527, allocations: 7.609 kB / 386.4 MB, free: 8.312 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008104/0.3535, allocations: 1.476 MB / 387.9 MB, free: 6.863 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.3535, allocations: 5.219 kB / 387.9 MB, free: 6.859 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005915/0.3541, allocations: 485.6 kB / 388.3 MB, free: 6.562 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.182e-05/0.3542, allocations: 104.8 kB / 388.4 MB, free: 6.453 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.617e-05/0.3542, allocations: 7.125 kB / 388.5 MB, free: 6.449 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001248/0.3543, allocations: 9.844 kB / 388.5 MB, free: 6.445 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.68e-05/0.3544, allocations: 21.56 kB / 388.5 MB, free: 6.441 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.464e-05/0.3544, allocations: 14.75 kB / 388.5 MB, free: 6.434 MB / 318.1 MB Notification: Performance of sorting global known variables: time 9.617e-05/0.3545, allocations: 135.3 kB / 388.6 MB, free: 6.34 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.192e-06/0.3545, allocations: 0.9688 kB / 388.6 MB, free: 6.34 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000358/0.3549, allocations: 68.77 kB / 388.7 MB, free: 6.332 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.0001002/0.355, allocations: 102.3 kB / 388.8 MB, free: 6.238 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0005542/0.3556, allocations: 331.5 kB / 389.1 MB, free: 6.059 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.3556, allocations: 4.062 kB / 389.1 MB, free: 6.055 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003218/0.3559, allocations: 242.1 kB / 389.4 MB, free: 5.902 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004143/0.3563, allocations: 44.77 kB / 389.4 MB, free: 5.883 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001122/0.3575, allocations: 0.7139 MB / 390.1 MB, free: 5.41 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002139/0.3577, allocations: 0.7555 MB / 390.9 MB, free: 4.711 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 8.835e-05/0.3578, allocations: 23.75 kB / 390.9 MB, free: 4.707 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.41e-05/0.3579, allocations: 21.92 kB / 390.9 MB, free: 4.699 MB / 318.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3579, allocations: 4 kB / 390.9 MB, free: 4.695 MB / 318.1 MB Notification: Performance of Templates: time 0.006922/0.3648, allocations: 2.807 MB / 393.7 MB, free: 4.441 MB / 318.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)