Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2.2_Modelica.Mechanics.Rotational.Examples.FirstGrounded") translateModel(Modelica.Mechanics.Rotational.Examples.FirstGrounded,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.0009655/0.0009653, allocations: 88.59 kB / 16.31 MB, free: 6.453 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.0008639/0.0008639, allocations: 180.1 kB / 17.21 MB, free: 6.324 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.56/1.56, allocations: 205.4 MB / 223.4 MB, free: 5.789 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.0004386/0.0004387, allocations: 14.66 kB / 280.1 MB, free: 13.06 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2381/0.2385, allocations: 47.59 MB / 327.7 MB, free: 1.402 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.FirstGrounded): time 0.002144/0.2407, allocations: 1.962 MB / 329.7 MB, free: 15.86 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009552/0.2417, allocations: 0.5901 MB / 330.3 MB, free: 15.38 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001189/0.2418, allocations: 7.438 kB / 330.3 MB, free: 15.38 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001214/0.2419, allocations: 24 kB / 330.3 MB, free: 15.36 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001304/0.2421, allocations: 60 kB / 330.4 MB, free: 15.31 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001831/0.2423, allocations: 38.11 kB / 330.4 MB, free: 15.28 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002601/0.2425, allocations: 243 kB / 330.7 MB, free: 15.13 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001689/0.2427, allocations: 60.66 kB / 330.7 MB, free: 15.1 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001486/0.2429, allocations: 87.14 kB / 330.8 MB, free: 15.05 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000141/0.243, allocations: 91.3 kB / 330.9 MB, free: 14.99 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.851e-05/0.2431, allocations: 14.97 kB / 330.9 MB, free: 14.99 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.291e-05/0.2431, allocations: 10.66 kB / 330.9 MB, free: 14.99 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 3.803e-05/0.2432, allocations: 30.48 kB / 330.9 MB, free: 14.96 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 6.203e-05/0.2432, allocations: 71.23 kB / 331 MB, free: 14.91 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001925/0.2434, allocations: 172.1 kB / 331.2 MB, free: 14.79 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.2434, allocations: 1.062 kB / 331.2 MB, free: 14.79 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.2435, allocations: 3.938 kB / 331.2 MB, free: 14.78 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.52e-06/0.2435, allocations: 0 / 331.2 MB, free: 14.78 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.0006451/0.2441, allocations: 496.5 kB / 331.7 MB, free: 14.32 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.638e-05/0.2442, allocations: 16.23 kB / 331.7 MB, free: 14.31 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.629e-05/0.2442, allocations: 24.19 kB / 331.7 MB, free: 14.3 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002588/0.2445, allocations: 233.4 kB / 331.9 MB, free: 14.05 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.173e-05/0.2445, allocations: 17.22 kB / 332 MB, free: 14.04 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.903e-05/0.2446, allocations: 17.25 kB / 332 MB, free: 14.04 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003876/0.245, allocations: 210.7 kB / 332.2 MB, free: 13.89 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.705e-05/0.245, allocations: 2.469 kB / 332.2 MB, free: 13.89 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.262e-05/0.245, allocations: 9.031 kB / 332.2 MB, free: 13.89 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.142e-05/0.245, allocations: 9.406 kB / 332.2 MB, free: 13.88 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002759/0.2453, allocations: 129.4 kB / 332.3 MB, free: 13.83 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00102/0.2463, allocations: 0.709 MB / 333 MB, free: 13.21 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002634/0.2466, allocations: 151 kB / 333.2 MB, free: 13.13 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001368/0.2468, allocations: 80.28 kB / 333.3 MB, free: 13.08 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.213e-05/0.2468, allocations: 3.062 kB / 333.3 MB, free: 13.08 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.49e-05/0.2468, allocations: 35.95 kB / 333.3 MB, free: 13.04 MB / 270.1 MB Notification: Performance of pre-optimization done (n=20): time 1.453e-06/0.2468, allocations: 0 / 333.3 MB, free: 13.04 MB / 270.1 MB Notification: Performance of matching and sorting (n=24): time 0.00166/0.2485, allocations: 0.883 MB / 334.2 MB, free: 12.34 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.104e-05/0.2486, allocations: 62.52 kB / 334.2 MB, free: 12.27 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001621/0.2487, allocations: 174.8 kB / 334.4 MB, free: 12.13 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.706e-05/0.2488, allocations: 27.02 kB / 334.4 MB, free: 12.1 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001029/0.2489, allocations: 150.3 kB / 334.6 MB, free: 11.96 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.446e-05/0.2489, allocations: 76.8 kB / 334.7 MB, free: 11.89 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.899e-06/0.249, allocations: 6.125 kB / 334.7 MB, free: 11.89 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001314/0.2491, allocations: 330.7 kB / 335 MB, free: 11.56 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001199/0.2492, allocations: 55.44 kB / 335 MB, free: 11.54 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001475/0.2494, allocations: 107.4 kB / 335.1 MB, free: 11.45 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001428/0.2495, allocations: 70.33 kB / 335.2 MB, free: 11.42 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.2495, allocations: 0 / 335.2 MB, free: 11.42 MB / 270.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000447/0.25, allocations: 264.8 kB / 335.5 MB, free: 11.27 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/0.25, allocations: 5.562 kB / 335.5 MB, free: 11.27 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.25, allocations: 1.375 kB / 335.5 MB, free: 11.27 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001571/0.2502, allocations: 38.36 kB / 335.5 MB, free: 11.25 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002104/0.2504, allocations: 48.27 kB / 335.6 MB, free: 11.24 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001127/0.2515, allocations: 1.377 MB / 336.9 MB, free: 9.828 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001087/0.2517, allocations: 8.031 kB / 336.9 MB, free: 9.82 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.598e-05/0.2517, allocations: 12.06 kB / 337 MB, free: 9.809 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.0001253/0.2518, allocations: 137.7 kB / 337.1 MB, free: 9.664 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.116e-05/0.2519, allocations: 27.75 kB / 337.1 MB, free: 9.637 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.683e-05/0.2519, allocations: 17.88 kB / 337.1 MB, free: 9.621 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.2519, allocations: 7.938 kB / 337.1 MB, free: 9.613 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.2519, allocations: 0 / 337.1 MB, free: 9.613 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.252, allocations: 0 / 337.1 MB, free: 9.613 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009018/0.2529, allocations: 0.6646 MB / 337.8 MB, free: 8.879 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.2529, allocations: 0 / 337.8 MB, free: 8.879 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001972/0.2531, allocations: 48.05 kB / 337.9 MB, free: 8.832 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001051/0.2532, allocations: 32.83 kB / 337.9 MB, free: 8.797 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.716e-05/0.2532, allocations: 11.95 kB / 337.9 MB, free: 8.785 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009916/0.2542, allocations: 1.378 MB / 339.3 MB, free: 7.273 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.2542, allocations: 0 / 339.3 MB, free: 7.273 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005402/0.2548, allocations: 414.4 kB / 339.7 MB, free: 6.844 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.618e-05/0.2548, allocations: 92.83 kB / 339.8 MB, free: 6.734 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.552e-05/0.2549, allocations: 8 kB / 339.8 MB, free: 6.727 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001172/0.255, allocations: 12.03 kB / 339.8 MB, free: 6.715 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.007e-05/0.2551, allocations: 15.92 kB / 339.8 MB, free: 6.699 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.19e-05/0.2551, allocations: 12 kB / 339.8 MB, free: 6.688 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001065/0.2552, allocations: 128.8 kB / 339.9 MB, free: 6.562 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2552, allocations: 0 / 339.9 MB, free: 6.562 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0003323/0.2555, allocations: 60 kB / 340 MB, free: 6.504 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.0001092/0.2556, allocations: 99.25 kB / 340.1 MB, free: 6.395 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0005344/0.2562, allocations: 310.4 kB / 340.4 MB, free: 6.078 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.2562, allocations: 0 / 340.4 MB, free: 6.078 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002936/0.2565, allocations: 210.6 kB / 340.6 MB, free: 5.859 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004399/0.257, allocations: 44.11 kB / 340.7 MB, free: 5.816 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001289/0.2582, allocations: 0.8095 MB / 341.5 MB, free: 4.98 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003634/0.2586, allocations: 0.7482 MB / 342.2 MB, free: 4.207 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 8.173e-05/0.2587, allocations: 21.92 kB / 342.2 MB, free: 4.184 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.173e-05/0.2588, allocations: 23.44 kB / 342.3 MB, free: 4.16 MB / 270.1 MB Notification: Performance of SimCode: time 2.11e-07/0.2588, allocations: 0 / 342.3 MB, free: 4.16 MB / 270.1 MB Notification: Performance of Templates: time 0.005363/0.2641, allocations: 2.14 MB / 344.4 MB, free: 2.02 MB / 270.1 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.FirstGrounded.makefile (rm -f Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.FirstGrounded.sim & ./Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.FirstGrounded -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe 2>&1)