Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.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.2.1_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs") translateModel(Modelica.Mechanics.Translational.Examples.GenerationOfFMUs,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.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.001099/0.001099, 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.001186/0.001186, allocations: 194.2 kB / 16.13 MB, free: 6.668 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.603/1.603, allocations: 205.1 MB / 222 MB, free: 4.727 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.001408/0.001408, allocations: 55.92 kB / 278.1 MB, free: 12.76 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2625/0.2639, allocations: 46.62 MB / 324.7 MB, free: 1.926 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.GenerationOfFMUs): time 0.005937/0.2699, allocations: 4.557 MB / 329.2 MB, free: 14.3 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.003092/0.273, allocations: 1.34 MB / 330.6 MB, free: 13.2 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004977/0.2736, allocations: 29.09 kB / 330.6 MB, free: 13.19 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004165/0.274, allocations: 130 kB / 330.7 MB, free: 13.07 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003601/0.2744, allocations: 134.6 kB / 330.9 MB, free: 12.96 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007746/0.2752, allocations: 321.6 kB / 331.2 MB, free: 12.7 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.00109/0.2763, allocations: 0.9243 MB / 332.1 MB, free: 12.14 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006208/0.2769, allocations: 385.8 kB / 332.5 MB, free: 11.89 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004489/0.2774, allocations: 283.5 kB / 332.8 MB, free: 11.73 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003764/0.2778, allocations: 330.6 kB / 333.1 MB, free: 11.49 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001002/0.2779, allocations: 41.72 kB / 333.1 MB, free: 11.49 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000263/0.2781, allocations: 82.48 kB / 333.2 MB, free: 11.47 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001543/0.2783, allocations: 145.1 kB / 333.3 MB, free: 11.35 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004103/0.2787, allocations: 393.7 kB / 333.7 MB, free: 11.05 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009151/0.2796, allocations: 0.9729 MB / 334.7 MB, free: 10.08 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.2797, allocations: 0 / 334.7 MB, free: 10.08 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.2797, allocations: 4 kB / 334.7 MB, free: 10.07 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.133e-05/0.2797, allocations: 0 / 334.7 MB, free: 10.07 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.001743/0.2814, allocations: 1.146 MB / 335.8 MB, free: 8.879 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.866e-05/0.2815, allocations: 8.031 kB / 335.9 MB, free: 8.871 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001571/0.2817, allocations: 106.7 kB / 336 MB, free: 8.766 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007808/0.2824, allocations: 0.5915 MB / 336.5 MB, free: 8.129 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.013e-05/0.2825, allocations: 58 kB / 336.6 MB, free: 8.07 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.704e-05/0.2826, allocations: 87.98 kB / 336.7 MB, free: 7.984 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001302/0.2839, allocations: 0.8403 MB / 337.5 MB, free: 7.039 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.032e-05/0.284, allocations: 15.84 kB / 337.5 MB, free: 7.023 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.972e-05/0.284, allocations: 36 kB / 337.6 MB, free: 6.988 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.908e-05/0.2841, allocations: 20 kB / 337.6 MB, free: 6.969 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008906/0.285, allocations: 471.3 kB / 338.1 MB, free: 6.508 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003942/0.2889, allocations: 4.412 MB / 342.5 MB, free: 1.902 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006223/0.2896, allocations: 300 kB / 342.8 MB, free: 1.602 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002456/0.2898, allocations: 145.3 kB / 342.9 MB, free: 1.457 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003354/0.2902, allocations: 166.6 kB / 343.1 MB, free: 1.258 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.704e-05/0.2902, allocations: 42.88 kB / 343.1 MB, free: 1.207 MB / 270.1 MB Notification: Performance of pre-optimization done (n=46): time 2.465e-06/0.2902, allocations: 0 / 343.1 MB, free: 1.207 MB / 270.1 MB Notification: Performance of matching and sorting (n=57): time 0.003311/0.2935, allocations: 1.724 MB / 344.8 MB, free: 15.39 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.293e-05/0.2936, allocations: 59.97 kB / 344.9 MB, free: 15.32 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006346/0.2942, allocations: 0.5429 MB / 345.4 MB, free: 14.76 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.268e-05/0.2943, allocations: 33.7 kB / 345.5 MB, free: 14.72 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003377/0.2946, allocations: 482.4 kB / 345.9 MB, free: 14.24 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001572/0.2948, allocations: 213 kB / 346.1 MB, free: 14.03 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000235/0.295, allocations: 138.5 kB / 346.3 MB, free: 13.89 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001708/0.2952, allocations: 382.8 kB / 346.7 MB, free: 13.5 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002715/0.2955, allocations: 161.9 kB / 346.8 MB, free: 13.35 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004989/0.296, allocations: 455.2 kB / 347.3 MB, free: 12.77 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008034/0.2968, allocations: 0.6712 MB / 347.9 MB, free: 11.97 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.961e-06/0.2968, allocations: 8 kB / 347.9 MB, free: 11.96 MB / 286.1 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.001153/0.298, allocations: 0.7306 MB / 348.7 MB, free: 11.22 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.254e-05/0.298, allocations: 20.09 kB / 348.7 MB, free: 11.2 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.363e-05/0.2981, allocations: 12 kB / 348.7 MB, free: 11.19 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001697/0.2982, allocations: 48.83 kB / 348.7 MB, free: 11.14 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005413/0.2988, allocations: 179.7 kB / 348.9 MB, free: 10.96 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001324/0.3001, allocations: 1.522 MB / 350.4 MB, free: 9.312 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003934/0.3005, allocations: 31.98 kB / 350.5 MB, free: 9.281 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.314e-05/0.3006, allocations: 36 kB / 350.5 MB, free: 9.246 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 (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,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003301/0.3009, allocations: 230.1 kB / 350.7 MB, free: 9.012 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.454e-05/0.301, allocations: 67.16 kB / 350.8 MB, free: 8.945 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001233/0.3012, allocations: 83.14 kB / 350.9 MB, free: 8.859 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.133e-06/0.3012, allocations: 7.938 kB / 350.9 MB, free: 8.852 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/0.3012, allocations: 0 / 350.9 MB, free: 8.852 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.191e-05/0.3012, allocations: 3.984 kB / 350.9 MB, free: 8.848 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001892/0.3031, allocations: 1.423 MB / 352.3 MB, free: 7.32 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.471e-06/0.3031, allocations: 4 kB / 352.3 MB, free: 7.316 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004711/0.3036, allocations: 115.8 kB / 352.4 MB, free: 7.203 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.834e-05/0.3037, allocations: 20.84 kB / 352.5 MB, free: 7.18 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.09e-05/0.3037, allocations: 16 kB / 352.5 MB, free: 7.164 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009011/0.3046, allocations: 1.284 MB / 353.8 MB, free: 5.75 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/0.3047, allocations: 4 kB / 353.8 MB, free: 5.746 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00102/0.3057, allocations: 0.7762 MB / 354.5 MB, free: 4.914 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.776e-05/0.3058, allocations: 136.2 kB / 354.7 MB, free: 4.762 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.402e-05/0.3059, allocations: 19.98 kB / 354.7 MB, free: 4.742 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001968/0.3061, allocations: 12 kB / 354.7 MB, free: 4.73 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.392e-05/0.3061, allocations: 43.89 kB / 354.7 MB, free: 4.688 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.515e-05/0.3062, allocations: 16.09 kB / 354.8 MB, free: 4.672 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0003836/0.3066, allocations: 371 kB / 355.1 MB, free: 4.312 MB / 286.1 MB Notification: Performance of sort global known variables: time 4.01e-07/0.3066, allocations: 0 / 355.1 MB, free: 4.312 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0006352/0.3072, allocations: 136 kB / 355.3 MB, free: 4.18 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 (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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000151/0.3074, allocations: 111.2 kB / 355.4 MB, free: 4.059 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0009893/0.3084, allocations: 0.5846 MB / 355.9 MB, free: 3.465 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.3084, allocations: 4.125 kB / 356 MB, free: 3.461 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003771/0.3088, allocations: 310.5 kB / 356.3 MB, free: 3.145 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000629/0.3094, allocations: 95.77 kB / 356.3 MB, free: 3.055 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002859/0.3123, allocations: 2.223 MB / 358.6 MB, free: 0.7656 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004798/0.3128, allocations: 0.9652 MB / 359.5 MB, free: 15.77 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002693/0.313, allocations: 86.11 kB / 359.6 MB, free: 15.69 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001167/0.3132, allocations: 59.42 kB / 359.7 MB, free: 15.63 MB / 302.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3132, allocations: 3.938 kB / 359.7 MB, free: 15.62 MB / 302.1 MB Notification: Performance of Templates: time 0.01021/0.3234, allocations: 5.056 MB / 364.7 MB, free: 10.57 MB / 302.1 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.makefile (rm -f Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.sim & ./Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe 2>&1)