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.001603/0.001603, allocations: 99 kB / 15.05 MB, free: 1.105 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.001899/0.001899, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.488/1.488, allocations: 205.4 MB / 222.1 MB, free: 5.648 MB / 174.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.0004398/0.0004398, allocations: 16 kB / 278.9 MB, free: 12.84 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.221/0.2214, allocations: 47.59 MB / 326.4 MB, free: 1.535 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.First): time 0.001838/0.2233, allocations: 1.876 MB / 328.3 MB, free: 76 kB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008929/0.2242, allocations: 0.6085 MB / 328.9 MB, free: 15.58 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.827e-05/0.2243, allocations: 3.719 kB / 328.9 MB, free: 15.58 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 4.803e-05/0.2244, allocations: 22.72 kB / 329 MB, free: 15.56 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001756/0.2246, allocations: 83.22 kB / 329 MB, free: 15.49 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000148/0.2247, allocations: 42.86 kB / 329.1 MB, free: 15.46 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002322/0.225, allocations: 186.7 kB / 329.3 MB, free: 15.34 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001596/0.2251, allocations: 76.23 kB / 329.3 MB, free: 15.3 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001221/0.2253, allocations: 83.17 kB / 329.4 MB, free: 15.25 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001303/0.2254, allocations: 101 kB / 329.5 MB, free: 15.19 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.183e-05/0.2254, allocations: 11.97 kB / 329.5 MB, free: 15.19 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.599e-05/0.2255, allocations: 11.06 kB / 329.5 MB, free: 15.19 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 3.716e-05/0.2255, allocations: 41.58 kB / 329.6 MB, free: 15.15 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 5.316e-05/0.2256, allocations: 68.45 kB / 329.6 MB, free: 15.1 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001742/0.2258, allocations: 185.8 kB / 329.8 MB, free: 14.96 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.2258, allocations: 1.031 kB / 329.8 MB, free: 14.96 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.2258, allocations: 0 / 329.8 MB, free: 14.96 MB / 270.1 MB Notification: Performance of Transformations before backend: time 4.618e-06/0.2258, allocations: 0 / 329.8 MB, free: 14.96 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.0006292/0.2264, allocations: 0.4908 MB / 330.3 MB, free: 14.5 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.561e-05/0.2265, allocations: 9.219 kB / 330.3 MB, free: 14.5 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.452e-05/0.2265, allocations: 32.98 kB / 330.4 MB, free: 14.48 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002547/0.2268, allocations: 233.5 kB / 330.6 MB, free: 14.23 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.074e-05/0.2268, allocations: 16.28 kB / 330.6 MB, free: 14.22 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.145e-05/0.2269, allocations: 23.09 kB / 330.6 MB, free: 14.21 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003437/0.2272, allocations: 197.6 kB / 330.8 MB, free: 14.09 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.835e-05/0.2273, allocations: 1.094 kB / 330.8 MB, free: 14.09 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.247e-05/0.2273, allocations: 10.25 kB / 330.8 MB, free: 14.08 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/0.2273, allocations: 9.5 kB / 330.8 MB, free: 14.07 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000281/0.2276, allocations: 138.5 kB / 331 MB, free: 14.02 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009326/0.2285, allocations: 0.6426 MB / 331.6 MB, free: 13.47 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002986/0.2288, allocations: 181.7 kB / 331.8 MB, free: 13.37 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.015e-05/0.2289, allocations: 7.188 kB / 331.8 MB, free: 13.37 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.402e-05/0.2289, allocations: 35.84 kB / 331.8 MB, free: 13.32 MB / 270.1 MB Notification: Performance of pre-optimization done (n=24): time 1.333e-06/0.2289, allocations: 0 / 331.8 MB, free: 13.32 MB / 270.1 MB Notification: Performance of matching and sorting (n=32): time 0.001856/0.2308, allocations: 1.075 MB / 332.9 MB, free: 12.53 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.955e-05/0.2308, allocations: 55.25 kB / 333 MB, free: 12.47 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001572/0.231, allocations: 187.7 kB / 333.1 MB, free: 12.32 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.25e-05/0.231, allocations: 35.2 kB / 333.2 MB, free: 12.28 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.098e-05/0.2311, allocations: 142.7 kB / 333.3 MB, free: 12.15 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.144e-05/0.2312, allocations: 107.5 kB / 333.4 MB, free: 12.05 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.132e-05/0.2312, allocations: 5.375 kB / 333.4 MB, free: 12.05 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001135/0.2313, allocations: 331.2 kB / 333.8 MB, free: 11.72 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001425/0.2315, allocations: 71.03 kB / 333.8 MB, free: 11.69 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001595/0.2316, allocations: 116.5 kB / 333.9 MB, free: 11.61 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000159/0.2318, allocations: 86.67 kB / 334 MB, free: 11.57 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.2318, allocations: 0 / 334 MB, free: 11.57 MB / 270.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.000512/0.2323, allocations: 297 kB / 334.3 MB, free: 11.41 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.2324, allocations: 8.906 kB / 334.3 MB, free: 11.41 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.2324, allocations: 1.188 kB / 334.3 MB, free: 11.41 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001647/0.2325, allocations: 45.17 kB / 334.4 MB, free: 11.38 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002395/0.2328, allocations: 59.91 kB / 334.4 MB, free: 11.32 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001317/0.2341, allocations: 1.573 MB / 336 MB, free: 9.605 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001233/0.2343, allocations: 12.02 kB / 336 MB, free: 9.594 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.782e-05/0.2343, allocations: 12.38 kB / 336 MB, free: 9.582 MB / 270.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.0001255/0.2344, allocations: 149.7 kB / 336.2 MB, free: 9.426 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.828e-05/0.2345, allocations: 19.72 kB / 336.2 MB, free: 9.406 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.474e-05/0.2345, allocations: 26.66 kB / 336.2 MB, free: 9.383 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.2346, allocations: 7.984 kB / 336.2 MB, free: 9.375 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.2346, allocations: 4 kB / 336.2 MB, free: 9.371 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.2346, allocations: 4 kB / 336.2 MB, free: 9.367 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001035/0.2356, allocations: 0.7857 MB / 337 MB, free: 8.508 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.2356, allocations: 4.094 kB / 337 MB, free: 8.504 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002616/0.2359, allocations: 59.91 kB / 337.1 MB, free: 8.445 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001111/0.236, allocations: 36.83 kB / 337.1 MB, free: 8.406 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.765e-05/0.2361, allocations: 8 kB / 337.1 MB, free: 8.398 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001023/0.2371, allocations: 1.39 MB / 338.5 MB, free: 6.871 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.2371, allocations: 0 / 338.5 MB, free: 6.871 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006583/0.2378, allocations: 0.5113 MB / 339 MB, free: 6.312 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.583e-05/0.2378, allocations: 104.9 kB / 339.1 MB, free: 6.191 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.73e-05/0.2379, allocations: 8 kB / 339.1 MB, free: 6.184 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001364/0.238, allocations: 8 kB / 339.1 MB, free: 6.176 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.69e-05/0.2381, allocations: 19.97 kB / 339.2 MB, free: 6.156 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.475e-05/0.2381, allocations: 15.94 kB / 339.2 MB, free: 6.141 MB / 270.1 MB Notification: Performance of sorting global known variables: time 9.911e-05/0.2382, allocations: 135.5 kB / 339.3 MB, free: 6.008 MB / 270.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.2382, allocations: 0 / 339.3 MB, free: 6.008 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0003692/0.2386, allocations: 64 kB / 339.4 MB, free: 5.945 MB / 270.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.0001145/0.2387, allocations: 111.1 kB / 339.5 MB, free: 5.828 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0005598/0.2393, allocations: 346.4 kB / 339.8 MB, free: 5.477 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.2393, allocations: 0 / 339.8 MB, free: 5.477 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003232/0.2396, allocations: 251.1 kB / 340.1 MB, free: 5.219 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000341/0.2399, allocations: 36.12 kB / 340.1 MB, free: 5.184 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001208/0.2412, allocations: 0.8907 MB / 341 MB, free: 4.254 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002876/0.2415, allocations: 0.7561 MB / 341.7 MB, free: 3.473 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 7.561e-05/0.2416, allocations: 26.3 kB / 341.8 MB, free: 3.449 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.221e-05/0.2416, allocations: 23.42 kB / 341.8 MB, free: 3.426 MB / 270.1 MB Notification: Performance of SimCode: time 3.51e-07/0.2416, allocations: 0 / 341.8 MB, free: 3.426 MB / 270.1 MB Notification: Performance of Templates: time 0.005179/0.2468, allocations: 2.395 MB / 344.2 MB, free: 1.027 MB / 270.1 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.First.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: