Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.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.2.1_Modelica.Mechanics.Rotational.Examples.FirstGrounded") translateModel(Modelica.Mechanics.Rotational.Examples.FirstGrounded,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.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.0008136/0.0008136, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.006198/0.006198, allocations: 173.9 kB / 16.27 MB, free: 6.652 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.554/1.554, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.000451/0.0004511, allocations: 15.98 kB / 279.4 MB, free: 12.52 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3197/0.3202, allocations: 47.59 MB / 327 MB, free: 1.387 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.FirstGrounded): time 0.002799/0.323, allocations: 2.033 MB / 329.1 MB, free: 15.79 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001385/0.3245, allocations: 0.6114 MB / 329.7 MB, free: 15.29 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001647/0.3247, allocations: 3.438 kB / 329.7 MB, free: 15.29 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001671/0.3248, allocations: 28.47 kB / 329.7 MB, free: 15.26 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001652/0.325, allocations: 62.69 kB / 329.8 MB, free: 15.21 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002927/0.3253, allocations: 42.77 kB / 329.8 MB, free: 15.17 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004172/0.3257, allocations: 244.6 kB / 330 MB, free: 15.03 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003776/0.3261, allocations: 72.59 kB / 330.1 MB, free: 14.98 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002241/0.3264, allocations: 84.22 kB / 330.2 MB, free: 14.94 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001865/0.3266, allocations: 95.67 kB / 330.3 MB, free: 14.88 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.056e-05/0.3266, allocations: 10.84 kB / 330.3 MB, free: 14.88 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.476e-05/0.3266, allocations: 10.22 kB / 330.3 MB, free: 14.88 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 4.876e-05/0.3267, allocations: 33.41 kB / 330.3 MB, free: 14.85 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001626/0.3269, allocations: 131.8 kB / 330.5 MB, free: 14.75 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003055/0.3272, allocations: 232.8 kB / 330.7 MB, free: 14.59 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.147e-06/0.3272, allocations: 7.938 kB / 330.7 MB, free: 14.58 MB / 270.1 MB Notification: Performance of FrontEnd: time 3.427e-06/0.3272, allocations: 1.5 kB / 330.7 MB, free: 14.58 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.324e-06/0.3272, allocations: 0 / 330.7 MB, free: 14.58 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.000784/0.328, allocations: 478 kB / 331.2 MB, free: 14.13 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.918e-05/0.3281, allocations: 9.594 kB / 331.2 MB, free: 14.13 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.105e-05/0.3282, allocations: 28.36 kB / 331.2 MB, free: 14.11 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003115/0.3285, allocations: 239.2 kB / 331.5 MB, free: 13.86 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.822e-05/0.3285, allocations: 16.97 kB / 331.5 MB, free: 13.86 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.837e-05/0.3286, allocations: 25.83 kB / 331.5 MB, free: 13.84 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000433/0.329, allocations: 212.8 kB / 331.7 MB, free: 13.7 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.212e-05/0.3291, allocations: 5.109 kB / 331.7 MB, free: 13.7 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.227e-05/0.3291, allocations: 6.188 kB / 331.7 MB, free: 13.69 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.443e-05/0.3291, allocations: 5.094 kB / 331.7 MB, free: 13.69 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003201/0.3294, allocations: 137.5 kB / 331.9 MB, free: 13.63 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001327/0.3308, allocations: 0.7102 MB / 332.6 MB, free: 13.01 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003148/0.3311, allocations: 150.7 kB / 332.7 MB, free: 12.93 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001581/0.3313, allocations: 71.52 kB / 332.8 MB, free: 12.89 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.223e-05/0.3313, allocations: 5 kB / 332.8 MB, free: 12.89 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.831e-05/0.3313, allocations: 40.72 kB / 332.8 MB, free: 12.84 MB / 270.1 MB Notification: Performance of pre-optimization done (n=20): time 3.316e-06/0.3314, allocations: 3.984 kB / 332.8 MB, free: 12.84 MB / 270.1 MB Notification: Performance of matching and sorting (n=24): time 0.001902/0.3333, allocations: 0.8991 MB / 333.7 MB, free: 12.13 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.504e-05/0.3333, allocations: 53.66 kB / 333.8 MB, free: 12.07 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002603/0.3336, allocations: 180.2 kB / 334 MB, free: 11.92 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.296e-05/0.3336, allocations: 30.73 kB / 334 MB, free: 11.88 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001053/0.3337, allocations: 143.3 kB / 334.1 MB, free: 11.75 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.859e-05/0.3338, allocations: 88.52 kB / 334.2 MB, free: 11.67 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.538e-05/0.3339, allocations: 28.92 kB / 334.2 MB, free: 11.64 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.00015/0.334, allocations: 331.5 kB / 334.6 MB, free: 11.32 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001335/0.3342, allocations: 56.47 kB / 334.6 MB, free: 11.29 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001859/0.3344, allocations: 100.7 kB / 334.7 MB, free: 11.22 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003329/0.3347, allocations: 170.3 kB / 334.9 MB, free: 11.11 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.3347, allocations: 4 kB / 334.9 MB, free: 11.11 MB / 270.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004851/0.3352, allocations: 256.8 kB / 335.1 MB, free: 10.88 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.332e-05/0.3353, allocations: 4 kB / 335.1 MB, free: 10.88 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.228e-06/0.3353, allocations: 4 kB / 335.1 MB, free: 10.88 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001859/0.3355, allocations: 36.77 kB / 335.2 MB, free: 10.84 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000219/0.3357, allocations: 52.11 kB / 335.2 MB, free: 10.79 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001336/0.337, allocations: 1.374 MB / 336.6 MB, free: 9.273 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001343/0.3372, allocations: 8.031 kB / 336.6 MB, free: 9.266 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.833e-05/0.3372, allocations: 11.94 kB / 336.6 MB, free: 9.254 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002292/0.3375, allocations: 137.8 kB / 336.8 MB, free: 9.109 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.286e-05/0.3375, allocations: 19.81 kB / 336.8 MB, free: 9.09 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.801e-05/0.3376, allocations: 21.88 kB / 336.8 MB, free: 9.07 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.3376, allocations: 144 / 336.8 MB, free: 9.07 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.686e-06/0.3376, allocations: 64 / 336.8 MB, free: 9.07 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.54e-05/0.3376, allocations: 19.97 kB / 336.8 MB, free: 9.051 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00105/0.3387, allocations: 0.6673 MB / 337.5 MB, free: 8.312 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.871e-06/0.3387, allocations: 4 kB / 337.5 MB, free: 8.309 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002014/0.3389, allocations: 35.98 kB / 337.5 MB, free: 8.273 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001203/0.339, allocations: 36.83 kB / 337.6 MB, free: 8.234 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.643e-05/0.3391, allocations: 4 kB / 337.6 MB, free: 8.23 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001265/0.3403, allocations: 1.374 MB / 338.9 MB, free: 6.723 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/0.3404, allocations: 7.969 kB / 338.9 MB, free: 6.715 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006118/0.341, allocations: 410.3 kB / 339.3 MB, free: 6.289 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.641e-05/0.341, allocations: 92.83 kB / 339.4 MB, free: 6.18 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.509e-05/0.3411, allocations: 8 kB / 339.4 MB, free: 6.172 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001227/0.3412, allocations: 12.03 kB / 339.5 MB, free: 6.16 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.809e-05/0.3413, allocations: 19.92 kB / 339.5 MB, free: 6.141 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.292e-05/0.3413, allocations: 8 kB / 339.5 MB, free: 6.133 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001335/0.3414, allocations: 128.8 kB / 339.6 MB, free: 6.008 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3414, allocations: 3.938 kB / 339.6 MB, free: 6.004 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.00036/0.3418, allocations: 56 kB / 339.7 MB, free: 5.949 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001498/0.342, allocations: 103.2 kB / 339.8 MB, free: 5.836 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0005977/0.3426, allocations: 310.3 kB / 340.1 MB, free: 5.52 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.3426, allocations: 0 / 340.1 MB, free: 5.52 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003111/0.3429, allocations: 211 kB / 340.3 MB, free: 5.301 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004908/0.3434, allocations: 44.19 kB / 340.3 MB, free: 5.258 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001524/0.3449, allocations: 0.8522 MB / 341.2 MB, free: 4.379 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004832/0.3454, allocations: 0.7482 MB / 341.9 MB, free: 3.605 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 0.000109/0.3456, allocations: 21.94 kB / 341.9 MB, free: 3.582 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.768e-05/0.3456, allocations: 15.44 kB / 342 MB, free: 3.566 MB / 270.1 MB Notification: Performance of SimCode: time 3.6e-07/0.3456, allocations: 0 / 342 MB, free: 3.566 MB / 270.1 MB Notification: Performance of Templates: time 0.006273/0.3519, allocations: 2.226 MB / 344.2 MB, free: 1.344 MB / 270.1 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.FirstGrounded.makefile (rm -f Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; mkfifo Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe >> ../files/Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.FirstGrounded.sim & ./Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.FirstGrounded -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe 2>&1)