Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_DCBraking",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_DCBraking",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001179/0.001179, allocations: 196.2 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.376/1.376, allocations: 225.4 MB / 240.1 MB, free: 15.09 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001103/0.001103, allocations: 93.33 kB / 292.1 MB, free: 5.961 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.569e-05/3.592e-05, allocations: 0 / 350.6 MB, free: 2.434 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.127/0.127, allocations: 51.49 MB / 402.1 MB, free: 14.9 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3218/0.4489, allocations: 102.2 MB / 0.4925 GB, free: 3.648 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002209/0.4491, allocations: 80.2 kB / 0.4926 GB, free: 3.609 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09465/0.5438, allocations: 35.22 MB / 0.527 GB, free: 1.59 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.133e-06/0.5438, allocations: 0 / 0.527 GB, free: 1.59 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.000128/0.544, allocations: 43.94 kB / 0.527 GB, free: 1.547 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 392 * Number of variables: 392 Notification: Performance of Generate backend data structure: time 0.004065/0.548, allocations: 1.653 MB / 0.5286 GB, free: 15.85 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.553e-05/0.5481, allocations: 11.97 kB / 0.5286 GB, free: 15.84 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000677/0.5488, allocations: 223.9 kB / 0.5288 GB, free: 15.61 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009739/0.5498, allocations: 221.7 kB / 0.529 GB, free: 15.39 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002978/0.5528, allocations: 1.184 MB / 0.5302 GB, free: 14.16 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001008/0.5529, allocations: 115 kB / 0.5303 GB, free: 14.05 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004031/0.5533, allocations: 159.9 kB / 0.5305 GB, free: 13.89 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003854/0.5572, allocations: 1.907 MB / 0.5323 GB, free: 11.9 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.213e-05/0.5572, allocations: 7.938 kB / 0.5323 GB, free: 11.89 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001689/0.5574, allocations: 71.94 kB / 0.5324 GB, free: 11.82 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.129e-05/0.5575, allocations: 74.92 kB / 0.5325 GB, free: 11.75 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002817/0.5603, allocations: 1.476 MB / 0.5339 GB, free: 10.27 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01074/0.5711, allocations: 6.31 MB / 0.5401 GB, free: 3.754 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00144/0.5726, allocations: 0.854 MB / 0.5409 GB, free: 2.871 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000862/0.5734, allocations: 0.5404 MB / 0.5414 GB, free: 2.328 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000275/0.5737, allocations: 133.6 kB / 0.5416 GB, free: 2.18 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.795e-05/0.5738, allocations: 39.12 kB / 0.5416 GB, free: 2.133 MB / 410.7 MB Notification: Performance of pre-optimization done (n=70): time 2.695e-06/0.5738, allocations: 0 / 0.5416 GB, free: 2.133 MB / 410.7 MB Notification: Performance of matching and sorting (n=93): time 0.01309/0.5869, allocations: 5.37 MB / 0.5468 GB, free: 12.7 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.63e-05/0.587, allocations: 64.19 kB / 0.5469 GB, free: 12.63 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00174/0.5888, allocations: 0.972 MB / 0.5479 GB, free: 11.64 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 8.345e-05/0.5889, allocations: 45.64 kB / 0.5479 GB, free: 11.59 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005324/0.5894, allocations: 0.7671 MB / 0.5486 GB, free: 10.81 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002744/0.5897, allocations: 327.3 kB / 0.549 GB, free: 10.49 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.329e-05/0.5897, allocations: 24 kB / 0.549 GB, free: 10.46 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001484/0.5899, allocations: 357.9 kB / 0.5493 GB, free: 10.11 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000785/0.5907, allocations: 0.5531 MB / 0.5499 GB, free: 9.555 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001039/0.5917, allocations: 0.8955 MB / 0.5507 GB, free: 8.508 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001024/0.5928, allocations: 0.7114 MB / 0.5514 GB, free: 7.797 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.324e-06/0.5928, allocations: 4 kB / 0.5514 GB, free: 7.793 MB / 426.7 MB Notification: Performance of matching and sorting (n=150) (initialization): time 0.003478/0.5963, allocations: 2.094 MB / 0.5535 GB, free: 5.672 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.45e-05/0.5963, allocations: 12.03 kB / 0.5535 GB, free: 5.66 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.122e-05/0.5963, allocations: 12 kB / 0.5535 GB, free: 5.648 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001468/0.5978, allocations: 0.5554 MB / 0.554 GB, free: 5.074 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009105/0.5987, allocations: 267.6 kB / 0.5543 GB, free: 4.812 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008292/0.6071, allocations: 7.978 MB / 0.5621 GB, free: 12.3 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001166/0.6083, allocations: 79.77 kB / 0.5622 GB, free: 12.23 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001892/0.6085, allocations: 48 kB / 0.5622 GB, free: 12.18 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (130): * Single equations (assignments): 124 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 1,(4,87.5%) 8,(1,100.0%) 4,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003328/0.6088, allocations: 184.7 kB / 0.5624 GB, free: 11.99 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003127/0.6091, allocations: 122.5 kB / 0.5625 GB, free: 11.87 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003371/0.6125, allocations: 1.879 MB / 0.5643 GB, free: 9.965 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.033e-05/0.6125, allocations: 8 kB / 0.5644 GB, free: 9.957 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.596e-06/0.6126, allocations: 4 kB / 0.5644 GB, free: 9.953 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.658e-06/0.6126, allocations: 7.984 kB / 0.5644 GB, free: 9.945 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007538/0.6201, allocations: 3.868 MB / 0.5681 GB, free: 5.988 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.564e-06/0.6202, allocations: 224 / 0.5681 GB, free: 5.988 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005546/0.6207, allocations: 127.9 kB / 0.5683 GB, free: 5.863 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001868/0.6226, allocations: 0.6641 MB / 0.5689 GB, free: 5.188 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.996e-05/0.6228, allocations: 27.92 kB / 0.5689 GB, free: 5.16 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.238/0.8608, allocations: 7.975 MB / 0.5767 GB, free: 99.58 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/0.8608, allocations: 8.344 kB / 0.5767 GB, free: 99.58 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003539/0.8644, allocations: 2.717 MB / 0.5794 GB, free: 99.25 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006801/0.8651, allocations: 318.3 kB / 0.5797 GB, free: 99.15 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001524/0.8652, allocations: 22.97 kB / 0.5797 GB, free: 99.15 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006059/0.8659, allocations: 58.67 kB / 0.5798 GB, free: 99.15 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001535/0.866, allocations: 82.48 kB / 0.5798 GB, free: 99.15 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.969e-05/0.8661, allocations: 26.88 kB / 0.5799 GB, free: 99.15 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0009003/0.867, allocations: 0.7509 MB / 0.5806 GB, free: 99.04 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.867, allocations: 0 / 0.5806 GB, free: 99.04 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001267/0.8683, allocations: 422 kB / 0.581 GB, free: 99.04 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 6 (imc.inertiaRotor.phi,imc.idq_sr[1],imc.idq_sr[2],imc.idq_rr[1],imc.idq_rr[2],loadInertia.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * 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): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(5,92.0%) 21,(1,100.0%) 1,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003865/0.8721, allocations: 3.954 MB / 0.5849 GB, free: 97.67 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002701/0.8749, allocations: 2.175 MB / 0.587 GB, free: 97 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.8749, allocations: 3.625 kB / 0.587 GB, free: 97 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0017/0.8766, allocations: 1.335 MB / 0.5883 GB, free: 96.55 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001506/0.8781, allocations: 348 kB / 0.5886 GB, free: 96.54 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004462/0.8826, allocations: 3.137 MB / 0.5917 GB, free: 95.84 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008098/0.8834, allocations: 1.504 MB / 0.5932 GB, free: 95.12 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0007483/0.8842, allocations: 265.1 kB / 0.5934 GB, free: 95.08 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005803/0.8848, allocations: 0.5633 MB / 0.594 GB, free: 95.08 MB / 442.7 MB Notification: Performance of SimCode: time 7.82e-07/0.8848, allocations: 0 / 0.594 GB, free: 95.08 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06391/0.9487, allocations: 36.69 MB / 0.6298 GB, free: 93.11 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002714/0.9491, allocations: 199.5 kB / 0.63 GB, free: 92.89 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.003/3.952, allocations: 0 / 0.63 GB, free: 92.89 MB / 442.7 MB (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_DCBraking_fmu --startTime=0 --stopTime=25 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_DCBraking.fmu > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.pipe 2>&1)