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.009275/0.009275, allocations: 101.2 kB / 15.73 MB, free: 5.586 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.001326/0.001326, allocations: 187.2 kB / 16.67 MB, free: 5.523 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.435/1.435, allocations: 205.1 MB / 222.5 MB, free: 12.23 MB / 190.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.001237/0.001237, allocations: 51.92 kB / 326.5 MB, free: 3.301 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1089/0.1101, allocations: 46.62 MB / 373.2 MB, free: 4.57 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.FirstGrounded): time 0.003571/0.1137, allocations: 2.344 MB / 375.5 MB, free: 2.211 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001098/0.1148, allocations: 0.6317 MB / 376.1 MB, free: 1.57 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001381/0.115, allocations: 7.938 kB / 376.1 MB, free: 1.562 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001658/0.1152, allocations: 31.66 kB / 376.2 MB, free: 1.531 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001463/0.1153, allocations: 71.34 kB / 376.2 MB, free: 1.461 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002199/0.1156, allocations: 55.92 kB / 376.3 MB, free: 1.406 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002785/0.1158, allocations: 254.8 kB / 376.5 MB, free: 1.156 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002007/0.1161, allocations: 92.28 kB / 376.6 MB, free: 1.066 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001364/0.1162, allocations: 99.64 kB / 376.7 MB, free: 0.9688 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001538/0.1164, allocations: 107.5 kB / 376.8 MB, free: 0.8633 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.575e-05/0.1164, allocations: 20 kB / 376.9 MB, free: 0.8438 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.419e-05/0.1164, allocations: 23.94 kB / 376.9 MB, free: 0.8203 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.44e-05/0.1165, allocations: 39.84 kB / 376.9 MB, free: 0.7812 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001085/0.1166, allocations: 115.4 kB / 377 MB, free: 0.668 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003013/0.1169, allocations: 255.1 kB / 377.3 MB, free: 428 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.269e-06/0.1169, allocations: 0 / 377.3 MB, free: 428 kB / 318.1 MB Notification: Performance of FrontEnd: time 2.324e-06/0.1169, allocations: 0 / 377.3 MB, free: 428 kB / 318.1 MB Notification: Performance of Transformations before backend: time 7.815e-06/0.117, allocations: 0 / 377.3 MB, free: 428 kB / 318.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.221/0.3379, allocations: 0.5031 MB / 377.8 MB, free: 13.11 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.16e-05/0.338, allocations: 11.38 kB / 377.8 MB, free: 13.11 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.447e-05/0.3381, allocations: 27.34 kB / 377.8 MB, free: 13.09 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004776/0.3386, allocations: 243.8 kB / 378.1 MB, free: 12.88 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.994e-05/0.3387, allocations: 15.06 kB / 378.1 MB, free: 12.88 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.89e-05/0.3387, allocations: 24.41 kB / 378.1 MB, free: 12.88 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004254/0.3391, allocations: 207.7 kB / 378.3 MB, free: 12.82 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.34e-05/0.3392, allocations: 3.438 kB / 378.3 MB, free: 12.82 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.213e-05/0.3392, allocations: 15.84 kB / 378.3 MB, free: 12.82 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.143e-05/0.3392, allocations: 7.047 kB / 378.3 MB, free: 12.82 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002713/0.3395, allocations: 129.2 kB / 378.4 MB, free: 12.82 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009951/0.3405, allocations: 0.7 MB / 379.1 MB, free: 12.43 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002869/0.3408, allocations: 147.6 kB / 379.3 MB, free: 12.41 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001382/0.3409, allocations: 67.28 kB / 379.4 MB, free: 12.4 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.735e-05/0.341, allocations: 5.734 kB / 379.4 MB, free: 12.4 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.715e-05/0.341, allocations: 37.81 kB / 379.4 MB, free: 12.36 MB / 318.1 MB Notification: Performance of pre-optimization done (n=20): time 2.254e-06/0.341, allocations: 9.75 kB / 379.4 MB, free: 12.36 MB / 318.1 MB Notification: Performance of matching and sorting (n=24): time 0.001612/0.3426, allocations: 0.8749 MB / 380.3 MB, free: 11.83 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.653e-05/0.3427, allocations: 62.03 kB / 380.3 MB, free: 11.76 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002345/0.3429, allocations: 173.7 kB / 380.5 MB, free: 11.64 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.329e-05/0.343, allocations: 33.11 kB / 380.5 MB, free: 11.6 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.304e-05/0.343, allocations: 142.7 kB / 380.7 MB, free: 11.48 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.508e-05/0.3431, allocations: 82.09 kB / 380.8 MB, free: 11.41 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.079e-05/0.3432, allocations: 51.77 kB / 380.8 MB, free: 11.38 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.685e-05/0.3433, allocations: 334 kB / 381.1 MB, free: 11.06 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001687/0.3435, allocations: 53.8 kB / 381.2 MB, free: 11.04 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001789/0.3437, allocations: 97.53 kB / 381.3 MB, free: 10.98 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003439/0.344, allocations: 171.6 kB / 381.5 MB, free: 10.88 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.344, allocations: 0.5312 kB / 381.5 MB, free: 10.88 MB / 318.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004407/0.3445, allocations: 254 kB / 381.7 MB, free: 10.76 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.986e-05/0.3445, allocations: 5.125 kB / 381.7 MB, free: 10.76 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.246e-06/0.3445, allocations: 2.312 kB / 381.7 MB, free: 10.76 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001811/0.3447, allocations: 35.05 kB / 381.8 MB, free: 10.74 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002229/0.345, allocations: 50.61 kB / 381.8 MB, free: 10.74 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009496/0.3459, allocations: 1.488 MB / 383.3 MB, free: 9.273 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001112/0.346, allocations: 9.812 kB / 383.3 MB, free: 9.27 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.802e-05/0.3461, allocations: 10.75 kB / 383.3 MB, free: 9.266 MB / 318.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 9.409e-05/0.3462, allocations: 135.3 kB / 383.4 MB, free: 9.133 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.991e-05/0.3462, allocations: 18.06 kB / 383.5 MB, free: 9.125 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.349e-05/0.3463, allocations: 23.34 kB / 383.5 MB, free: 9.109 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-06/0.3463, allocations: 2.656 kB / 383.5 MB, free: 9.109 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.677e-06/0.3463, allocations: 12.7 kB / 383.5 MB, free: 9.102 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.3463, allocations: 0.75 kB / 383.5 MB, free: 9.102 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008556/0.3472, allocations: 0.6509 MB / 384.1 MB, free: 8.621 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.3472, allocations: 1.25 kB / 384.1 MB, free: 8.621 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002054/0.3474, allocations: 48.36 kB / 384.2 MB, free: 8.613 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001183/0.3475, allocations: 36.33 kB / 384.2 MB, free: 8.598 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.881e-05/0.3475, allocations: 11.25 kB / 384.2 MB, free: 8.594 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009104/0.3485, allocations: 1.484 MB / 385.7 MB, free: 7.141 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/0.3485, allocations: 2.203 kB / 385.7 MB, free: 7.141 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005418/0.349, allocations: 408 kB / 386.1 MB, free: 6.879 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.787e-05/0.3491, allocations: 91.19 kB / 386.2 MB, free: 6.777 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.541e-05/0.3491, allocations: 10.47 kB / 386.2 MB, free: 6.773 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000113/0.3492, allocations: 8.625 kB / 386.2 MB, free: 6.77 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.084e-05/0.3493, allocations: 22.58 kB / 386.3 MB, free: 6.762 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.244e-05/0.3493, allocations: 5.031 kB / 386.3 MB, free: 6.762 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001046/0.3494, allocations: 133.9 kB / 386.4 MB, free: 6.668 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3494, allocations: 7.938 kB / 386.4 MB, free: 6.66 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003596/0.3498, allocations: 58.44 kB / 386.5 MB, free: 6.652 MB / 318.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.0001313/0.3499, allocations: 98.89 kB / 386.6 MB, free: 6.559 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0005983/0.3505, allocations: 292.6 kB / 386.8 MB, free: 6.391 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.3506, allocations: 4.25 kB / 386.8 MB, free: 6.387 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003165/0.3509, allocations: 213.1 kB / 387.1 MB, free: 6.246 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004372/0.3513, allocations: 38.11 kB / 387.1 MB, free: 6.234 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00124/0.3526, allocations: 0.6749 MB / 387.8 MB, free: 5.793 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002302/0.3528, allocations: 0.7515 MB / 388.5 MB, free: 5.086 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 8.564e-05/0.3529, allocations: 17.91 kB / 388.5 MB, free: 5.082 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.532e-05/0.353, allocations: 18.66 kB / 388.6 MB, free: 5.074 MB / 318.1 MB Notification: Performance of SimCode: time 3.1e-07/0.353, allocations: 0 / 388.6 MB, free: 5.074 MB / 318.1 MB Notification: Performance of Templates: time 0.00696/0.3599, allocations: 2.408 MB / 391 MB, free: 4.887 MB / 318.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)