Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.Rotational.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.Rotational.Examples.GenerationOfFMUs,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs") translateModel(Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001084/0.001085, allocations: 96.11 kB / 16.3 MB, free: 5.996 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.001479/0.001479, allocations: 181.8 kB / 17.2 MB, free: 5.914 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.426/1.426, allocations: 205.4 MB / 223.4 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.0004131/0.0004132, allocations: 16 kB / 280.1 MB, free: 3.766 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08766/0.08808, allocations: 47.58 MB / 327.7 MB, free: 4.113 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs): time 0.004555/0.09268, allocations: 4.372 MB / 332.1 MB, free: 15.72 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002711/0.09542, allocations: 2.023 MB / 334.1 MB, free: 13.68 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003584/0.0958, allocations: 31.81 kB / 334.1 MB, free: 13.65 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000308/0.09611, allocations: 162.8 kB / 334.3 MB, free: 13.49 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004702/0.09659, allocations: 303 kB / 334.6 MB, free: 13.2 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007045/0.09731, allocations: 347.4 kB / 334.9 MB, free: 12.86 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007/0.09802, allocations: 0.6594 MB / 335.6 MB, free: 12.2 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005312/0.09856, allocations: 417.5 kB / 336 MB, free: 11.77 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000244/0.09881, allocations: 231 kB / 336.2 MB, free: 11.54 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002687/0.09909, allocations: 258.6 kB / 336.5 MB, free: 11.29 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.156e-05/0.09916, allocations: 39.94 kB / 336.5 MB, free: 11.25 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001573/0.09932, allocations: 75.91 kB / 336.6 MB, free: 11.17 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001112/0.09944, allocations: 123.5 kB / 336.7 MB, free: 11.05 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001169/0.09957, allocations: 169.3 kB / 336.9 MB, free: 10.88 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006928/0.1003, allocations: 0.8805 MB / 337.7 MB, free: 9.996 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.064e-06/0.1003, allocations: 0 / 337.7 MB, free: 9.996 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1003, allocations: 0 / 337.7 MB, free: 9.996 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.047e-06/0.1003, allocations: 0 / 337.7 MB, free: 9.996 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: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.001098/0.1014, allocations: 0.889 MB / 338.6 MB, free: 9.055 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.944e-05/0.1014, allocations: 8.031 kB / 338.6 MB, free: 9.047 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001183/0.1016, allocations: 90.95 kB / 338.7 MB, free: 8.957 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005885/0.1022, allocations: 0.4897 MB / 339.2 MB, free: 8.422 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.334e-05/0.1022, allocations: 62 kB / 339.3 MB, free: 8.363 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001099/0.1023, allocations: 87.98 kB / 339.4 MB, free: 8.277 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001222/0.1036, allocations: 0.7888 MB / 340.1 MB, free: 7.449 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.844e-05/0.1036, allocations: 7.891 kB / 340.2 MB, free: 7.441 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.778e-05/0.1037, allocations: 40 kB / 340.2 MB, free: 7.402 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.378e-05/0.1037, allocations: 24 kB / 340.2 MB, free: 7.379 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008915/0.1046, allocations: 499.6 kB / 340.7 MB, free: 6.895 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003018/0.1076, allocations: 2.911 MB / 343.6 MB, free: 3.855 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004891/0.1081, allocations: 227.2 kB / 343.8 MB, free: 3.625 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002082/0.1083, allocations: 247.3 kB / 344.1 MB, free: 3.328 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.257e-05/0.1084, allocations: 38.56 kB / 344.1 MB, free: 3.281 MB / 286.1 MB Notification: Performance of pre-optimization done (n=30): time 1.844e-06/0.1084, allocations: 0 / 344.1 MB, free: 3.281 MB / 286.1 MB Notification: Performance of matching and sorting (n=35): time 0.002148/0.1105, allocations: 1.267 MB / 345.4 MB, free: 1.918 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.1e-05/0.1106, allocations: 55.41 kB / 345.4 MB, free: 1.852 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002982/0.1109, allocations: 296.5 kB / 345.7 MB, free: 1.555 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.304e-05/0.1109, allocations: 33.7 kB / 345.8 MB, free: 1.516 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002185/0.1111, allocations: 398.5 kB / 346.2 MB, free: 1.121 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.452e-05/0.1112, allocations: 134.1 kB / 346.3 MB, free: 0.9883 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.613e-05/0.1113, allocations: 8 kB / 346.3 MB, free: 0.9805 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001301/0.1114, allocations: 350.8 kB / 346.6 MB, free: 0.6289 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001851/0.1116, allocations: 113.1 kB / 346.7 MB, free: 0.5195 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002573/0.1119, allocations: 254.5 kB / 347 MB, free: 220 kB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002359/0.1121, allocations: 143.7 kB / 347.1 MB, free: 76 kB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.1121, allocations: 4 kB / 347.1 MB, free: 72 kB / 286.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0007083/0.1128, allocations: 469.6 kB / 347.6 MB, free: 15.6 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.093e-05/0.1129, allocations: 8 kB / 347.6 MB, free: 15.59 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.738e-06/0.1129, allocations: 4 kB / 347.6 MB, free: 15.59 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001925/0.1131, allocations: 40.84 kB / 347.6 MB, free: 15.54 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003895/0.1135, allocations: 111.8 kB / 347.8 MB, free: 15.43 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003985/0.1139, allocations: 0.5524 MB / 348.3 MB, free: 14.86 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001792/0.1141, allocations: 20.12 kB / 348.3 MB, free: 14.84 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.654e-05/0.1141, allocations: 20 kB / 348.3 MB, free: 14.82 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (60): * Single equations (assignments): 59 * 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: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0003018/0.1144, allocations: 221.6 kB / 348.6 MB, free: 14.59 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.411e-05/0.1145, allocations: 39.53 kB / 348.6 MB, free: 14.55 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006035/0.1151, allocations: 330 kB / 348.9 MB, free: 14.22 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.588e-06/0.1151, allocations: 0 / 348.9 MB, free: 14.22 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.1151, allocations: 4 kB / 348.9 MB, free: 14.21 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.623e-06/0.1151, allocations: 3.984 kB / 348.9 MB, free: 14.21 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00135/0.1165, allocations: 1.03 MB / 350 MB, free: 13.11 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.222e-06/0.1165, allocations: 7.953 kB / 350 MB, free: 13.1 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003401/0.1169, allocations: 79.91 kB / 350 MB, free: 13.02 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001264/0.117, allocations: 32.88 kB / 350.1 MB, free: 12.99 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.886e-05/0.117, allocations: 12.14 kB / 350.1 MB, free: 12.98 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002961/0.1173, allocations: 0.5485 MB / 350.6 MB, free: 12.4 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-06/0.1174, allocations: 4.031 kB / 350.6 MB, free: 12.4 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007326/0.1181, allocations: 0.6031 MB / 351.2 MB, free: 11.73 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.199e-05/0.1182, allocations: 112.6 kB / 351.4 MB, free: 11.6 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.613e-05/0.1182, allocations: 8 kB / 351.4 MB, free: 11.59 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000147/0.1184, allocations: 8 kB / 351.4 MB, free: 11.58 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.865e-05/0.1185, allocations: 24.16 kB / 351.4 MB, free: 11.56 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.311e-05/0.1185, allocations: 8 kB / 351.4 MB, free: 11.55 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002088/0.1187, allocations: 219 kB / 351.6 MB, free: 11.34 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1187, allocations: 4 kB / 351.6 MB, free: 11.33 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005393/0.1193, allocations: 120 kB / 351.7 MB, free: 11.21 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 10 (directInertia.inertia.w,directInertia.torqueToAngle.phi,inertia2a.w,torqueToAngle2a.phi,inertia2b.w,torqueToAngle2b.phi,inertia3a.phi,inertia3a.w,inertia3b.phi,inertia3b.w) * 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 (33): * Single equations (assignments): 32 * 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: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001757/0.1195, allocations: 115.3 kB / 351.9 MB, free: 11.09 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005684/0.12, allocations: 316.6 kB / 352.2 MB, free: 10.79 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.12, allocations: 0 / 352.2 MB, free: 10.79 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002586/0.1203, allocations: 141 kB / 352.3 MB, free: 10.65 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003839/0.1207, allocations: 61.91 kB / 352.4 MB, free: 10.59 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002469/0.1232, allocations: 1.999 MB / 354.4 MB, free: 8.547 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000433/0.1236, allocations: 0.9405 MB / 355.3 MB, free: 7.578 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000151/0.1238, allocations: 47.33 kB / 355.3 MB, free: 7.527 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.773e-05/0.1239, allocations: 31.44 kB / 355.4 MB, free: 7.496 MB / 302.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1239, allocations: 0 / 355.4 MB, free: 7.496 MB / 302.1 MB Notification: Performance of Templates: time 0.008072/0.1319, allocations: 3.449 MB / 358.8 MB, free: 4.055 MB / 302.1 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs.sim & ./Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs.pipe 2>&1) Environment - environmentSimulation: