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.0009585/0.0009586, allocations: 91.12 kB / 15.06 MB, free: 1.078 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.001191/0.001191, allocations: 172.7 kB / 15.95 MB, free: 192 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.611/1.611, allocations: 205.4 MB / 222.1 MB, free: 5.641 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.0005624/0.0005627, allocations: 12 kB / 278.9 MB, free: 12.81 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2203/0.2209, allocations: 47.58 MB / 326.5 MB, free: 1.617 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.GenerationOfFMUs): time 0.003945/0.2249, allocations: 3.91 MB / 330.4 MB, free: 14.53 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002345/0.2272, allocations: 1.3 MB / 331.7 MB, free: 13.46 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006586/0.2279, allocations: 21.12 kB / 331.7 MB, free: 13.45 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003996/0.2283, allocations: 122.5 kB / 331.8 MB, free: 13.35 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004706/0.2288, allocations: 139.9 kB / 332 MB, free: 13.23 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007002/0.2295, allocations: 240.1 kB / 332.2 MB, free: 13.04 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008627/0.2304, allocations: 0.8567 MB / 333 MB, free: 12.52 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004315/0.2308, allocations: 292 kB / 333.3 MB, free: 12.34 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000299/0.2311, allocations: 248.1 kB / 333.6 MB, free: 12.2 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002762/0.2314, allocations: 272.3 kB / 333.8 MB, free: 12.02 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.705e-05/0.2315, allocations: 27.53 kB / 333.9 MB, free: 12.02 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001711/0.2317, allocations: 68.95 kB / 333.9 MB, free: 12 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 9.397e-05/0.2318, allocations: 112.1 kB / 334 MB, free: 11.91 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001387/0.2319, allocations: 175.5 kB / 334.2 MB, free: 11.79 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006707/0.2326, allocations: 0.7564 MB / 335 MB, free: 11.09 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.2326, allocations: 0 / 335 MB, free: 11.09 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.2326, allocations: 0 / 335 MB, free: 11.09 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.046e-05/0.2326, allocations: 4 kB / 335 MB, free: 11.09 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.001247/0.2339, allocations: 0.986 MB / 336 MB, free: 10.05 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.459e-05/0.2339, allocations: 12.03 kB / 336 MB, free: 10.04 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001321/0.2341, allocations: 98.78 kB / 336.1 MB, free: 9.945 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007149/0.2348, allocations: 0.5802 MB / 336.6 MB, free: 9.32 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.325e-05/0.2349, allocations: 58 kB / 336.7 MB, free: 9.262 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.39e-05/0.235, allocations: 83.98 kB / 336.8 MB, free: 9.18 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001202/0.2362, allocations: 0.8365 MB / 337.6 MB, free: 8.238 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.334e-05/0.2362, allocations: 19.84 kB / 337.6 MB, free: 8.219 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.35e-05/0.2363, allocations: 32 kB / 337.7 MB, free: 8.188 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.031e-05/0.2363, allocations: 20 kB / 337.7 MB, free: 8.168 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008079/0.2371, allocations: 471.3 kB / 338.2 MB, free: 7.707 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00346/0.2406, allocations: 4.42 MB / 342.6 MB, free: 3.094 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005445/0.2411, allocations: 291.6 kB / 342.9 MB, free: 2.801 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002466/0.2414, allocations: 149.5 kB / 343 MB, free: 2.652 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002598/0.2417, allocations: 166.6 kB / 343.2 MB, free: 2.453 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.973e-05/0.2417, allocations: 46.88 kB / 343.2 MB, free: 2.398 MB / 270.1 MB Notification: Performance of pre-optimization done (n=46): time 2.725e-06/0.2417, allocations: 0 / 343.2 MB, free: 2.398 MB / 270.1 MB Notification: Performance of matching and sorting (n=57): time 0.003449/0.2452, allocations: 1.728 MB / 344.9 MB, free: 0.5781 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.07e-05/0.2452, allocations: 59.97 kB / 345 MB, free: 0.5078 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006027/0.2458, allocations: 0.5315 MB / 345.5 MB, free: 15.96 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.589e-05/0.2459, allocations: 29.7 kB / 345.6 MB, free: 15.93 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003272/0.2462, allocations: 478.5 kB / 346 MB, free: 15.45 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001481/0.2464, allocations: 208.9 kB / 346.2 MB, free: 15.24 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.6e-05/0.2464, allocations: 24 kB / 346.3 MB, free: 15.22 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001578/0.2466, allocations: 378.8 kB / 346.6 MB, free: 14.84 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002813/0.2469, allocations: 165.9 kB / 346.8 MB, free: 14.68 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004871/0.2474, allocations: 463.1 kB / 347.2 MB, free: 14.1 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004156/0.2478, allocations: 236.7 kB / 347.5 MB, free: 13.87 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.2478, allocations: 0 / 347.5 MB, free: 13.87 MB / 286.1 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.001244/0.249, allocations: 0.7382 MB / 348.2 MB, free: 13.12 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.367e-05/0.2491, allocations: 8 kB / 348.2 MB, free: 13.11 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.786e-05/0.2491, allocations: 12 kB / 348.2 MB, free: 13.1 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001582/0.2493, allocations: 48.91 kB / 348.3 MB, free: 13.05 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005338/0.2498, allocations: 183.7 kB / 348.5 MB, free: 12.87 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001303/0.2511, allocations: 1.514 MB / 350 MB, free: 11.22 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003076/0.2514, allocations: 28 kB / 350 MB, free: 11.2 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.048e-05/0.2515, allocations: 35.98 kB / 350 MB, free: 11.16 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.0003017/0.2518, allocations: 229.6 kB / 350.3 MB, free: 10.93 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.921e-05/0.2519, allocations: 79.02 kB / 350.3 MB, free: 10.85 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001337/0.2521, allocations: 79.19 kB / 350.4 MB, free: 10.77 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.654e-06/0.2521, allocations: 11.92 kB / 350.4 MB, free: 10.76 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.075e-06/0.2521, allocations: 4 kB / 350.4 MB, free: 10.75 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.063e-06/0.2521, allocations: 3.984 kB / 350.4 MB, free: 10.75 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001968/0.2541, allocations: 1.415 MB / 351.8 MB, free: 9.227 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.183e-06/0.2541, allocations: 4 kB / 351.8 MB, free: 9.223 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004474/0.2545, allocations: 119.8 kB / 352 MB, free: 9.105 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.309e-05/0.2546, allocations: 24.84 kB / 352 MB, free: 9.078 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.904e-05/0.2547, allocations: 16 kB / 352 MB, free: 9.062 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007237/0.2554, allocations: 1.269 MB / 353.3 MB, free: 7.66 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.109e-06/0.2554, allocations: 7.984 kB / 353.3 MB, free: 7.652 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009516/0.2564, allocations: 0.7957 MB / 354.1 MB, free: 6.805 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001056/0.2565, allocations: 132.3 kB / 354.2 MB, free: 6.656 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.368e-05/0.2566, allocations: 15.98 kB / 354.2 MB, free: 6.641 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000191/0.2568, allocations: 20 kB / 354.2 MB, free: 6.621 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.337e-05/0.2569, allocations: 39.91 kB / 354.3 MB, free: 6.582 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.497e-05/0.2569, allocations: 16 kB / 354.3 MB, free: 6.566 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0003558/0.2572, allocations: 359.1 kB / 354.6 MB, free: 6.219 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2572, allocations: 0 / 354.6 MB, free: 6.219 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0006061/0.2579, allocations: 140 kB / 354.8 MB, free: 6.082 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.0001308/0.258, allocations: 119.2 kB / 354.9 MB, free: 5.953 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0008902/0.2589, allocations: 0.5721 MB / 355.5 MB, free: 5.371 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.2589, allocations: 3.938 kB / 355.5 MB, free: 5.367 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003817/0.2593, allocations: 316 kB / 355.8 MB, free: 5.047 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005482/0.2599, allocations: 95.08 kB / 355.9 MB, free: 4.953 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002864/0.2627, allocations: 2.302 MB / 358.2 MB, free: 2.586 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004852/0.2632, allocations: 0.9613 MB / 359.1 MB, free: 1.594 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0002658/0.2635, allocations: 93.91 kB / 359.2 MB, free: 1.5 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001133/0.2636, allocations: 59.42 kB / 359.3 MB, free: 1.441 MB / 286.1 MB Notification: Performance of SimCode: time 5.01e-07/0.2636, allocations: 0 / 359.3 MB, free: 1.441 MB / 286.1 MB Notification: Performance of Templates: time 0.01031/0.2739, allocations: 4.864 MB / 364.2 MB, free: 12.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)