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.001056/0.001056, allocations: 177.1 kB / 13.64 MB, free: 1.672 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.29/1.29, allocations: 221.3 MB / 235.5 MB, free: 2.961 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009788/0.0009789, allocations: 94.95 kB / 286.5 MB, free: 260 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.546e-05/3.56e-05, allocations: 4 kB / 343.9 MB, free: 4.242 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09872/0.09877, allocations: 50.41 MB / 394.4 MB, free: 1.789 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3283/0.4271, allocations: 101.3 MB / 495.7 MB, free: 2.129 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002444/0.4274, allocations: 83.95 kB / 495.8 MB, free: 2.047 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09154/0.5189, allocations: 35.12 MB / 0.5185 GB, free: 14.7 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.519, allocations: 0 / 0.5185 GB, free: 14.7 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001033/0.5191, allocations: 43.88 kB / 0.5185 GB, free: 14.65 MB / 410.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.00285/0.522, allocations: 1.635 MB / 0.5201 GB, free: 12.96 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.276e-05/0.522, allocations: 12.03 kB / 0.5201 GB, free: 12.95 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002762/0.5223, allocations: 227.9 kB / 0.5203 GB, free: 12.72 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006205/0.5229, allocations: 217.7 kB / 0.5205 GB, free: 12.5 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002354/0.5253, allocations: 1.191 MB / 0.5217 GB, free: 11.27 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.821e-05/0.5254, allocations: 115 kB / 0.5218 GB, free: 11.15 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002531/0.5257, allocations: 155.9 kB / 0.522 GB, free: 11 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00308/0.5288, allocations: 1.911 MB / 0.5238 GB, free: 9.004 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.295e-05/0.5288, allocations: 8 kB / 0.5238 GB, free: 8.996 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001449/0.529, allocations: 60 kB / 0.5239 GB, free: 8.938 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-05/0.529, allocations: 66.92 kB / 0.524 GB, free: 8.871 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002425/0.5315, allocations: 1.484 MB / 0.5254 GB, free: 7.383 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00979/0.5413, allocations: 6.32 MB / 0.5316 GB, free: 0.8555 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001438/0.5428, allocations: 0.8555 MB / 0.5324 GB, free: 15.97 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008374/0.5436, allocations: 0.534 MB / 0.5329 GB, free: 15.43 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003122/0.5439, allocations: 133.6 kB / 0.5331 GB, free: 15.28 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.245e-05/0.544, allocations: 43.12 kB / 0.5331 GB, free: 15.23 MB / 426.7 MB Notification: Performance of pre-optimization done (n=70): time 5.441e-06/0.544, allocations: 3.984 kB / 0.5331 GB, free: 15.23 MB / 426.7 MB Notification: Performance of matching and sorting (n=93): time 0.01312/0.5571, allocations: 5.362 MB / 0.5383 GB, free: 9.793 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.382e-05/0.5572, allocations: 60.19 kB / 0.5384 GB, free: 9.723 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001388/0.5586, allocations: 0.9795 MB / 0.5394 GB, free: 8.727 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 7.2e-05/0.5587, allocations: 37.7 kB / 0.5394 GB, free: 8.684 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004958/0.5592, allocations: 0.7592 MB / 0.5401 GB, free: 7.914 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002436/0.5594, allocations: 335.3 kB / 0.5405 GB, free: 7.582 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.938e-05/0.5595, allocations: 24 kB / 0.5405 GB, free: 7.559 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001287/0.5596, allocations: 353.9 kB / 0.5408 GB, free: 7.207 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008224/0.5605, allocations: 0.5493 MB / 0.5413 GB, free: 6.656 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000996/0.5615, allocations: 0.8993 MB / 0.5422 GB, free: 5.609 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009665/0.5624, allocations: 0.7114 MB / 0.5429 GB, free: 4.898 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.251e-06/0.5625, allocations: 8 kB / 0.5429 GB, free: 4.891 MB / 426.7 MB Notification: Performance of matching and sorting (n=150) (initialization): time 0.003455/0.5659, allocations: 2.086 MB / 0.545 GB, free: 2.781 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.5e-05/0.566, allocations: 11.95 kB / 0.545 GB, free: 2.77 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.24e-05/0.566, allocations: 16.19 kB / 0.545 GB, free: 2.754 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00145/0.5675, allocations: 0.5631 MB / 0.5455 GB, free: 2.172 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009794/0.5685, allocations: 259.6 kB / 0.5458 GB, free: 1.918 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2319/0.8003, allocations: 7.961 MB / 0.5536 GB, free: 108.2 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001145/0.8015, allocations: 67.17 kB / 0.5536 GB, free: 108.2 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001189/0.8017, allocations: 52.36 kB / 0.5537 GB, free: 108.2 MB / 426.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.0002541/0.8019, allocations: 177.3 kB / 0.5538 GB, free: 108.1 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002357/0.8022, allocations: 133 kB / 0.554 GB, free: 108.1 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003466/0.8057, allocations: 1.884 MB / 0.5558 GB, free: 108 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.197e-06/0.8057, allocations: 8.938 kB / 0.5558 GB, free: 108 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.927e-06/0.8057, allocations: 5.688 kB / 0.5558 GB, free: 108 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.475e-05/0.8057, allocations: 9.328 kB / 0.5558 GB, free: 108 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007116/0.8128, allocations: 3.87 MB / 0.5596 GB, free: 107.6 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.687e-06/0.8129, allocations: 2.375 kB / 0.5596 GB, free: 107.6 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005587/0.8134, allocations: 118.4 kB / 0.5597 GB, free: 107.6 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00195/0.8154, allocations: 0.6713 MB / 0.5604 GB, free: 107.5 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.617e-05/0.8155, allocations: 26.33 kB / 0.5604 GB, free: 107.5 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009432/0.825, allocations: 7.981 MB / 0.5682 GB, free: 103.6 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.825, allocations: 1.531 kB / 0.5682 GB, free: 103.6 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004291/0.8293, allocations: 2.729 MB / 0.5709 GB, free: 102.6 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007282/0.8301, allocations: 318.1 kB / 0.5712 GB, free: 102.4 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001518/0.8302, allocations: 24.16 kB / 0.5712 GB, free: 102.4 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006221/0.8308, allocations: 58.19 kB / 0.5713 GB, free: 102.4 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001915/0.831, allocations: 73.12 kB / 0.5713 GB, free: 102.4 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.943e-05/0.8311, allocations: 30.5 kB / 0.5714 GB, free: 102.4 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001165/0.8323, allocations: 0.7415 MB / 0.5721 GB, free: 102 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.81e-07/0.8323, allocations: 0.9688 kB / 0.5721 GB, free: 102 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001724/0.834, allocations: 430 kB / 0.5725 GB, free: 102 MB / 426.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.005172/0.8392, allocations: 3.953 MB / 0.5763 GB, free: 99.73 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003258/0.8425, allocations: 2.173 MB / 0.5785 GB, free: 98.59 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/0.8425, allocations: 0 / 0.5785 GB, free: 98.59 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00186/0.8444, allocations: 1.354 MB / 0.5798 GB, free: 97.85 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001663/0.8461, allocations: 344.7 kB / 0.5801 GB, free: 97.76 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006699/0.8528, allocations: 3.127 MB / 0.5832 GB, free: 96.46 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001065/0.8539, allocations: 1.502 MB / 0.5846 GB, free: 95.62 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.000932/0.8548, allocations: 266.5 kB / 0.5849 GB, free: 95.59 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006752/0.8555, allocations: 0.5587 MB / 0.5854 GB, free: 95.15 MB / 426.7 MB Notification: Performance of SimCode: time 9.52e-07/0.8555, allocations: 0 / 0.5854 GB, free: 95.15 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04989/0.9054, allocations: 36.6 MB / 0.6212 GB, free: 78.94 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001523/0.9056, allocations: 197 kB / 0.6214 GB, free: 78.71 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.847/3.752, allocations: 0 / 0.6214 GB, free: 78.71 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)