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.001035/0.001035, allocations: 100 kB / 15.05 MB, free: 1.105 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.0009538/0.0009538, allocations: 177.3 kB / 15.94 MB, free: 228 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.669/1.669, allocations: 205.4 MB / 222.1 MB, free: 5.668 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.0007023/0.0007025, allocations: 12 kB / 278.9 MB, free: 12.85 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3338/0.3345, allocations: 47.58 MB / 326.4 MB, free: 1.41 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.GenerationOfFMUs): time 0.004085/0.3387, allocations: 3.777 MB / 330.2 MB, free: 14.46 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002055/0.3408, allocations: 1.34 MB / 331.6 MB, free: 13.37 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003692/0.3412, allocations: 19.75 kB / 331.6 MB, free: 13.36 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000144/0.3413, allocations: 86 kB / 331.7 MB, free: 13.29 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004797/0.3418, allocations: 206 kB / 331.9 MB, free: 13.11 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006459/0.3425, allocations: 249.5 kB / 332.1 MB, free: 12.92 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.000945/0.3434, allocations: 0.6315 MB / 332.7 MB, free: 12.5 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006082/0.344, allocations: 295 kB / 333 MB, free: 12.32 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000393/0.3444, allocations: 248.6 kB / 333.3 MB, free: 12.18 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003407/0.3448, allocations: 272 kB / 333.5 MB, free: 11.99 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 6.93e-05/0.3449, allocations: 27.03 kB / 333.6 MB, free: 11.99 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002214/0.3451, allocations: 65.52 kB / 333.6 MB, free: 11.97 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000108/0.3452, allocations: 111.9 kB / 333.7 MB, free: 11.88 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000182/0.3454, allocations: 179.2 kB / 333.9 MB, free: 11.76 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008041/0.3462, allocations: 0.755 MB / 334.7 MB, free: 11.18 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.3462, allocations: 0 / 334.7 MB, free: 11.18 MB / 270.1 MB Notification: Performance of FrontEnd: time 4.038e-06/0.3462, allocations: 1.094 kB / 334.7 MB, free: 11.18 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.296e-05/0.3463, allocations: 0 / 334.7 MB, free: 11.18 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.001475/0.3477, allocations: 0.9856 MB / 335.7 MB, free: 10.22 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/0.3478, allocations: 8.031 kB / 335.7 MB, free: 10.21 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001457/0.3479, allocations: 102.8 kB / 335.8 MB, free: 10.11 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008889/0.3488, allocations: 0.5802 MB / 336.3 MB, free: 9.484 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.686e-05/0.3489, allocations: 58 kB / 336.4 MB, free: 9.426 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001032/0.349, allocations: 83.98 kB / 336.5 MB, free: 9.344 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001214/0.3502, allocations: 0.8326 MB / 337.3 MB, free: 8.406 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.287e-05/0.3503, allocations: 11.84 kB / 337.3 MB, free: 8.395 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.577e-05/0.3503, allocations: 36 kB / 337.4 MB, free: 8.359 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.982e-05/0.3504, allocations: 20 kB / 337.4 MB, free: 8.34 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008456/0.3512, allocations: 467.3 kB / 337.8 MB, free: 7.883 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003841/0.3551, allocations: 4.42 MB / 342.3 MB, free: 3.27 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005588/0.3556, allocations: 291.6 kB / 342.5 MB, free: 2.977 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002432/0.3559, allocations: 166.6 kB / 342.7 MB, free: 2.777 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.767e-05/0.3559, allocations: 38.94 kB / 342.7 MB, free: 2.73 MB / 270.1 MB Notification: Performance of pre-optimization done (n=46): time 2.084e-06/0.3559, allocations: 0 / 342.7 MB, free: 2.73 MB / 270.1 MB Notification: Performance of matching and sorting (n=57): time 0.003174/0.3591, allocations: 1.74 MB / 344.5 MB, free: 0.8984 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.609e-05/0.3592, allocations: 63.91 kB / 344.5 MB, free: 0.8242 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005268/0.3597, allocations: 0.5313 MB / 345.1 MB, free: 288 kB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.746e-05/0.3598, allocations: 37.64 kB / 345.1 MB, free: 244 kB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003331/0.3601, allocations: 478.6 kB / 345.6 MB, free: 15.76 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001601/0.3603, allocations: 212.9 kB / 345.8 MB, free: 15.55 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.62e-05/0.3603, allocations: 16 kB / 345.8 MB, free: 15.53 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001844/0.3605, allocations: 382.8 kB / 346.2 MB, free: 15.15 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002767/0.3608, allocations: 161.9 kB / 346.3 MB, free: 14.99 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004564/0.3612, allocations: 451.2 kB / 346.8 MB, free: 14.42 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000364/0.3616, allocations: 236.7 kB / 347 MB, free: 14.19 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/0.3616, allocations: 4 kB / 347 MB, free: 14.19 MB / 286.1 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.001068/0.3627, allocations: 0.7376 MB / 347.7 MB, free: 13.44 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.367e-05/0.3627, allocations: 8 kB / 347.8 MB, free: 13.43 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.439e-05/0.3628, allocations: 8 kB / 347.8 MB, free: 13.43 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001747/0.3629, allocations: 49.59 kB / 347.8 MB, free: 13.38 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005431/0.3635, allocations: 191.7 kB / 348 MB, free: 13.19 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001291/0.3648, allocations: 1.514 MB / 349.5 MB, free: 11.54 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003056/0.3651, allocations: 36.05 kB / 349.5 MB, free: 11.5 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.191e-05/0.3652, allocations: 32.19 kB / 349.6 MB, free: 11.47 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.0003277/0.3655, allocations: 229.6 kB / 349.8 MB, free: 11.24 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.345e-05/0.3656, allocations: 71.06 kB / 349.9 MB, free: 11.17 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001094/0.3657, allocations: 79.03 kB / 350 MB, free: 11.09 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.992e-06/0.3657, allocations: 8 kB / 350 MB, free: 11.08 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.3657, allocations: 0 / 350 MB, free: 11.08 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.244e-06/0.3657, allocations: 11.98 kB / 350 MB, free: 11.07 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001803/0.3675, allocations: 1.423 MB / 351.4 MB, free: 9.539 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.062e-06/0.3676, allocations: 7.953 kB / 351.4 MB, free: 9.531 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004468/0.368, allocations: 115.9 kB / 351.5 MB, free: 9.418 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.279e-05/0.3681, allocations: 24.8 kB / 351.5 MB, free: 9.391 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.829e-05/0.3681, allocations: 16 kB / 351.6 MB, free: 9.375 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007669/0.3689, allocations: 1.284 MB / 352.8 MB, free: 7.957 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.3689, allocations: 0 / 352.8 MB, free: 7.957 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001005/0.3699, allocations: 0.9161 MB / 353.8 MB, free: 6.922 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001165/0.3701, allocations: 132.3 kB / 353.9 MB, free: 6.773 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.075e-05/0.3701, allocations: 15.94 kB / 353.9 MB, free: 6.758 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000203/0.3703, allocations: 20 kB / 353.9 MB, free: 6.738 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.164e-05/0.3704, allocations: 47.92 kB / 354 MB, free: 6.691 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.431e-05/0.3704, allocations: 20 kB / 354 MB, free: 6.672 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0003725/0.3708, allocations: 355.1 kB / 354.3 MB, free: 6.328 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3708, allocations: 0 / 354.3 MB, free: 6.328 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0006129/0.3714, allocations: 136 kB / 354.5 MB, free: 6.195 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.0001451/0.3716, allocations: 123.1 kB / 354.6 MB, free: 6.062 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0008661/0.3725, allocations: 0.5768 MB / 355.2 MB, free: 5.477 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.634e-06/0.3725, allocations: 0 / 355.2 MB, free: 5.477 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003741/0.3729, allocations: 311 kB / 355.5 MB, free: 5.16 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004346/0.3733, allocations: 82.97 kB / 355.5 MB, free: 5.078 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002734/0.3761, allocations: 2.294 MB / 357.8 MB, free: 2.719 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000511/0.3766, allocations: 0.9851 MB / 358.8 MB, free: 1.703 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0002491/0.3768, allocations: 85.92 kB / 358.9 MB, free: 1.617 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000124/0.377, allocations: 55.42 kB / 359 MB, free: 1.562 MB / 286.1 MB Notification: Performance of SimCode: time 1.763e-06/0.377, allocations: 8 kB / 359 MB, free: 1.555 MB / 286.1 MB Notification: Performance of Templates: time 0.009731/0.3867, allocations: 4.849 MB / 363.8 MB, free: 12.7 MB / 302.1 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: