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.0009777/0.0009778, allocations: 93.41 kB / 16.31 MB, free: 5.582 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.001052/0.001052, allocations: 181.1 kB / 17.21 MB, free: 5.5 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.567/1.567, allocations: 205.4 MB / 223.4 MB, free: 13.16 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.000406/0.000406, allocations: 12.94 kB / 280.1 MB, free: 3.727 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08718/0.0876, allocations: 47.58 MB / 327.7 MB, free: 4.082 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.First): time 0.002372/0.09001, allocations: 1.967 MB / 329.7 MB, free: 2.098 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008865/0.09092, allocations: 0.5934 MB / 330.3 MB, free: 1.496 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001016/0.09104, allocations: 4 kB / 330.3 MB, free: 1.492 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001085/0.09115, allocations: 23.78 kB / 330.3 MB, free: 1.469 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001315/0.09129, allocations: 71.39 kB / 330.4 MB, free: 1.398 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001643/0.09146, allocations: 39.97 kB / 330.4 MB, free: 1.359 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002695/0.09174, allocations: 262.7 kB / 330.7 MB, free: 1.102 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001637/0.09191, allocations: 73.31 kB / 330.7 MB, free: 1.031 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001367/0.09206, allocations: 91.62 kB / 330.8 MB, free: 0.9414 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001443/0.09221, allocations: 95.56 kB / 330.9 MB, free: 0.8477 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.076e-05/0.09225, allocations: 12 kB / 330.9 MB, free: 0.8359 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.962e-05/0.09229, allocations: 8 kB / 330.9 MB, free: 0.8281 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 3.931e-05/0.09233, allocations: 43.77 kB / 331 MB, free: 0.7852 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 5.384e-05/0.09239, allocations: 69.58 kB / 331.1 MB, free: 0.7109 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001898/0.09259, allocations: 187.7 kB / 331.2 MB, free: 0.5273 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.0926, allocations: 4 kB / 331.2 MB, free: 0.5234 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.09261, allocations: 0 / 331.2 MB, free: 0.5234 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.263e-06/0.09262, allocations: 0 / 331.2 MB, free: 0.5234 MB / 270.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.0006258/0.09325, allocations: 491 kB / 331.7 MB, free: 15.99 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.64e-05/0.0933, allocations: 15.97 kB / 331.7 MB, free: 15.97 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.263e-05/0.09336, allocations: 23.72 kB / 331.8 MB, free: 15.95 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002542/0.09363, allocations: 247.2 kB / 332 MB, free: 15.67 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.974e-05/0.09365, allocations: 16.44 kB / 332 MB, free: 15.66 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.236e-05/0.0937, allocations: 23.98 kB / 332 MB, free: 15.63 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003539/0.09406, allocations: 191.3 kB / 332.2 MB, free: 15.44 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.779e-05/0.09409, allocations: 11.89 kB / 332.2 MB, free: 15.43 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.959e-05/0.09411, allocations: 8 kB / 332.2 MB, free: 15.42 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.204e-06/0.09413, allocations: 4 kB / 332.3 MB, free: 15.41 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002597/0.09439, allocations: 145.7 kB / 332.4 MB, free: 15.27 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009317/0.09533, allocations: 0.6308 MB / 333 MB, free: 14.59 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002873/0.09563, allocations: 178.5 kB / 333.2 MB, free: 14.41 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001683/0.09581, allocations: 96.83 kB / 333.3 MB, free: 14.31 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.269e-05/0.09584, allocations: 3.984 kB / 333.3 MB, free: 14.31 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.64e-05/0.09587, allocations: 46.56 kB / 333.3 MB, free: 14.25 MB / 286.1 MB Notification: Performance of pre-optimization done (n=24): time 1.383e-06/0.09588, allocations: 0 / 333.3 MB, free: 14.25 MB / 286.1 MB Notification: Performance of matching and sorting (n=32): time 0.001816/0.0977, allocations: 1.07 MB / 334.4 MB, free: 13.09 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.958e-05/0.09775, allocations: 63.36 kB / 334.5 MB, free: 13.02 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001752/0.09793, allocations: 178.9 kB / 334.7 MB, free: 12.84 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.207e-05/0.09796, allocations: 33.7 kB / 334.7 MB, free: 12.8 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.593e-05/0.09806, allocations: 148.6 kB / 334.8 MB, free: 12.65 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.652e-05/0.09814, allocations: 110.3 kB / 334.9 MB, free: 12.54 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.243e-05/0.09816, allocations: 8 kB / 334.9 MB, free: 12.53 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001313/0.09829, allocations: 334.8 kB / 335.3 MB, free: 12.2 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001305/0.09843, allocations: 63.97 kB / 335.3 MB, free: 12.13 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001566/0.0986, allocations: 114.2 kB / 335.4 MB, free: 12.01 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001544/0.09877, allocations: 97.33 kB / 335.5 MB, free: 11.92 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.09878, allocations: 0 / 335.5 MB, free: 11.92 MB / 286.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0004775/0.09926, allocations: 287.2 kB / 335.8 MB, free: 11.63 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.09929, allocations: 4 kB / 335.8 MB, free: 11.62 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.0993, allocations: 4.062 kB / 335.8 MB, free: 11.62 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001589/0.09947, allocations: 52.77 kB / 335.9 MB, free: 11.57 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002406/0.09972, allocations: 51.97 kB / 335.9 MB, free: 11.52 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001324/0.1011, allocations: 1.565 MB / 337.5 MB, free: 9.812 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001083/0.1012, allocations: 16.14 kB / 337.5 MB, free: 9.797 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.088e-05/0.1012, allocations: 16 kB / 337.5 MB, free: 9.781 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001318/0.1013, allocations: 137.9 kB / 337.7 MB, free: 9.637 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.385e-05/0.1014, allocations: 23.72 kB / 337.7 MB, free: 9.613 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.291e-05/0.1015, allocations: 30.64 kB / 337.7 MB, free: 9.586 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.738e-06/0.1015, allocations: 7.938 kB / 337.7 MB, free: 9.578 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.1015, allocations: 0 / 337.7 MB, free: 9.578 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.1015, allocations: 0 / 337.7 MB, free: 9.578 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001033/0.1025, allocations: 0.7896 MB / 338.5 MB, free: 8.711 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.1025, allocations: 0 / 338.5 MB, free: 8.711 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002431/0.1028, allocations: 60.06 kB / 338.6 MB, free: 8.652 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000106/0.1029, allocations: 40.77 kB / 338.6 MB, free: 8.609 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.742e-05/0.1029, allocations: 8 kB / 338.6 MB, free: 8.602 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001049/0.104, allocations: 1.378 MB / 340 MB, free: 7.086 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.104, allocations: 0 / 340 MB, free: 7.086 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006477/0.1047, allocations: 486.4 kB / 340.5 MB, free: 6.582 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.176e-05/0.1047, allocations: 96.83 kB / 340.6 MB, free: 6.469 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.892e-05/0.1047, allocations: 12.03 kB / 340.6 MB, free: 6.457 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001256/0.1049, allocations: 8 kB / 340.6 MB, free: 6.449 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.241e-05/0.1049, allocations: 27.92 kB / 340.6 MB, free: 6.422 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.464e-05/0.105, allocations: 8 kB / 340.6 MB, free: 6.414 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001054/0.1051, allocations: 135.5 kB / 340.8 MB, free: 6.281 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1051, allocations: 0 / 340.8 MB, free: 6.281 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003568/0.1054, allocations: 68 kB / 340.8 MB, free: 6.215 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001192/0.1056, allocations: 107.1 kB / 340.9 MB, free: 6.102 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0005746/0.1061, allocations: 342.5 kB / 341.3 MB, free: 5.754 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1062, allocations: 0 / 341.3 MB, free: 5.754 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003234/0.1065, allocations: 250.8 kB / 341.5 MB, free: 5.496 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004305/0.1069, allocations: 44.48 kB / 341.5 MB, free: 5.453 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001207/0.1081, allocations: 0.887 MB / 342.4 MB, free: 4.527 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003033/0.1085, allocations: 0.7522 MB / 343.2 MB, free: 3.75 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 8.028e-05/0.1086, allocations: 22.28 kB / 343.2 MB, free: 3.73 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.112e-05/0.1086, allocations: 23.44 kB / 343.2 MB, free: 3.707 MB / 286.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1086, allocations: 0 / 343.2 MB, free: 3.707 MB / 286.1 MB Notification: Performance of Templates: time 0.005312/0.1139, allocations: 2.418 MB / 345.6 MB, free: 1.289 MB / 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)