Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.1_Modelica.Mechanics.Rotational.Examples.First") translateModel(Modelica.Mechanics.Rotational.Examples.First,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.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.0008783/0.0008787, allocations: 92.31 kB / 15.06 MB, free: 1.098 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.0009108/0.0009108, allocations: 172.7 kB / 15.95 MB, free: 208 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.644/1.644, allocations: 205.4 MB / 222.1 MB, free: 5.887 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.0004636/0.0004637, allocations: 14.81 kB / 278.9 MB, free: 13.07 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2305/0.2309, allocations: 47.58 MB / 326.5 MB, free: 1.402 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.First): time 0.002027/0.233, allocations: 1.97 MB / 328.4 MB, free: 15.86 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001013/0.234, allocations: 0.5886 MB / 329 MB, free: 15.38 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001398/0.2342, allocations: 3.938 kB / 329 MB, free: 15.38 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001362/0.2343, allocations: 27.53 kB / 329.1 MB, free: 15.35 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001559/0.2345, allocations: 68.52 kB / 329.1 MB, free: 15.29 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000198/0.2347, allocations: 34.97 kB / 329.2 MB, free: 15.27 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003123/0.235, allocations: 259.2 kB / 329.4 MB, free: 15.11 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001966/0.2352, allocations: 76.53 kB / 329.5 MB, free: 15.06 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001481/0.2354, allocations: 93.72 kB / 329.6 MB, free: 15.01 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001684/0.2356, allocations: 92.72 kB / 329.7 MB, free: 14.95 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.171e-05/0.2356, allocations: 10.53 kB / 329.7 MB, free: 14.95 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.874e-05/0.2357, allocations: 12.22 kB / 329.7 MB, free: 14.95 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 4.184e-05/0.2357, allocations: 38.33 kB / 329.7 MB, free: 14.92 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 6.295e-05/0.2358, allocations: 68.61 kB / 329.8 MB, free: 14.87 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002134/0.236, allocations: 186 kB / 330 MB, free: 14.73 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/0.236, allocations: 0 / 330 MB, free: 14.73 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.335e-06/0.236, allocations: 5.031 kB / 330 MB, free: 14.73 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.36e-06/0.236, allocations: 4 kB / 330 MB, free: 14.73 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.0006341/0.2367, allocations: 490.7 kB / 330.5 MB, free: 14.27 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.2367, allocations: 13.62 kB / 330.5 MB, free: 14.27 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.865e-05/0.2368, allocations: 28.91 kB / 330.5 MB, free: 14.25 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002725/0.2371, allocations: 240.1 kB / 330.7 MB, free: 14 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.151e-05/0.2371, allocations: 17.81 kB / 330.8 MB, free: 13.99 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.337e-05/0.2371, allocations: 26.66 kB / 330.8 MB, free: 13.98 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000355/0.2375, allocations: 194.9 kB / 331 MB, free: 13.85 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.713e-05/0.2375, allocations: 4.984 kB / 331 MB, free: 13.85 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.075e-05/0.2376, allocations: 10.09 kB / 331 MB, free: 13.84 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.496e-06/0.2376, allocations: 5.625 kB / 331 MB, free: 13.84 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002654/0.2378, allocations: 138.2 kB / 331.1 MB, free: 13.78 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000915/0.2388, allocations: 0.6464 MB / 331.8 MB, free: 13.23 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002973/0.2391, allocations: 182.5 kB / 332 MB, free: 13.13 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001646/0.2392, allocations: 97.61 kB / 332 MB, free: 13.09 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.095e-05/0.2393, allocations: 6 kB / 332.1 MB, free: 13.08 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.33e-05/0.2393, allocations: 36.7 kB / 332.1 MB, free: 13.04 MB / 270.1 MB Notification: Performance of pre-optimization done (n=24): time 1.333e-06/0.2393, allocations: 4 kB / 332.1 MB, free: 13.04 MB / 270.1 MB Notification: Performance of matching and sorting (n=32): time 0.00182/0.2411, allocations: 1.067 MB / 333.2 MB, free: 12.25 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.73e-05/0.2412, allocations: 62.45 kB / 333.2 MB, free: 12.18 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001635/0.2414, allocations: 179.5 kB / 333.4 MB, free: 12.04 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.015e-05/0.2414, allocations: 31.83 kB / 333.4 MB, free: 12 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.76e-05/0.2415, allocations: 141.4 kB / 333.6 MB, free: 11.87 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.128e-05/0.2416, allocations: 112.1 kB / 333.7 MB, free: 11.77 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.106e-05/0.2416, allocations: 9.469 kB / 333.7 MB, free: 11.77 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001135/0.2417, allocations: 335.2 kB / 334 MB, free: 11.43 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001294/0.2418, allocations: 67.09 kB / 334.1 MB, free: 11.41 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001648/0.242, allocations: 110.8 kB / 334.2 MB, free: 11.34 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001608/0.2422, allocations: 93.92 kB / 334.3 MB, free: 11.29 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.2422, allocations: 0 / 334.3 MB, free: 11.29 MB / 270.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0004707/0.2427, allocations: 291.9 kB / 334.6 MB, free: 11.11 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.2427, allocations: 8 kB / 334.6 MB, free: 11.1 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.219e-06/0.2427, allocations: 0 / 334.6 MB, free: 11.1 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001605/0.2429, allocations: 52.89 kB / 334.6 MB, free: 11.04 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002293/0.2431, allocations: 55.91 kB / 334.7 MB, free: 10.99 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001361/0.2445, allocations: 1.561 MB / 336.2 MB, free: 9.289 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001169/0.2446, allocations: 16.02 kB / 336.3 MB, free: 9.273 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.605e-05/0.2446, allocations: 8 kB / 336.3 MB, free: 9.266 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.0001319/0.2448, allocations: 141.7 kB / 336.4 MB, free: 9.117 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.33e-05/0.2448, allocations: 27.66 kB / 336.4 MB, free: 9.09 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.745e-05/0.2449, allocations: 34.7 kB / 336.5 MB, free: 9.059 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-06/0.2449, allocations: 0 / 336.5 MB, free: 9.059 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.2449, allocations: 4 kB / 336.5 MB, free: 9.055 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.2449, allocations: 3.938 kB / 336.5 MB, free: 9.051 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00102/0.2459, allocations: 0.7857 MB / 337.3 MB, free: 8.191 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.901e-06/0.2459, allocations: 4 kB / 337.3 MB, free: 8.188 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002401/0.2462, allocations: 55.91 kB / 337.3 MB, free: 8.133 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001064/0.2463, allocations: 44.91 kB / 337.4 MB, free: 8.086 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.888e-05/0.2463, allocations: 8 kB / 337.4 MB, free: 8.078 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001007/0.2473, allocations: 1.374 MB / 338.7 MB, free: 6.566 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.2474, allocations: 0 / 338.7 MB, free: 6.566 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006419/0.248, allocations: 494.4 kB / 339.2 MB, free: 6.055 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.1e-05/0.2481, allocations: 88.92 kB / 339.3 MB, free: 5.949 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.801e-05/0.2481, allocations: 12.03 kB / 339.3 MB, free: 5.938 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001256/0.2482, allocations: 8 kB / 339.3 MB, free: 5.93 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.201e-05/0.2483, allocations: 27.92 kB / 339.4 MB, free: 5.902 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.42e-05/0.2483, allocations: 8 kB / 339.4 MB, free: 5.895 MB / 270.1 MB Notification: Performance of sorting global known variables: time 9.358e-05/0.2484, allocations: 139.5 kB / 339.5 MB, free: 5.758 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2484, allocations: 0 / 339.5 MB, free: 5.758 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0003638/0.2488, allocations: 68 kB / 339.6 MB, free: 5.691 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.000112/0.2489, allocations: 103.2 kB / 339.7 MB, free: 5.582 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0005618/0.2495, allocations: 342.5 kB / 340 MB, free: 5.234 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.2495, allocations: 0 / 340 MB, free: 5.234 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003227/0.2498, allocations: 250.8 kB / 340.2 MB, free: 4.977 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004264/0.2503, allocations: 36.17 kB / 340.3 MB, free: 4.941 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001225/0.2515, allocations: 0.8912 MB / 341.2 MB, free: 4.012 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003122/0.2518, allocations: 0.7561 MB / 341.9 MB, free: 3.23 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 8.041e-05/0.2519, allocations: 22.28 kB / 342 MB, free: 3.211 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.255e-05/0.252, allocations: 19.44 kB / 342 MB, free: 3.191 MB / 270.1 MB Notification: Performance of SimCode: time 2.21e-07/0.252, allocations: 0 / 342 MB, free: 3.191 MB / 270.1 MB Notification: Performance of Templates: time 0.005269/0.2573, allocations: 2.429 MB / 344.4 MB, free: 0.7617 MB / 270.1 MB make -j1 -f Modelica_3.1_Modelica.Mechanics.Rotational.Examples.First.makefile (rm -f Modelica_3.1_Modelica.Mechanics.Rotational.Examples.First.pipe ; mkfifo Modelica_3.1_Modelica.Mechanics.Rotational.Examples.First.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Mechanics.Rotational.Examples.First.pipe >> ../files/Modelica_3.1_Modelica.Mechanics.Rotational.Examples.First.sim & ./Modelica_3.1_Modelica.Mechanics.Rotational.Examples.First -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Mechanics.Rotational.Examples.First.pipe 2>&1)