Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Mechanics.Rotational.Examples.FirstGrounded.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.FirstGrounded,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.Rotational.Examples.FirstGrounded") translateModel(Modelica.Mechanics.Rotational.Examples.FirstGrounded,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.Rotational.Examples.FirstGrounded") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001052/0.001052, 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.001237/0.001237, 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.695/1.695, allocations: 205.4 MB / 222.1 MB, free: 5.629 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.0004205/0.0004205, allocations: 14.81 kB / 278.9 MB, free: 12.81 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2359/0.2364, allocations: 47.59 MB / 326.5 MB, free: 1.395 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.FirstGrounded): time 0.002084/0.2385, allocations: 1.967 MB / 328.4 MB, free: 15.85 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009513/0.2395, allocations: 0.5809 MB / 329 MB, free: 15.38 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001107/0.2396, allocations: 8.094 kB / 329 MB, free: 15.38 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001167/0.2397, allocations: 32.02 kB / 329.1 MB, free: 15.35 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001125/0.2399, allocations: 55.3 kB / 329.1 MB, free: 15.3 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001887/0.24, allocations: 43.2 kB / 329.2 MB, free: 15.27 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002608/0.2403, allocations: 239.3 kB / 329.4 MB, free: 15.12 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000171/0.2405, allocations: 71.39 kB / 329.5 MB, free: 15.08 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001453/0.2407, allocations: 84.06 kB / 329.5 MB, free: 15.04 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001408/0.2408, allocations: 91.48 kB / 329.6 MB, free: 14.98 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.235e-05/0.2408, allocations: 10.47 kB / 329.6 MB, free: 14.98 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.611e-05/0.2409, allocations: 14.59 kB / 329.7 MB, free: 14.97 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 3.547e-05/0.2409, allocations: 33.94 kB / 329.7 MB, free: 14.95 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 6.12e-05/0.241, allocations: 67.92 kB / 329.8 MB, free: 14.89 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001918/0.2412, allocations: 168 kB / 329.9 MB, free: 14.77 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/0.2412, allocations: 0 / 329.9 MB, free: 14.77 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.2412, allocations: 1.094 kB / 329.9 MB, free: 14.77 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.941e-06/0.2412, allocations: 0 / 329.9 MB, free: 14.77 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0006793/0.2419, allocations: 499.3 kB / 330.4 MB, free: 14.3 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.705e-05/0.242, allocations: 10 kB / 330.4 MB, free: 14.3 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.508e-05/0.242, allocations: 23.5 kB / 330.4 MB, free: 14.29 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002772/0.2423, allocations: 229.1 kB / 330.7 MB, free: 14.05 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.117e-05/0.2423, allocations: 17.47 kB / 330.7 MB, free: 14.04 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.262e-05/0.2424, allocations: 16.88 kB / 330.7 MB, free: 14.04 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003846/0.2428, allocations: 215.1 kB / 330.9 MB, free: 13.89 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.015e-05/0.2428, allocations: 6.312 kB / 330.9 MB, free: 13.89 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.044e-05/0.2428, allocations: 5.25 kB / 330.9 MB, free: 13.88 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.638e-06/0.2429, allocations: 4.781 kB / 330.9 MB, free: 13.88 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002747/0.2431, allocations: 133.3 kB / 331.1 MB, free: 13.82 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00103/0.2442, allocations: 0.7174 MB / 331.8 MB, free: 13.2 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002812/0.2445, allocations: 149.8 kB / 331.9 MB, free: 13.12 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001383/0.2446, allocations: 73.86 kB / 332 MB, free: 13.08 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.234e-05/0.2446, allocations: 2.75 kB / 332 MB, free: 13.08 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.909e-05/0.2447, allocations: 39.64 kB / 332 MB, free: 13.03 MB / 270.1 MB Notification: Performance of pre-optimization done (n=20): time 1.423e-06/0.2447, allocations: 0 / 332 MB, free: 13.03 MB / 270.1 MB Notification: Performance of matching and sorting (n=24): time 0.001607/0.2463, allocations: 0.8875 MB / 332.9 MB, free: 12.33 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.772e-05/0.2464, allocations: 61.67 kB / 333 MB, free: 12.26 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001819/0.2466, allocations: 175.9 kB / 333.2 MB, free: 12.12 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.071e-05/0.2466, allocations: 26.27 kB / 333.2 MB, free: 12.09 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001083/0.2467, allocations: 147 kB / 333.3 MB, free: 11.95 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.927e-05/0.2468, allocations: 80.59 kB / 333.4 MB, free: 11.88 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.191e-05/0.2468, allocations: 5.281 kB / 333.4 MB, free: 11.88 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001271/0.2469, allocations: 331.3 kB / 333.7 MB, free: 11.55 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001291/0.2471, allocations: 59.06 kB / 333.8 MB, free: 11.52 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001484/0.2472, allocations: 104 kB / 333.9 MB, free: 11.44 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000144/0.2474, allocations: 73.75 kB / 334 MB, free: 11.41 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.2474, allocations: 0.9062 kB / 334 MB, free: 11.41 MB / 270.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004454/0.2478, allocations: 256 kB / 334.2 MB, free: 11.26 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/0.2479, allocations: 5.906 kB / 334.2 MB, free: 11.26 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-06/0.2479, allocations: 5.281 kB / 334.2 MB, free: 11.26 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001658/0.2481, allocations: 38.52 kB / 334.3 MB, free: 11.23 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002157/0.2483, allocations: 47.7 kB / 334.3 MB, free: 11.23 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001211/0.2495, allocations: 1.377 MB / 335.7 MB, free: 9.789 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001293/0.2497, allocations: 8.031 kB / 335.7 MB, free: 9.781 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.776e-05/0.2497, allocations: 8 kB / 335.7 MB, free: 9.773 MB / 270.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (28): * Single equations (assignments): 27 * 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 prepare postOptimizeDAE: time 0.0001437/0.2498, allocations: 145.7 kB / 335.8 MB, free: 9.621 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.328e-05/0.2499, allocations: 27.83 kB / 335.9 MB, free: 9.594 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.205e-05/0.2499, allocations: 21.88 kB / 335.9 MB, free: 9.574 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.2499, allocations: 0 / 335.9 MB, free: 9.574 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.25, allocations: 0 / 335.9 MB, free: 9.574 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.69e-06/0.25, allocations: 7.984 kB / 335.9 MB, free: 9.566 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009359/0.2509, allocations: 0.6568 MB / 336.6 MB, free: 8.84 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.2509, allocations: 0 / 336.6 MB, free: 8.84 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002059/0.2511, allocations: 43.98 kB / 336.6 MB, free: 8.797 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001107/0.2513, allocations: 32.83 kB / 336.6 MB, free: 8.762 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.804e-05/0.2513, allocations: 12.02 kB / 336.6 MB, free: 8.75 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001093/0.2524, allocations: 1.382 MB / 338 MB, free: 7.234 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.2524, allocations: 4.062 kB / 338 MB, free: 7.23 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005662/0.253, allocations: 406.3 kB / 338.4 MB, free: 6.809 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.793e-05/0.253, allocations: 96.83 kB / 338.5 MB, free: 6.695 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.786e-05/0.2531, allocations: 8 kB / 338.5 MB, free: 6.688 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001238/0.2532, allocations: 12.03 kB / 338.5 MB, free: 6.676 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.692e-05/0.2533, allocations: 15.92 kB / 338.6 MB, free: 6.66 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.312e-05/0.2533, allocations: 8 kB / 338.6 MB, free: 6.652 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001107/0.2534, allocations: 132.8 kB / 338.7 MB, free: 6.523 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2534, allocations: 0 / 338.7 MB, free: 6.523 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0003407/0.2538, allocations: 56 kB / 338.7 MB, free: 6.469 MB / 270.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (21): * Single equations (assignments): 20 * 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.0001374/0.2539, allocations: 107.2 kB / 338.9 MB, free: 6.352 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0005461/0.2544, allocations: 302.3 kB / 339.1 MB, free: 6.043 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.2545, allocations: 3.938 kB / 339.2 MB, free: 6.039 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003082/0.2548, allocations: 214.8 kB / 339.4 MB, free: 5.816 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004521/0.2552, allocations: 43.86 kB / 339.4 MB, free: 5.773 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001257/0.2565, allocations: 0.8174 MB / 340.2 MB, free: 4.93 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003265/0.2568, allocations: 0.7482 MB / 341 MB, free: 4.156 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 7.978e-05/0.2569, allocations: 25.92 kB / 341 MB, free: 4.129 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.476e-05/0.257, allocations: 19.44 kB / 341 MB, free: 4.109 MB / 270.1 MB Notification: Performance of SimCode: time 5.01e-07/0.257, allocations: 0 / 341 MB, free: 4.109 MB / 270.1 MB Notification: Performance of Templates: time 0.005104/0.2621, allocations: 2.136 MB / 343.1 MB, free: 1.977 MB / 270.1 MB make -j1 -f Modelica_3.1_Modelica.Mechanics.Rotational.Examples.FirstGrounded.makefile (rm -f Modelica_3.1_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; mkfifo Modelica_3.1_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe >> ../files/Modelica_3.1_Modelica.Mechanics.Rotational.Examples.FirstGrounded.sim & ./Modelica_3.1_Modelica.Mechanics.Rotational.Examples.FirstGrounded -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe 2>&1)