Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs.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.GenerationOfFMUs,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs") translateModel(Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001181/0.001181, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001351/0.001351, allocations: 193.1 kB / 16.14 MB, free: 6.707 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.583/1.583, allocations: 205.1 MB / 222 MB, free: 4.742 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.001222/0.001222, allocations: 51.94 kB / 278 MB, free: 12.77 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2879/0.2892, allocations: 46.62 MB / 324.7 MB, free: 1.926 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs): time 0.006859/0.2961, allocations: 5.405 MB / 330.1 MB, free: 13.67 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.004717/0.3008, allocations: 2.077 MB / 332.2 MB, free: 11.97 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001062/0.3019, allocations: 35.03 kB / 332.2 MB, free: 11.96 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005623/0.3025, allocations: 156.5 kB / 332.3 MB, free: 11.83 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004486/0.303, allocations: 140.5 kB / 332.5 MB, free: 11.71 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009145/0.3039, allocations: 341.3 kB / 332.8 MB, free: 11.43 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009063/0.3048, allocations: 0.9543 MB / 333.8 MB, free: 10.86 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007256/0.3056, allocations: 0.5381 MB / 334.3 MB, free: 10.47 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003315/0.3059, allocations: 290.9 kB / 334.6 MB, free: 10.18 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003259/0.3062, allocations: 346.2 kB / 334.9 MB, free: 9.844 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 8.07e-05/0.3063, allocations: 56 kB / 335 MB, free: 9.789 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002356/0.3066, allocations: 108 kB / 335.1 MB, free: 9.684 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001678/0.3067, allocations: 155.4 kB / 335.2 MB, free: 9.531 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003653/0.3071, allocations: 398 kB / 335.6 MB, free: 9.141 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009372/0.3081, allocations: 1.095 MB / 336.7 MB, free: 8.043 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.3081, allocations: 4 kB / 336.7 MB, free: 8.039 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.3081, allocations: 0 / 336.7 MB, free: 8.039 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.266e-05/0.3081, allocations: 0 / 336.7 MB, free: 8.039 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: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.001418/0.3095, allocations: 1.026 MB / 337.8 MB, free: 6.961 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.744e-05/0.3096, allocations: 8.031 kB / 337.8 MB, free: 6.953 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001471/0.3097, allocations: 87.91 kB / 337.8 MB, free: 6.867 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006678/0.3104, allocations: 0.5024 MB / 338.3 MB, free: 6.324 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.877e-05/0.3105, allocations: 70.36 kB / 338.4 MB, free: 6.258 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001097/0.3106, allocations: 80.38 kB / 338.5 MB, free: 6.18 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001294/0.3119, allocations: 0.8047 MB / 339.3 MB, free: 5.336 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.41e-05/0.3119, allocations: 15.84 kB / 339.3 MB, free: 5.32 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.796e-05/0.312, allocations: 36 kB / 339.3 MB, free: 5.285 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.616e-05/0.312, allocations: 20 kB / 339.4 MB, free: 5.266 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008906/0.3129, allocations: 0.4957 MB / 339.9 MB, free: 4.773 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003186/0.3161, allocations: 2.891 MB / 342.8 MB, free: 1.75 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000566/0.3167, allocations: 227.3 kB / 343 MB, free: 1.52 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001823/0.3169, allocations: 104.8 kB / 343.1 MB, free: 1.414 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002979/0.3172, allocations: 251.3 kB / 343.3 MB, free: 1.113 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.782e-05/0.3172, allocations: 34.56 kB / 343.4 MB, free: 1.07 MB / 270.1 MB Notification: Performance of pre-optimization done (n=30): time 1.674e-06/0.3172, allocations: 3.938 kB / 343.4 MB, free: 1.066 MB / 270.1 MB Notification: Performance of matching and sorting (n=35): time 0.002556/0.3198, allocations: 1.259 MB / 344.6 MB, free: 15.71 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.202e-05/0.3199, allocations: 59.39 kB / 344.7 MB, free: 15.64 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003429/0.3202, allocations: 296.6 kB / 345 MB, free: 15.34 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.582e-05/0.3203, allocations: 29.7 kB / 345 MB, free: 15.3 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002757/0.3205, allocations: 398.5 kB / 345.4 MB, free: 14.91 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001179/0.3207, allocations: 138 kB / 345.5 MB, free: 14.77 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001324/0.3208, allocations: 82.17 kB / 345.6 MB, free: 14.69 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001778/0.321, allocations: 358.7 kB / 346 MB, free: 14.33 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002095/0.3212, allocations: 109.1 kB / 346.1 MB, free: 14.22 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00038/0.3216, allocations: 258.5 kB / 346.3 MB, free: 13.91 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007012/0.3223, allocations: 380.7 kB / 346.7 MB, free: 13.48 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.3223, allocations: 0 / 346.7 MB, free: 13.48 MB / 286.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0007886/0.3231, allocations: 465.4 kB / 347.1 MB, free: 13.01 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.949e-05/0.3232, allocations: 4.062 kB / 347.1 MB, free: 13.01 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.092e-05/0.3232, allocations: 8 kB / 347.2 MB, free: 13 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002298/0.3234, allocations: 40.84 kB / 347.2 MB, free: 12.96 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003419/0.3238, allocations: 115.8 kB / 347.3 MB, free: 12.84 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007022/0.3245, allocations: 0.5601 MB / 347.9 MB, free: 12.26 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001677/0.3247, allocations: 12 kB / 347.9 MB, free: 12.25 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.919e-05/0.3247, allocations: 24 kB / 347.9 MB, free: 12.22 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (60): * Single equations (assignments): 59 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0002885/0.325, allocations: 221.7 kB / 348.1 MB, free: 12 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.103e-05/0.3251, allocations: 35.53 kB / 348.2 MB, free: 11.96 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005742/0.3257, allocations: 322 kB / 348.5 MB, free: 11.64 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.3257, allocations: 4 kB / 348.5 MB, free: 11.63 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.282e-05/0.3257, allocations: 4 kB / 348.5 MB, free: 11.63 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.112e-05/0.3257, allocations: 11.92 kB / 348.5 MB, free: 11.62 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001433/0.3271, allocations: 1.017 MB / 349.5 MB, free: 10.53 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/0.3272, allocations: 4.031 kB / 349.5 MB, free: 10.52 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004006/0.3276, allocations: 79.91 kB / 349.6 MB, free: 10.45 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001273/0.3277, allocations: 28.84 kB / 349.6 MB, free: 10.41 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.498e-05/0.3277, allocations: 11.98 kB / 349.6 MB, free: 10.4 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004488/0.3282, allocations: 0.5563 MB / 350.2 MB, free: 9.82 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.37e-06/0.3282, allocations: 8.016 kB / 350.2 MB, free: 9.812 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001028/0.3292, allocations: 0.5398 MB / 350.7 MB, free: 9.234 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.982e-05/0.3294, allocations: 120.6 kB / 350.8 MB, free: 9.098 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.735e-05/0.3294, allocations: 8 kB / 350.9 MB, free: 9.09 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001546/0.3296, allocations: 8.094 kB / 350.9 MB, free: 9.082 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000156/0.3297, allocations: 27.91 kB / 350.9 MB, free: 9.055 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.998e-05/0.3298, allocations: 8 kB / 350.9 MB, free: 9.047 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001967/0.33, allocations: 215 kB / 351.1 MB, free: 8.836 MB / 286.1 MB Notification: Performance of sort global known variables: time 2e-07/0.33, allocations: 4 kB / 351.1 MB, free: 8.832 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0005006/0.3305, allocations: 120 kB / 351.2 MB, free: 8.715 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 10 (directInertia.inertia.w,directInertia.torqueToAngle.phi,inertia2a.w,torqueToAngle2a.phi,inertia2b.w,torqueToAngle2b.phi,inertia3a.phi,inertia3a.w,inertia3b.phi,inertia3b.w) * 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 (33): * Single equations (assignments): 32 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002313/0.3307, allocations: 115.2 kB / 351.3 MB, free: 8.594 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0005688/0.3313, allocations: 300.6 kB / 351.6 MB, free: 8.301 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.3313, allocations: 0 / 351.6 MB, free: 8.301 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000249/0.3316, allocations: 147.9 kB / 351.8 MB, free: 8.156 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006401/0.3322, allocations: 57.41 kB / 351.8 MB, free: 8.102 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002931/0.3351, allocations: 1.929 MB / 353.8 MB, free: 6.129 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005333/0.3357, allocations: 0.9171 MB / 354.7 MB, free: 5.184 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001831/0.3359, allocations: 51.28 kB / 354.7 MB, free: 5.129 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.771e-05/0.336, allocations: 35.42 kB / 354.8 MB, free: 5.094 MB / 286.1 MB Notification: Performance of SimCode: time 3.81e-07/0.336, allocations: 0 / 354.8 MB, free: 5.094 MB / 286.1 MB Notification: Performance of Templates: time 0.009492/0.3455, allocations: 3.578 MB / 358.3 MB, free: 1.516 MB / 286.1 MB make -j1 -f Modelica_3.1_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs.makefile (rm -f Modelica_3.1_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_3.1_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_3.1_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs.sim & ./Modelica_3.1_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs.pipe 2>&1)