Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Mechanics.Translational.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.Translational.Examples.GenerationOfFMUs,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs") translateModel(Modelica.Mechanics.Translational.Examples.GenerationOfFMUs,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009045/0.0009047, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001403/0.001403, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 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.4 MB / 222.1 MB, free: 5.652 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.0006951/0.0006952, allocations: 10.81 kB / 278.9 MB, free: 12.83 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2821/0.2828, allocations: 47.6 MB / 326.5 MB, free: 1.406 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.GenerationOfFMUs): time 0.00496/0.2879, allocations: 3.902 MB / 330.4 MB, free: 14.32 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.003113/0.291, allocations: 1.301 MB / 331.7 MB, free: 13.26 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009833/0.2921, allocations: 24.5 kB / 331.7 MB, free: 13.25 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003864/0.2925, allocations: 122.1 kB / 331.8 MB, free: 13.14 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005628/0.293, allocations: 127.4 kB / 332 MB, free: 13.03 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008081/0.2939, allocations: 249.2 kB / 332.2 MB, free: 12.84 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.001299/0.2952, allocations: 0.8527 MB / 333 MB, free: 12.32 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005215/0.2957, allocations: 291.2 kB / 333.3 MB, free: 12.14 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004304/0.2961, allocations: 249.2 kB / 333.6 MB, free: 12 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000329/0.2965, allocations: 276.1 kB / 333.8 MB, free: 11.81 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 6.635e-05/0.2966, allocations: 26.94 kB / 333.9 MB, free: 11.81 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002311/0.2968, allocations: 65.55 kB / 333.9 MB, free: 11.8 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001169/0.2969, allocations: 115.1 kB / 334 MB, free: 11.71 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001719/0.2971, allocations: 179.1 kB / 334.2 MB, free: 11.59 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008139/0.2979, allocations: 0.7579 MB / 335 MB, free: 10.97 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.2979, allocations: 0 / 335 MB, free: 10.97 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.2979, allocations: 0 / 335 MB, free: 10.97 MB / 270.1 MB Notification: Performance of Transformations before backend: time 2.208e-05/0.298, allocations: 4 kB / 335 MB, free: 10.96 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: 201 * Number of variables: 201 Notification: Performance of Generate backend data structure: time 0.001611/0.2996, allocations: 0.986 MB / 336 MB, free: 9.93 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.277e-05/0.2996, allocations: 8.031 kB / 336 MB, free: 9.922 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001446/0.2998, allocations: 102.8 kB / 336.1 MB, free: 9.82 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007726/0.3006, allocations: 0.5841 MB / 336.7 MB, free: 9.191 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.206e-05/0.3007, allocations: 62 kB / 336.7 MB, free: 9.129 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001006/0.3008, allocations: 80 kB / 336.8 MB, free: 9.051 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001354/0.3021, allocations: 0.8365 MB / 337.6 MB, free: 8.109 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.338e-05/0.3022, allocations: 11.84 kB / 337.6 MB, free: 8.098 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.533e-05/0.3022, allocations: 36 kB / 337.7 MB, free: 8.062 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.097e-05/0.3023, allocations: 20 kB / 337.7 MB, free: 8.043 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009973/0.3033, allocations: 467.3 kB / 338.2 MB, free: 7.586 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004183/0.3075, allocations: 4.42 MB / 342.6 MB, free: 2.973 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005928/0.3081, allocations: 295.6 kB / 342.9 MB, free: 2.676 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002878/0.3084, allocations: 141.5 kB / 343 MB, free: 2.535 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003013/0.3087, allocations: 170.6 kB / 343.2 MB, free: 2.332 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.017e-05/0.3087, allocations: 34.94 kB / 343.2 MB, free: 2.289 MB / 270.1 MB Notification: Performance of pre-optimization done (n=46): time 2.404e-06/0.3087, allocations: 4 kB / 343.2 MB, free: 2.285 MB / 270.1 MB Notification: Performance of matching and sorting (n=57): time 0.003719/0.3125, allocations: 1.732 MB / 344.9 MB, free: 472 kB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.662e-05/0.3125, allocations: 59.97 kB / 345 MB, free: 400 kB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007025/0.3132, allocations: 0.5314 MB / 345.5 MB, free: 15.84 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.303e-05/0.3133, allocations: 33.7 kB / 345.6 MB, free: 15.8 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004308/0.3137, allocations: 482.4 kB / 346 MB, free: 15.33 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00015/0.3139, allocations: 212.9 kB / 346.2 MB, free: 15.12 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.733e-05/0.3139, allocations: 20 kB / 346.3 MB, free: 15.1 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0002177/0.3141, allocations: 386.7 kB / 346.6 MB, free: 14.71 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002743/0.3144, allocations: 153.9 kB / 346.8 MB, free: 14.56 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004494/0.3149, allocations: 459.2 kB / 347.2 MB, free: 13.98 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003706/0.3152, allocations: 232.7 kB / 347.5 MB, free: 13.76 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.449e-06/0.3152, allocations: 4 kB / 347.5 MB, free: 13.75 MB / 286.1 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.001142/0.3164, allocations: 0.7384 MB / 348.2 MB, free: 13 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.487e-05/0.3164, allocations: 8 kB / 348.2 MB, free: 13 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.536e-05/0.3165, allocations: 8 kB / 348.2 MB, free: 12.99 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000211/0.3167, allocations: 56.86 kB / 348.3 MB, free: 12.93 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005518/0.3172, allocations: 187.7 kB / 348.5 MB, free: 12.75 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001332/0.3186, allocations: 1.514 MB / 350 MB, free: 11.1 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002761/0.3189, allocations: 28 kB / 350 MB, free: 11.07 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.202e-05/0.3189, allocations: 36 kB / 350 MB, free: 11.04 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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 (101): * Single equations (assignments): 100 * 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%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003132/0.3192, allocations: 225.6 kB / 350.3 MB, free: 10.8 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.195e-05/0.3193, allocations: 71.06 kB / 350.3 MB, free: 10.73 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001286/0.3195, allocations: 87.08 kB / 350.4 MB, free: 10.65 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.528e-06/0.3195, allocations: 8 kB / 350.4 MB, free: 10.64 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.3195, allocations: 0 / 350.4 MB, free: 10.64 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.209e-06/0.3195, allocations: 0 / 350.4 MB, free: 10.64 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002064/0.3216, allocations: 1.427 MB / 351.9 MB, free: 9.105 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.907e-06/0.3216, allocations: 11.94 kB / 351.9 MB, free: 9.094 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004506/0.322, allocations: 116 kB / 352 MB, free: 8.98 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.791e-05/0.3221, allocations: 28.78 kB / 352 MB, free: 8.949 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.135e-05/0.3222, allocations: 16 kB / 352 MB, free: 8.934 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009665/0.3232, allocations: 1.269 MB / 353.3 MB, free: 7.531 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.686e-06/0.3232, allocations: 7.984 kB / 353.3 MB, free: 7.523 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001082/0.3243, allocations: 0.788 MB / 354.1 MB, free: 6.684 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001091/0.3244, allocations: 128.5 kB / 354.2 MB, free: 6.539 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.021e-05/0.3244, allocations: 16 kB / 354.2 MB, free: 6.523 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000203/0.3247, allocations: 23.94 kB / 354.2 MB, free: 6.5 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.168e-05/0.3247, allocations: 47.92 kB / 354.3 MB, free: 6.453 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.416e-05/0.3248, allocations: 16 kB / 354.3 MB, free: 6.438 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0003852/0.3252, allocations: 355.1 kB / 354.7 MB, free: 6.094 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3252, allocations: 0 / 354.7 MB, free: 6.094 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0006003/0.3258, allocations: 136 kB / 354.8 MB, free: 5.961 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 10 (directMass.mass.s,directMass.mass.v,mass2a.s,mass2a.v,mass2b.s,mass2b.v,mass3a.s,mass3a.v,mass3b.s,mass3b.v) * 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 (56): * Single equations (assignments): 55 * 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%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001422/0.3259, allocations: 123.1 kB / 354.9 MB, free: 5.828 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0008657/0.3268, allocations: 0.5761 MB / 355.5 MB, free: 5.242 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/0.3268, allocations: 4 kB / 355.5 MB, free: 5.238 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003866/0.3272, allocations: 311.9 kB / 355.8 MB, free: 4.922 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005826/0.3278, allocations: 90.97 kB / 355.9 MB, free: 4.832 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00295/0.3308, allocations: 2.298 MB / 358.2 MB, free: 2.469 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006108/0.3314, allocations: 0.9613 MB / 359.1 MB, free: 1.477 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.000286/0.3317, allocations: 89.92 kB / 359.2 MB, free: 1.387 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001198/0.3318, allocations: 59.42 kB / 359.3 MB, free: 1.328 MB / 286.1 MB Notification: Performance of SimCode: time 4.71e-07/0.3318, allocations: 0 / 359.3 MB, free: 1.328 MB / 286.1 MB Notification: Performance of Templates: time 0.01044/0.3423, allocations: 4.864 MB / 364.2 MB, free: 12.46 MB / 302.1 MB make -j1 -f Modelica_3.1_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.makefile (rm -f Modelica_3.1_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_3.1_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_3.1_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.sim & ./Modelica_3.1_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe 2>&1)