Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.conf.json 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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_DCBraking",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking,fileNamePrefix="Modelica_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001799/0.001799, allocations: 180.2 kB / 16.38 MB, free: 5.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.462/1.462, allocations: 223.2 MB / 240.3 MB, free: 11.9 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000852/0.000852, allocations: 103.1 kB / 291.5 MB, free: 10.94 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002297/0.0002298, allocations: 4 kB / 351.2 MB, free: 15.24 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.188/0.1882, allocations: 50.41 MB / 401.6 MB, free: 32.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1132/0.3014, allocations: 101.4 MB / 0.4912 GB, free: 11.04 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000228/0.3017, allocations: 87.95 kB / 0.4913 GB, free: 10.95 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2374/0.5392, allocations: 35.06 MB / 0.5255 GB, free: 88.3 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.943e-06/0.5392, allocations: 0 / 0.5255 GB, free: 88.3 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.237e-05/0.5393, allocations: 37.48 kB / 0.5256 GB, free: 88.27 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.002906/0.5422, allocations: 1.82 MB / 0.5274 GB, free: 86.39 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.198e-05/0.5423, allocations: 8.031 kB / 0.5274 GB, free: 86.39 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002447/0.5425, allocations: 235.9 kB / 0.5276 GB, free: 86.14 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005143/0.543, allocations: 221.7 kB / 0.5278 GB, free: 85.93 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001928/0.545, allocations: 1.189 MB / 0.529 GB, free: 84.71 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.537e-05/0.5451, allocations: 111 kB / 0.5291 GB, free: 84.6 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001837/0.5453, allocations: 159.8 kB / 0.5292 GB, free: 84.45 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00244/0.5477, allocations: 1.945 MB / 0.5311 GB, free: 82.42 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.872e-05/0.5477, allocations: 0 / 0.5311 GB, free: 82.42 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001301/0.5479, allocations: 67.95 kB / 0.5312 GB, free: 82.36 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.916e-05/0.548, allocations: 70.92 kB / 0.5312 GB, free: 82.29 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001999/0.55, allocations: 1.511 MB / 0.5327 GB, free: 80.77 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007527/0.5575, allocations: 6.324 MB / 0.5389 GB, free: 74.29 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001114/0.5586, allocations: 0.8745 MB / 0.5398 GB, free: 73.39 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002314/0.5589, allocations: 129.6 kB / 0.5399 GB, free: 73.25 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.359e-05/0.5589, allocations: 43.08 kB / 0.5399 GB, free: 73.2 MB / 378.7 MB Notification: Performance of pre-optimization done (n=70): time 2.545e-06/0.5589, allocations: 0 / 0.5399 GB, free: 73.2 MB / 378.7 MB Notification: Performance of matching and sorting (n=93): time 0.01193/0.5709, allocations: 6.291 MB / 0.5461 GB, free: 66.76 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.116e-05/0.5709, allocations: 60.41 kB / 0.5461 GB, free: 66.69 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001244/0.5722, allocations: 0.9863 MB / 0.5471 GB, free: 65.69 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.464e-05/0.5723, allocations: 41.7 kB / 0.5471 GB, free: 65.64 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003651/0.5726, allocations: 0.7668 MB / 0.5479 GB, free: 64.87 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001672/0.5728, allocations: 319.3 kB / 0.5482 GB, free: 64.56 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.385e-05/0.5729, allocations: 24 kB / 0.5482 GB, free: 64.54 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.346e-05/0.5729, allocations: 353.9 kB / 0.5485 GB, free: 64.18 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006251/0.5736, allocations: 0.5726 MB / 0.5491 GB, free: 63.61 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000746/0.5743, allocations: 0.9108 MB / 0.55 GB, free: 62.55 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007654/0.5751, allocations: 0.7213 MB / 0.5507 GB, free: 61.83 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.5751, allocations: 4 kB / 0.5507 GB, free: 61.82 MB / 378.7 MB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002818/0.5779, allocations: 2.125 MB / 0.5528 GB, free: 59.67 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.771e-05/0.578, allocations: 14.8 kB / 0.5528 GB, free: 59.66 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.667e-05/0.578, allocations: 12 kB / 0.5528 GB, free: 59.65 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0013/0.5793, allocations: 0.5672 MB / 0.5533 GB, free: 59.06 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008098/0.5801, allocations: 259.6 kB / 0.5536 GB, free: 58.81 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00583/0.586, allocations: 8.135 MB / 0.5615 GB, free: 50.14 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001069/0.5871, allocations: 71.78 kB / 0.5616 GB, free: 50.07 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.921e-05/0.5872, allocations: 55.98 kB / 0.5617 GB, free: 50.02 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.0008464/0.588, allocations: 0.521 MB / 0.5622 GB, free: 49.49 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001857/0.5882, allocations: 134.8 kB / 0.5623 GB, free: 49.36 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002694/0.5909, allocations: 1.908 MB / 0.5642 GB, free: 47.43 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.243e-06/0.5909, allocations: 12 kB / 0.5642 GB, free: 47.41 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/0.591, allocations: 4 kB / 0.5642 GB, free: 47.41 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.246e-06/0.591, allocations: 7.969 kB / 0.5642 GB, free: 47.4 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005625/0.5966, allocations: 3.906 MB / 0.568 GB, free: 43.43 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.941e-06/0.5966, allocations: 4 kB / 0.568 GB, free: 43.43 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004793/0.5971, allocations: 123.8 kB / 0.5681 GB, free: 43.3 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001541/0.5987, allocations: 0.6714 MB / 0.5688 GB, free: 42.62 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.459e-05/0.5987, allocations: 27.98 kB / 0.5688 GB, free: 42.59 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00711/0.6059, allocations: 8.199 MB / 0.5768 GB, free: 34 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.6059, allocations: 4 kB / 0.5768 GB, free: 33.99 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003396/0.6093, allocations: 2.78 MB / 0.5795 GB, free: 31.13 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006348/0.6099, allocations: 319.6 kB / 0.5798 GB, free: 30.8 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001452/0.6101, allocations: 23.98 kB / 0.5799 GB, free: 30.77 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006064/0.6107, allocations: 59.88 kB / 0.5799 GB, free: 30.71 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001419/0.6109, allocations: 76.89 kB / 0.58 GB, free: 30.64 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.059e-05/0.6109, allocations: 27.95 kB / 0.58 GB, free: 30.61 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0008934/0.6118, allocations: 0.7581 MB / 0.5808 GB, free: 29.85 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.6118, allocations: 0 / 0.5808 GB, free: 29.85 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00134/0.6132, allocations: 423.9 kB / 0.5812 GB, free: 29.43 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.003767/0.617, allocations: 4.004 MB / 0.5851 GB, free: 25.36 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002759/0.6197, allocations: 2.227 MB / 0.5872 GB, free: 23.04 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.6197, allocations: 0 / 0.5872 GB, free: 23.04 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001748/0.6215, allocations: 1.386 MB / 0.5886 GB, free: 21.6 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001393/0.6229, allocations: 354 kB / 0.5889 GB, free: 21.27 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01362/0.6365, allocations: 17.37 MB / 0.6059 GB, free: 3.352 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008154/0.6374, allocations: 1.503 MB / 0.6074 GB, free: 1.816 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0008219/0.6382, allocations: 271.3 kB / 0.6076 GB, free: 1.547 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005709/0.6388, allocations: 0.5618 MB / 0.6082 GB, free: 0.9844 MB / 378.7 MB Notification: Performance of SimCode: time 7.72e-07/0.6388, allocations: 0 / 0.6082 GB, free: 0.9844 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05989/0.6987, allocations: 36.43 MB / 0.6437 GB, free: 12.97 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001894/0.6989, allocations: 231.1 kB / 0.644 GB, free: 12.73 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.974/3.673, allocations: 2.656 kB / 0.644 GB, free: 12.73 MB / 426.7 MB (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_DCBraking_fmu --startTime=0 --stopTime=25 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_DCBraking.fmu > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.pipe 2>&1)