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.001091/0.001091, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001408/0.001408, allocations: 168.7 kB / 15.95 MB, free: 204 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.457/1.457, allocations: 205.4 MB / 222.1 MB, free: 5.637 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.0004504/0.0004504, allocations: 8 kB / 278.9 MB, free: 12.82 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2149/0.2154, 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.002047/0.2175, allocations: 1.97 MB / 328.4 MB, free: 15.86 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008828/0.2184, allocations: 0.5776 MB / 329 MB, free: 15.39 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001102/0.2185, allocations: 8.375 kB / 329 MB, free: 15.38 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001079/0.2186, allocations: 28 kB / 329.1 MB, free: 15.36 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001253/0.2188, allocations: 68.11 kB / 329.1 MB, free: 15.3 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001756/0.2189, allocations: 42.36 kB / 329.2 MB, free: 15.27 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.000257/0.2192, allocations: 248.5 kB / 329.4 MB, free: 15.12 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001903/0.2194, allocations: 83.02 kB / 329.5 MB, free: 15.07 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001516/0.2196, allocations: 89.45 kB / 329.6 MB, free: 15.02 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001536/0.2197, allocations: 93.19 kB / 329.7 MB, free: 14.96 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.461e-05/0.2198, allocations: 15.25 kB / 329.7 MB, free: 14.96 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.707e-05/0.2198, allocations: 11.12 kB / 329.7 MB, free: 14.96 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 3.971e-05/0.2199, allocations: 39 kB / 329.7 MB, free: 14.93 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 6.558e-05/0.2199, allocations: 68.39 kB / 329.8 MB, free: 14.88 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002033/0.2201, allocations: 182 kB / 330 MB, free: 14.74 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.653e-06/0.2202, allocations: 1.094 kB / 330 MB, free: 14.74 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.2202, allocations: 0 / 330 MB, free: 14.74 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.12e-06/0.2202, allocations: 4 kB / 330 MB, free: 14.74 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.000697/0.2209, allocations: 494.5 kB / 330.5 MB, free: 14.28 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.411e-05/0.2209, allocations: 9.25 kB / 330.5 MB, free: 14.28 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.109e-05/0.221, allocations: 29.19 kB / 330.5 MB, free: 14.26 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002791/0.2213, allocations: 245 kB / 330.7 MB, free: 14 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.2e-05/0.2213, allocations: 17.28 kB / 330.8 MB, free: 14 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.646e-05/0.2214, allocations: 26.91 kB / 330.8 MB, free: 13.98 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003701/0.2217, allocations: 191.7 kB / 331 MB, free: 13.86 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.422e-05/0.2218, allocations: 0 / 331 MB, free: 13.86 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.822e-05/0.2218, allocations: 10.44 kB / 331 MB, free: 13.86 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.987e-06/0.2218, allocations: 5.281 kB / 331 MB, free: 13.86 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002875/0.2221, allocations: 142.5 kB / 331.1 MB, free: 13.79 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009829/0.2231, allocations: 0.6498 MB / 331.8 MB, free: 13.24 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003327/0.2235, allocations: 175.7 kB / 331.9 MB, free: 13.15 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001727/0.2236, allocations: 96.95 kB / 332 MB, free: 13.1 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.315e-05/0.2237, allocations: 10.11 kB / 332.1 MB, free: 13.09 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.318e-05/0.2237, allocations: 32.41 kB / 332.1 MB, free: 13.05 MB / 270.1 MB Notification: Performance of pre-optimization done (n=24): time 1.362e-06/0.2237, allocations: 4 kB / 332.1 MB, free: 13.05 MB / 270.1 MB Notification: Performance of matching and sorting (n=32): time 0.001798/0.2255, allocations: 1.072 MB / 333.2 MB, free: 12.26 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.609e-05/0.2256, allocations: 57.86 kB / 333.2 MB, free: 12.2 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001594/0.2257, allocations: 187.5 kB / 333.4 MB, free: 12.05 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.671e-05/0.2258, allocations: 31.83 kB / 333.4 MB, free: 12.01 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001003/0.2259, allocations: 141.8 kB / 333.6 MB, free: 11.88 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.237e-05/0.226, allocations: 107.9 kB / 333.7 MB, free: 11.79 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.313e-05/0.226, allocations: 9.094 kB / 333.7 MB, free: 11.78 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.000138/0.2261, allocations: 335.3 kB / 334 MB, free: 11.45 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001472/0.2263, allocations: 71.12 kB / 334.1 MB, free: 11.41 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001778/0.2265, allocations: 118.8 kB / 334.2 MB, free: 11.34 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001634/0.2266, allocations: 81.78 kB / 334.3 MB, free: 11.3 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.2267, allocations: 1.156 kB / 334.3 MB, free: 11.3 MB / 270.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0005311/0.2272, allocations: 300.5 kB / 334.6 MB, free: 11.08 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.2272, allocations: 7.984 kB / 334.6 MB, free: 11.07 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.68e-05/0.2272, allocations: 4 kB / 334.6 MB, free: 11.07 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001668/0.2274, allocations: 40.91 kB / 334.6 MB, free: 11.02 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002424/0.2277, allocations: 55.91 kB / 334.7 MB, free: 10.97 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001352/0.229, allocations: 1.569 MB / 336.2 MB, free: 9.262 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001129/0.2292, allocations: 12.02 kB / 336.3 MB, free: 9.25 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.961e-05/0.2292, allocations: 12 kB / 336.3 MB, free: 9.238 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.000137/0.2293, allocations: 141.7 kB / 336.4 MB, free: 9.09 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.459e-05/0.2294, allocations: 19.72 kB / 336.4 MB, free: 9.07 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.953e-05/0.2294, allocations: 38.7 kB / 336.5 MB, free: 9.035 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.2295, allocations: 4 kB / 336.5 MB, free: 9.031 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.668e-06/0.2295, allocations: 0 / 336.5 MB, free: 9.031 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.2295, allocations: 0 / 336.5 MB, free: 9.031 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001045/0.2305, allocations: 0.7857 MB / 337.3 MB, free: 8.172 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/0.2305, allocations: 0 / 337.3 MB, free: 8.172 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002501/0.2308, allocations: 63.91 kB / 337.3 MB, free: 8.109 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001221/0.2309, allocations: 36.92 kB / 337.4 MB, free: 8.07 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.806e-05/0.2309, allocations: 8 kB / 337.4 MB, free: 8.062 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001015/0.232, allocations: 1.386 MB / 338.7 MB, free: 6.539 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.232, allocations: 0 / 338.7 MB, free: 6.539 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006184/0.2326, allocations: 486.4 kB / 339.2 MB, free: 6.035 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.593e-05/0.2327, allocations: 96.95 kB / 339.3 MB, free: 5.922 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.832e-05/0.2327, allocations: 8 kB / 339.3 MB, free: 5.914 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001289/0.2328, allocations: 8 kB / 339.3 MB, free: 5.906 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.201e-05/0.2329, allocations: 23.92 kB / 339.4 MB, free: 5.883 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.401e-05/0.233, allocations: 12 kB / 339.4 MB, free: 5.871 MB / 270.1 MB Notification: Performance of sorting global known variables: time 9.578e-05/0.2331, allocations: 139.4 kB / 339.5 MB, free: 5.734 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2331, allocations: 0 / 339.5 MB, free: 5.734 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0003703/0.2334, allocations: 72 kB / 339.6 MB, free: 5.664 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.0001242/0.2336, allocations: 95.25 kB / 339.7 MB, free: 5.562 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0005731/0.2342, allocations: 350.4 kB / 340 MB, free: 5.207 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.2342, allocations: 3.938 kB / 340 MB, free: 5.203 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003333/0.2345, allocations: 250.8 kB / 340.3 MB, free: 4.945 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004576/0.235, allocations: 36.17 kB / 340.3 MB, free: 4.91 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001237/0.2362, allocations: 0.8873 MB / 341.2 MB, free: 3.984 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003181/0.2366, allocations: 0.7561 MB / 341.9 MB, free: 3.203 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 8.443e-05/0.2367, allocations: 22.28 kB / 342 MB, free: 3.184 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.599e-05/0.2367, allocations: 23.44 kB / 342 MB, free: 3.16 MB / 270.1 MB Notification: Performance of SimCode: time 2.6e-07/0.2367, allocations: 0 / 342 MB, free: 3.16 MB / 270.1 MB Notification: Performance of Templates: time 0.00551/0.2422, allocations: 2.406 MB / 344.4 MB, free: 0.75 MB / 270.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)