Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.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.2.1_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs") translateModel(Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.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.001141/0.001141, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001205/0.001205, allocations: 190.2 kB / 16.14 MB, free: 6.66 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.601/1.601, allocations: 205.1 MB / 222 MB, free: 4.777 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.001376/0.001376, allocations: 43.94 kB / 278 MB, free: 12.78 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.281/0.2824, allocations: 46.62 MB / 324.7 MB, free: 1.941 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs): time 0.007409/0.2898, allocations: 5.4 MB / 330.1 MB, free: 13.69 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.005454/0.2953, allocations: 2.081 MB / 332.1 MB, free: 11.99 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002065/0.2974, allocations: 38.56 kB / 332.2 MB, free: 11.97 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009088/0.2985, allocations: 157.6 kB / 332.3 MB, free: 11.84 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009735/0.2995, allocations: 144 kB / 332.5 MB, free: 11.71 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001501/0.301, allocations: 340.8 kB / 332.8 MB, free: 11.43 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.001836/0.3029, allocations: 0.9467 MB / 333.8 MB, free: 10.87 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001224/0.3041, allocations: 0.544 MB / 334.3 MB, free: 10.48 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007084/0.3049, allocations: 290.8 kB / 334.6 MB, free: 10.2 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005923/0.3055, allocations: 338.4 kB / 334.9 MB, free: 9.863 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001593/0.3056, allocations: 56 kB / 335 MB, free: 9.809 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004274/0.3061, allocations: 107.9 kB / 335.1 MB, free: 9.703 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002346/0.3063, allocations: 163.4 kB / 335.2 MB, free: 9.543 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005936/0.3069, allocations: 394 kB / 335.6 MB, free: 9.156 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001209/0.3081, allocations: 1.099 MB / 336.7 MB, free: 8.047 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.3082, allocations: 0 / 336.7 MB, free: 8.047 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.3082, allocations: 0 / 336.7 MB, free: 8.047 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.107e-05/0.3082, allocations: 0 / 336.7 MB, free: 8.047 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.002252/0.3105, allocations: 1.03 MB / 337.8 MB, free: 6.965 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.56e-05/0.3106, allocations: 8.031 kB / 337.8 MB, free: 6.957 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002418/0.3108, allocations: 91.91 kB / 337.9 MB, free: 6.867 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007774/0.3116, allocations: 0.4985 MB / 338.3 MB, free: 6.328 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.342e-05/0.3117, allocations: 66.36 kB / 338.4 MB, free: 6.266 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001962/0.3119, allocations: 84.38 kB / 338.5 MB, free: 6.184 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001575/0.3134, allocations: 0.8008 MB / 339.3 MB, free: 5.344 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.398e-05/0.3135, allocations: 15.89 kB / 339.3 MB, free: 5.328 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.629e-05/0.3136, allocations: 32 kB / 339.3 MB, free: 5.297 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.892e-05/0.3136, allocations: 20 kB / 339.4 MB, free: 5.277 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009243/0.3145, allocations: 0.4957 MB / 339.9 MB, free: 4.785 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003574/0.3181, allocations: 2.891 MB / 342.7 MB, free: 1.762 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006103/0.3187, allocations: 231.2 kB / 343 MB, free: 1.527 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001775/0.3189, allocations: 100.8 kB / 343.1 MB, free: 1.426 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002918/0.3192, allocations: 259.3 kB / 343.3 MB, free: 1.117 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.064e-05/0.3193, allocations: 38.48 kB / 343.4 MB, free: 1.07 MB / 270.1 MB Notification: Performance of pre-optimization done (n=30): time 2.475e-06/0.3193, allocations: 4 kB / 343.4 MB, free: 1.066 MB / 270.1 MB Notification: Performance of matching and sorting (n=35): time 0.002824/0.3221, allocations: 1.251 MB / 344.6 MB, free: 15.72 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.594e-05/0.3222, allocations: 55.41 kB / 344.7 MB, free: 15.66 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005151/0.3227, allocations: 296.6 kB / 345 MB, free: 15.35 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.341e-05/0.3228, allocations: 33.7 kB / 345 MB, free: 15.31 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003355/0.3231, allocations: 402.4 kB / 345.4 MB, free: 14.91 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001455/0.3233, allocations: 138 kB / 345.5 MB, free: 14.78 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001574/0.3234, allocations: 90.16 kB / 345.6 MB, free: 14.68 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001846/0.3236, allocations: 358.7 kB / 346 MB, free: 14.32 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002261/0.3239, allocations: 105.1 kB / 346.1 MB, free: 14.22 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003297/0.3242, allocations: 254.5 kB / 346.3 MB, free: 13.91 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006284/0.3248, allocations: 384.6 kB / 346.7 MB, free: 13.48 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.155e-06/0.3249, allocations: 12 kB / 346.7 MB, free: 13.46 MB / 286.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0008421/0.3257, allocations: 453.4 kB / 347.1 MB, free: 13.01 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.42e-05/0.3257, allocations: 12.12 kB / 347.2 MB, free: 13 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.231e-05/0.3258, allocations: 4 kB / 347.2 MB, free: 13 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002518/0.326, allocations: 36.78 kB / 347.2 MB, free: 12.96 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003481/0.3264, allocations: 111.9 kB / 347.3 MB, free: 12.85 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005349/0.3269, allocations: 0.5523 MB / 347.9 MB, free: 12.27 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002228/0.3272, allocations: 16 kB / 347.9 MB, free: 12.25 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.239e-05/0.3272, allocations: 24.06 kB / 347.9 MB, free: 12.23 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.0003681/0.3276, allocations: 225.6 kB / 348.1 MB, free: 12 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001091/0.3277, allocations: 35.53 kB / 348.2 MB, free: 11.96 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007026/0.3284, allocations: 326 kB / 348.5 MB, free: 11.64 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.632e-06/0.3284, allocations: 4 kB / 348.5 MB, free: 11.63 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/0.3284, allocations: 4 kB / 348.5 MB, free: 11.63 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.834e-06/0.3285, allocations: 3.984 kB / 348.5 MB, free: 11.62 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001647/0.3301, allocations: 1.021 MB / 349.5 MB, free: 10.53 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.556e-06/0.3301, allocations: 4 kB / 349.5 MB, free: 10.53 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003602/0.3305, allocations: 75.91 kB / 349.6 MB, free: 10.45 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001867/0.3307, allocations: 36.83 kB / 349.6 MB, free: 10.41 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.079e-05/0.3307, allocations: 8 kB / 349.6 MB, free: 10.41 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004018/0.3311, allocations: 0.5524 MB / 350.2 MB, free: 9.828 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.3312, allocations: 0 / 350.2 MB, free: 9.828 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008401/0.332, allocations: 0.5555 MB / 350.7 MB, free: 9.234 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.338e-05/0.3321, allocations: 112.6 kB / 350.8 MB, free: 9.105 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.07e-05/0.3322, allocations: 8 kB / 350.8 MB, free: 9.098 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001506/0.3323, allocations: 8 kB / 350.9 MB, free: 9.09 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.293e-05/0.3324, allocations: 23.97 kB / 350.9 MB, free: 9.066 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.591e-05/0.3324, allocations: 15.98 kB / 350.9 MB, free: 9.051 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002269/0.3327, allocations: 211 kB / 351.1 MB, free: 8.844 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3327, allocations: 3.938 kB / 351.1 MB, free: 8.84 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0005814/0.3333, allocations: 124 kB / 351.2 MB, free: 8.719 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.0001941/0.3335, allocations: 115.3 kB / 351.3 MB, free: 8.598 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0006498/0.3341, allocations: 304.4 kB / 351.6 MB, free: 8.301 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 4.399e-06/0.3342, allocations: 4.25 kB / 351.6 MB, free: 8.297 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002823/0.3344, allocations: 136.1 kB / 351.8 MB, free: 8.164 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005388/0.335, allocations: 62.03 kB / 351.8 MB, free: 8.105 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003082/0.3381, allocations: 1.932 MB / 353.8 MB, free: 6.129 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005789/0.3387, allocations: 0.9132 MB / 354.7 MB, free: 5.188 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001951/0.3389, allocations: 51.33 kB / 354.7 MB, free: 5.133 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.678e-05/0.339, allocations: 35.44 kB / 354.8 MB, free: 5.098 MB / 286.1 MB Notification: Performance of SimCode: time 4.61e-07/0.339, allocations: 0 / 354.8 MB, free: 5.098 MB / 286.1 MB Notification: Performance of Templates: time 0.009935/0.3489, allocations: 3.575 MB / 358.3 MB, free: 1.523 MB / 286.1 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs.makefile (rm -f Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs.sim & ./Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs.pipe 2>&1)