Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Mechanics_Rotational_Examples_EddyCurrentBrake",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Mechanics_Rotational_Examples_EddyCurrentBrake",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001809/0.001809, allocations: 103.7 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001968/0.001968, allocations: 212.6 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.536/1.536, allocations: 227.7 MB / 247.1 MB, free: 10.36 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001935/0.001935, allocations: 65.06 kB / 307.3 MB, free: 420 kB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1092/0.1112, allocations: 50.54 MB / 357.9 MB, free: 13.85 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake): time 0.003395/0.1146, allocations: 1.978 MB / 359.9 MB, free: 11.86 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001082/0.1157, allocations: 0.6934 MB / 360.5 MB, free: 11.16 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.438e-05/0.1158, allocations: 7.938 kB / 360.6 MB, free: 11.16 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000116/0.1159, allocations: 19.78 kB / 360.6 MB, free: 11.14 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 7.839e-05/0.116, allocations: 39.64 kB / 360.6 MB, free: 11.1 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002267/0.1163, allocations: 55.86 kB / 360.7 MB, free: 11.04 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001925/0.1165, allocations: 139.3 kB / 360.8 MB, free: 10.91 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001279/0.1166, allocations: 41.06 kB / 360.8 MB, free: 10.86 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.747e-05/0.1167, allocations: 51.73 kB / 360.9 MB, free: 10.81 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.461e-05/0.1168, allocations: 55.77 kB / 360.9 MB, free: 10.76 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.125e-05/0.1168, allocations: 8 kB / 361 MB, free: 10.75 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.256e-05/0.1169, allocations: 27.98 kB / 361 MB, free: 10.72 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.826e-05/0.1169, allocations: 27.91 kB / 361 MB, free: 10.7 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.358e-05/0.117, allocations: 63.67 kB / 361.1 MB, free: 10.63 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002146/0.1172, allocations: 147.8 kB / 361.2 MB, free: 10.49 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.1173, allocations: 4 kB / 361.2 MB, free: 10.48 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.096e-06/0.1173, allocations: 0 / 361.2 MB, free: 10.48 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.175e-06/0.1173, allocations: 7.938 kB / 361.2 MB, free: 10.48 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0006474/0.1179, allocations: 431 kB / 361.6 MB, free: 10.01 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.304e-05/0.118, allocations: 8.031 kB / 361.7 MB, free: 10 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.776e-05/0.118, allocations: 46.73 kB / 361.7 MB, free: 9.945 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001835/0.1182, allocations: 32.73 kB / 361.7 MB, free: 9.914 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002117/0.1184, allocations: 200.2 kB / 361.9 MB, free: 9.68 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.189e-05/0.1185, allocations: 8.312 kB / 361.9 MB, free: 9.672 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.212e-05/0.1185, allocations: 16.12 kB / 362 MB, free: 9.656 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000275/0.1188, allocations: 121.6 kB / 362.1 MB, free: 9.531 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.382e-05/0.1188, allocations: 3.906 kB / 362.1 MB, free: 9.527 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.406e-05/0.1188, allocations: 4 kB / 362.1 MB, free: 9.523 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.294e-06/0.1188, allocations: 4 kB / 362.1 MB, free: 9.52 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002771/0.1191, allocations: 91.92 kB / 362.2 MB, free: 9.43 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008925/0.12, allocations: 0.5088 MB / 362.7 MB, free: 8.855 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003203/0.1203, allocations: 106.5 kB / 362.8 MB, free: 8.742 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001426/0.1205, allocations: 44.81 kB / 362.8 MB, free: 8.695 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.055e-05/0.1205, allocations: 0 / 362.8 MB, free: 8.695 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.691e-05/0.1206, allocations: 34.56 kB / 362.9 MB, free: 8.652 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 1.001e-06/0.1206, allocations: 4 kB / 362.9 MB, free: 8.648 MB / 302.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004571/0.121, allocations: 145.6 kB / 363 MB, free: 8.5 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.411e-05/0.1211, allocations: 55.41 kB / 363.1 MB, free: 8.434 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000115/0.1212, allocations: 135.9 kB / 363.2 MB, free: 8.293 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.838e-05/0.1212, allocations: 25.7 kB / 363.2 MB, free: 8.262 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.509e-05/0.1213, allocations: 116.2 kB / 363.3 MB, free: 8.141 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.616e-05/0.1213, allocations: 39.39 kB / 363.4 MB, free: 8.102 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.06e-05/0.1214, allocations: 29.72 kB / 363.4 MB, free: 8.066 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001518/0.1216, allocations: 326.8 kB / 363.7 MB, free: 7.738 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001237/0.1217, allocations: 35.97 kB / 363.8 MB, free: 7.703 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001437/0.1218, allocations: 63.41 kB / 363.8 MB, free: 7.629 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002708/0.1221, allocations: 115.3 kB / 363.9 MB, free: 7.504 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.1221, allocations: 0 / 363.9 MB, free: 7.504 MB / 302.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003296/0.1225, allocations: 141.5 kB / 364.1 MB, free: 7.359 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.1225, allocations: 8.031 kB / 364.1 MB, free: 7.352 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.1225, allocations: 4 kB / 364.1 MB, free: 7.348 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.1225, allocations: 0 / 364.1 MB, free: 7.348 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001587/0.1227, allocations: 35.92 kB / 364.1 MB, free: 7.312 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.1227, allocations: 4 kB / 364.1 MB, free: 7.309 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.506e-05/0.1228, allocations: 11.89 kB / 364.1 MB, free: 7.297 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.206e-05/0.1228, allocations: 7.984 kB / 364.1 MB, free: 7.289 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (14): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.777e-05/0.1229, allocations: 121.8 kB / 364.3 MB, free: 7.16 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.729e-05/0.123, allocations: 19.89 kB / 364.3 MB, free: 7.141 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.027e-05/0.1231, allocations: 16.7 kB / 364.3 MB, free: 7.125 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.1231, allocations: 3.938 kB / 364.3 MB, free: 7.121 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.1231, allocations: 4 kB / 364.3 MB, free: 7.117 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.1231, allocations: 0 / 364.3 MB, free: 7.117 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002516/0.1233, allocations: 213.5 kB / 364.5 MB, free: 6.859 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.1234, allocations: 3.984 kB / 364.5 MB, free: 6.855 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001775/0.1235, allocations: 31.92 kB / 364.5 MB, free: 6.824 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.1235, allocations: 0 / 364.5 MB, free: 6.824 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.257e-05/0.1236, allocations: 4 kB / 364.5 MB, free: 6.82 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.1236, allocations: 8 kB / 364.6 MB, free: 6.812 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1236, allocations: 0 / 364.6 MB, free: 6.812 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004808/0.1241, allocations: 267.6 kB / 364.8 MB, free: 6.535 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.904e-05/0.1241, allocations: 81.02 kB / 364.9 MB, free: 6.438 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.142e-05/0.1242, allocations: 4 kB / 364.9 MB, free: 6.434 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001136/0.1243, allocations: 8.047 kB / 364.9 MB, free: 6.426 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.612e-05/0.1243, allocations: 7.984 kB / 364.9 MB, free: 6.418 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.765e-06/0.1243, allocations: 4 kB / 364.9 MB, free: 6.414 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.684e-05/0.1244, allocations: 105.2 kB / 365 MB, free: 6.312 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1244, allocations: 0 / 365 MB, free: 6.312 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002568/0.1247, allocations: 28 kB / 365.1 MB, free: 6.285 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (eddyCurrentTorque.phi,inertia.w,heatCapacitor.T) * 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 (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007696/0.1255, allocations: 0.7865 MB / 365.8 MB, free: 5.469 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003129/0.1258, allocations: 99.86 kB / 365.9 MB, free: 5.371 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.1258, allocations: 0 / 365.9 MB, free: 5.371 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001306/0.126, allocations: 52.09 kB / 366 MB, free: 5.32 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003624/0.1263, allocations: 16.31 kB / 366 MB, free: 5.305 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002511/0.1288, allocations: 1.883 MB / 367.9 MB, free: 3.32 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003483/0.1292, allocations: 0.7002 MB / 368.6 MB, free: 2.594 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.117e-05/0.1293, allocations: 20.53 kB / 368.6 MB, free: 2.574 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.483e-05/0.1294, allocations: 27.44 kB / 368.6 MB, free: 2.547 MB / 302.1 MB Notification: Performance of SimCode: time 3.7e-07/0.1294, allocations: 0 / 368.6 MB, free: 2.547 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1757/0.3051, allocations: 2.665 MB / 371.3 MB, free: 20.81 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.812/8.117, allocations: 3.656 kB / 371.3 MB, free: 20.81 MB / 302.1 MB (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Mechanics_Rotational_Examples_EddyCurrentBrake_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Mechanics_Rotational_Examples_EddyCurrentBrake.fmu > Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe 2>&1)