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.001625/0.001625, allocations: 197.8 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.293/1.293, allocations: 227.2 MB / 245 MB, free: 7.602 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008577/0.0008576, allocations: 101 kB / 297.3 MB, free: 6.195 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002111/0.0002111, allocations: 4 kB / 358 MB, free: 9.434 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2107/0.2109, allocations: 51.47 MB / 409.5 MB, free: 26.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1149/0.3259, allocations: 102.2 MB / 0.4997 GB, free: 4.328 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002574/0.3262, allocations: 87.95 kB / 0.4998 GB, free: 4.242 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2533/0.5795, allocations: 35.19 MB / 0.5342 GB, free: 77.96 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.5795, allocations: 0 / 0.5342 GB, free: 77.96 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001239/0.5796, allocations: 39.94 kB / 0.5342 GB, free: 77.93 MB / 378.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.004264/0.5839, allocations: 1.825 MB / 0.536 GB, free: 76.04 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4e-05/0.584, allocations: 12.03 kB / 0.536 GB, free: 76.03 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006296/0.5846, allocations: 223.9 kB / 0.5362 GB, free: 75.8 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008767/0.5855, allocations: 229.6 kB / 0.5365 GB, free: 75.57 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002602/0.5881, allocations: 1.191 MB / 0.5376 GB, free: 74.34 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.631e-05/0.5882, allocations: 111 kB / 0.5377 GB, free: 74.23 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003429/0.5886, allocations: 163.9 kB / 0.5379 GB, free: 74.07 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003074/0.5916, allocations: 1.945 MB / 0.5398 GB, free: 72.04 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.173e-05/0.5917, allocations: 3.906 kB / 0.5398 GB, free: 72.04 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001502/0.5919, allocations: 64 kB / 0.5398 GB, free: 71.97 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.517e-05/0.5919, allocations: 70.92 kB / 0.5399 GB, free: 71.9 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002206/0.5942, allocations: 1.511 MB / 0.5414 GB, free: 70.39 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00859/0.6028, allocations: 6.305 MB / 0.5475 GB, free: 63.88 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001192/0.604, allocations: 0.87 MB / 0.5484 GB, free: 62.98 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002285/0.6042, allocations: 129.6 kB / 0.5485 GB, free: 62.83 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.114e-05/0.6043, allocations: 51 kB / 0.5486 GB, free: 62.77 MB / 378.7 MB Notification: Performance of pre-optimization done (n=70): time 2.635e-06/0.6043, allocations: 0 / 0.5486 GB, free: 62.77 MB / 378.7 MB Notification: Performance of matching and sorting (n=93): time 0.01253/0.6168, allocations: 6.299 MB / 0.5547 GB, free: 56.31 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.684e-05/0.6169, allocations: 60.41 kB / 0.5548 GB, free: 56.24 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001413/0.6183, allocations: 0.9904 MB / 0.5557 GB, free: 55.24 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.627e-05/0.6184, allocations: 41.7 kB / 0.5558 GB, free: 55.19 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003653/0.6188, allocations: 0.767 MB / 0.5565 GB, free: 54.41 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000189/0.619, allocations: 319.3 kB / 0.5568 GB, free: 54.1 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.08e-05/0.619, allocations: 24 kB / 0.5569 GB, free: 54.07 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.237e-05/0.6191, allocations: 358.1 kB / 0.5572 GB, free: 53.72 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006888/0.6198, allocations: 0.5686 MB / 0.5578 GB, free: 53.15 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007863/0.6206, allocations: 0.9186 MB / 0.5587 GB, free: 52.08 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008179/0.6214, allocations: 0.7173 MB / 0.5594 GB, free: 51.36 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.688e-06/0.6215, allocations: 4 kB / 0.5594 GB, free: 51.35 MB / 378.7 MB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002898/0.6244, allocations: 2.121 MB / 0.5614 GB, free: 49.21 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.314e-05/0.6244, allocations: 12 kB / 0.5614 GB, free: 49.2 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.702e-05/0.6244, allocations: 8 kB / 0.5614 GB, free: 49.19 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001265/0.6257, allocations: 0.5711 MB / 0.562 GB, free: 48.6 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008337/0.6265, allocations: 259.6 kB / 0.5623 GB, free: 48.34 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006115/0.6327, allocations: 8.14 MB / 0.5702 GB, free: 39.68 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009861/0.6337, allocations: 75.91 kB / 0.5703 GB, free: 39.6 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001162/0.6338, allocations: 52 kB / 0.5703 GB, free: 39.55 MB / 378.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 () * Number of clocked 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.000919/0.6347, allocations: 0.5254 MB / 0.5708 GB, free: 39.02 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003339/0.6351, allocations: 126.4 kB / 0.571 GB, free: 38.89 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002865/0.6379, allocations: 1.908 MB / 0.5728 GB, free: 36.96 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.074e-06/0.638, allocations: 11.95 kB / 0.5728 GB, free: 36.95 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.234e-05/0.638, allocations: 4 kB / 0.5728 GB, free: 36.95 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.867e-06/0.638, allocations: 3.984 kB / 0.5728 GB, free: 36.94 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00588/0.6439, allocations: 3.911 MB / 0.5767 GB, free: 32.94 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.833e-06/0.6439, allocations: 0 / 0.5767 GB, free: 32.94 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004944/0.6444, allocations: 123.8 kB / 0.5768 GB, free: 32.82 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001559/0.646, allocations: 0.6794 MB / 0.5774 GB, free: 32.12 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.726e-05/0.6461, allocations: 28.03 kB / 0.5775 GB, free: 32.1 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007339/0.6534, allocations: 8.198 MB / 0.5855 GB, free: 23.49 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.788e-06/0.6535, allocations: 4 kB / 0.5855 GB, free: 23.49 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003579/0.657, allocations: 2.777 MB / 0.5882 GB, free: 20.62 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000767/0.6578, allocations: 319.5 kB / 0.5885 GB, free: 20.29 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00028/0.6581, allocations: 23.95 kB / 0.5885 GB, free: 20.27 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007451/0.6589, allocations: 63.92 kB / 0.5886 GB, free: 20.21 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001589/0.6591, allocations: 72.84 kB / 0.5886 GB, free: 20.14 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.618e-05/0.6591, allocations: 31.98 kB / 0.5887 GB, free: 20.11 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001165/0.6603, allocations: 0.7583 MB / 0.5894 GB, free: 19.34 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.6603, allocations: 0 / 0.5894 GB, free: 19.34 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001638/0.662, allocations: 424 kB / 0.5898 GB, free: 18.93 MB / 378.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 () * Number of clocked 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 {(6,77.8%) 20,(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.004127/0.6661, allocations: 4.013 MB / 0.5937 GB, free: 14.82 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003022/0.6691, allocations: 2.212 MB / 0.5959 GB, free: 12.52 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.143e-06/0.6691, allocations: 4 kB / 0.5959 GB, free: 12.52 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001902/0.6711, allocations: 1.39 MB / 0.5973 GB, free: 11.07 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001756/0.6728, allocations: 339.4 kB / 0.5976 GB, free: 10.74 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01799/0.6908, allocations: 17.39 MB / 0.6146 GB, free: 8.809 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001403/0.6923, allocations: 1.503 MB / 0.616 GB, free: 7.273 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0009168/0.6932, allocations: 271.3 kB / 0.6163 GB, free: 7.004 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007743/0.694, allocations: 0.5579 MB / 0.6168 GB, free: 6.445 MB / 394.7 MB Notification: Performance of SimCode: time 8.81e-07/0.694, allocations: 0 / 0.6168 GB, free: 6.445 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05967/0.7537, allocations: 36.53 MB / 0.6525 GB, free: 2.277 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002333/0.754, allocations: 232.5 kB / 0.6527 GB, free: 2.035 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.902/3.656, allocations: 0 / 0.6527 GB, free: 2.035 MB / 426.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)