Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs") translateModel(Modelica.Mechanics.Translational.Examples.GenerationOfFMUs,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.001041/0.001041, allocations: 100 kB / 16.31 MB, free: 6.461 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.001151/0.001151, allocations: 172.9 kB / 17.19 MB, free: 6.348 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.662/1.662, allocations: 205.4 MB / 223.3 MB, free: 13.18 MB / 190.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.0004716/0.0004715, allocations: 19.28 kB / 280.1 MB, free: 3.75 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.114/0.1145, allocations: 47.58 MB / 327.7 MB, free: 4.094 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.GenerationOfFMUs): time 0.004687/0.1192, allocations: 3.782 MB / 331.5 MB, free: 296 kB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002401/0.1217, allocations: 1.335 MB / 332.8 MB, free: 14.95 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003488/0.122, allocations: 23.81 kB / 332.8 MB, free: 14.93 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001363/0.1222, allocations: 75.25 kB / 332.9 MB, free: 14.85 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004175/0.1226, allocations: 207.3 kB / 333.1 MB, free: 14.65 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006053/0.1232, allocations: 255.6 kB / 333.4 MB, free: 14.4 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000758/0.124, allocations: 0.6359 MB / 334 MB, free: 13.76 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004199/0.1244, allocations: 284.3 kB / 334.3 MB, free: 13.47 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002736/0.1247, allocations: 250.8 kB / 334.5 MB, free: 13.22 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002929/0.125, allocations: 274.3 kB / 334.8 MB, free: 12.95 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.95e-05/0.1251, allocations: 28 kB / 334.8 MB, free: 12.93 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001715/0.1252, allocations: 55.92 kB / 334.9 MB, free: 12.87 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001016/0.1253, allocations: 119.4 kB / 335 MB, free: 12.75 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001351/0.1255, allocations: 177.1 kB / 335.2 MB, free: 12.57 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006485/0.1261, allocations: 0.7521 MB / 335.9 MB, free: 11.82 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.1262, allocations: 4 kB / 335.9 MB, free: 11.82 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.225e-06/0.1262, allocations: 0 / 335.9 MB, free: 11.82 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.033e-05/0.1262, allocations: 0 / 335.9 MB, free: 11.82 MB / 286.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.001365/0.1276, allocations: 0.9821 MB / 336.9 MB, free: 10.79 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.586e-05/0.1276, allocations: 11.97 kB / 336.9 MB, free: 10.77 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001464/0.1278, allocations: 106.8 kB / 337 MB, free: 10.67 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008515/0.1286, allocations: 0.5764 MB / 337.6 MB, free: 10.05 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.912e-05/0.1287, allocations: 58 kB / 337.6 MB, free: 9.988 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001087/0.1288, allocations: 83.98 kB / 337.7 MB, free: 9.906 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001327/0.1302, allocations: 0.8325 MB / 338.6 MB, free: 8.969 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.531e-05/0.1302, allocations: 11.84 kB / 338.6 MB, free: 8.957 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.044e-05/0.1303, allocations: 40 kB / 338.6 MB, free: 8.918 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.09e-05/0.1303, allocations: 20 kB / 338.6 MB, free: 8.898 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000875/0.1312, allocations: 471.3 kB / 339.1 MB, free: 8.438 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003722/0.1349, allocations: 4.404 MB / 343.5 MB, free: 3.84 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005408/0.1355, allocations: 307.5 kB / 343.8 MB, free: 3.531 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002828/0.1358, allocations: 162.6 kB / 344 MB, free: 3.336 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.477e-05/0.1358, allocations: 42.88 kB / 344 MB, free: 3.285 MB / 286.1 MB Notification: Performance of pre-optimization done (n=46): time 1.483e-06/0.1358, allocations: 0 / 344 MB, free: 3.285 MB / 286.1 MB Notification: Performance of matching and sorting (n=57): time 0.003335/0.1392, allocations: 1.728 MB / 345.7 MB, free: 1.461 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.737e-05/0.1392, allocations: 63.97 kB / 345.8 MB, free: 1.387 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005661/0.1398, allocations: 0.5352 MB / 346.3 MB, free: 0.8398 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.841e-05/0.1398, allocations: 33.7 kB / 346.4 MB, free: 0.8008 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003161/0.1402, allocations: 478.4 kB / 346.8 MB, free: 332 kB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001467/0.1403, allocations: 209 kB / 347 MB, free: 120 kB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.321e-05/0.1403, allocations: 16 kB / 347 MB, free: 104 kB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.000191/0.1405, allocations: 382.8 kB / 347.4 MB, free: 15.72 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002725/0.1408, allocations: 161.9 kB / 347.6 MB, free: 15.56 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004614/0.1413, allocations: 463.2 kB / 348 MB, free: 14.98 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003726/0.1417, allocations: 240.7 kB / 348.3 MB, free: 14.75 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.1417, allocations: 0 / 348.3 MB, free: 14.75 MB / 302.1 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.001055/0.1427, allocations: 0.7419 MB / 349 MB, free: 13.99 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.131e-05/0.1428, allocations: 8 kB / 349 MB, free: 13.98 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.524e-05/0.1428, allocations: 12 kB / 349 MB, free: 13.97 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001602/0.143, allocations: 44.84 kB / 349.1 MB, free: 13.93 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005569/0.1435, allocations: 183.7 kB / 349.2 MB, free: 13.75 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001273/0.1448, allocations: 1.522 MB / 350.8 MB, free: 12.09 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002814/0.1451, allocations: 31.98 kB / 350.8 MB, free: 12.06 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.108e-05/0.1452, allocations: 36.06 kB / 350.8 MB, free: 12.02 MB / 302.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.0003038/0.1455, allocations: 237.5 kB / 351.1 MB, free: 11.78 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.676e-05/0.1456, allocations: 75.06 kB / 351.1 MB, free: 11.71 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001127/0.1457, allocations: 79.03 kB / 351.2 MB, free: 11.63 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.578e-06/0.1457, allocations: 4 kB / 351.2 MB, free: 11.62 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.859e-05/0.1457, allocations: 4 kB / 351.2 MB, free: 11.62 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.582e-06/0.1457, allocations: 3.984 kB / 351.2 MB, free: 11.62 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001954/0.1477, allocations: 1.412 MB / 352.6 MB, free: 10.1 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.072e-06/0.1477, allocations: 12.22 kB / 352.7 MB, free: 10.09 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004639/0.1482, allocations: 123.8 kB / 352.8 MB, free: 9.965 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.402e-05/0.1483, allocations: 20.86 kB / 352.8 MB, free: 9.941 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.645e-05/0.1483, allocations: 12.06 kB / 352.8 MB, free: 9.93 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008918/0.1492, allocations: 1.288 MB / 354.1 MB, free: 8.508 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/0.1492, allocations: 11.88 kB / 354.1 MB, free: 8.496 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001085/0.1503, allocations: 0.904 MB / 355 MB, free: 7.477 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001365/0.1505, allocations: 136.2 kB / 355.1 MB, free: 7.324 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.12e-05/0.1505, allocations: 12 kB / 355.2 MB, free: 7.312 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000203/0.1507, allocations: 16 kB / 355.2 MB, free: 7.297 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.894e-05/0.1508, allocations: 47.97 kB / 355.2 MB, free: 7.25 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.486e-05/0.1509, allocations: 19.95 kB / 355.2 MB, free: 7.23 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003594/0.1512, allocations: 355.1 kB / 355.6 MB, free: 6.887 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1512, allocations: 0 / 355.6 MB, free: 6.887 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006432/0.1519, allocations: 140 kB / 355.7 MB, free: 6.75 MB / 302.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.0001411/0.152, allocations: 115.1 kB / 355.8 MB, free: 6.625 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009024/0.1529, allocations: 0.585 MB / 356.4 MB, free: 6.027 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.1529, allocations: 0 / 356.4 MB, free: 6.027 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003548/0.1533, allocations: 310.1 kB / 356.7 MB, free: 5.711 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004329/0.1537, allocations: 87.38 kB / 356.8 MB, free: 5.629 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00268/0.1564, allocations: 2.301 MB / 359.1 MB, free: 3.262 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005133/0.157, allocations: 0.9851 MB / 360.1 MB, free: 2.246 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002585/0.1572, allocations: 81.94 kB / 360.2 MB, free: 2.164 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001215/0.1574, allocations: 59.42 kB / 360.2 MB, free: 2.105 MB / 302.1 MB Notification: Performance of SimCode: time 5.71e-07/0.1574, allocations: 0 / 360.2 MB, free: 2.105 MB / 302.1 MB Notification: Performance of Templates: time 0.01076/0.1681, allocations: 4.857 MB / 365.1 MB, free: 13.25 MB / 318.1 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.sim & ./Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe 2>&1) Environment - environmentSimulation: