Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001293/0.001293, allocations: 105.1 kB / 21.23 MB, free: 0.6562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00171/0.00171, allocations: 213.9 kB / 24.54 MB, free: 4.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.449/1.449, allocations: 230.6 MB / 258.3 MB, free: 8.062 MB / 206.1 MB " [Timeout remaining time 178] 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.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking,fileNamePrefix="Modelica_4_1_0-beta_om_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_1_0-beta_om_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_DCBraking",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "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.002167/0.002167, allocations: 76.73 kB / 378.6 MB, free: 3.258 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.268/0.2701, allocations: 53.37 MB / 431.9 MB, free: 6.906 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking): time 0.01123/0.2814, allocations: 8.288 MB / 440.2 MB, free: 14.59 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005821/0.2872, allocations: 2.761 MB / 443 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001389/0.2886, allocations: 47.69 kB / 443 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002355/0.2909, allocations: 0.6526 MB / 443.7 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002463/0.2934, allocations: 0.6718 MB / 444.3 MB, free: 10.44 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008296/0.2942, allocations: 291.6 kB / 444.6 MB, free: 10.15 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003153/0.2974, allocations: 2.043 MB / 446.7 MB, free: 8.098 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001249/0.2986, allocations: 0.8315 MB / 447.5 MB, free: 7.219 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001513/0.3001, allocations: 0.9227 MB / 448.4 MB, free: 6.293 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001706/0.3018, allocations: 1.098 MB / 449.5 MB, free: 5.191 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003832/0.3022, allocations: 224 kB / 449.7 MB, free: 4.973 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006864/0.3029, allocations: 323.8 kB / 450.1 MB, free: 4.656 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006963/0.3036, allocations: 0.6426 MB / 450.7 MB, free: 4.012 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001292/0.3049, allocations: 1.035 MB / 451.7 MB, free: 2.973 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003697/0.3086, allocations: 3.006 MB / 454.7 MB, free: 15.95 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.3086, allocations: 0 / 454.7 MB, free: 15.95 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3086, allocations: 0 / 454.7 MB, free: 15.95 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.097e-05/0.3087, allocations: 0 / 454.7 MB, free: 15.95 MB / 366.1 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.004218/0.3129, allocations: 2.11 MB / 456.9 MB, free: 13.8 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.626e-05/0.3129, allocations: 12.03 kB / 456.9 MB, free: 13.79 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003054/0.3133, allocations: 228.1 kB / 457.1 MB, free: 13.56 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006352/0.3139, allocations: 227.6 kB / 457.3 MB, free: 13.34 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002136/0.316, allocations: 1.066 MB / 458.4 MB, free: 12.23 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001023/0.3161, allocations: 123.1 kB / 458.5 MB, free: 12.11 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002604/0.3164, allocations: 152 kB / 458.6 MB, free: 11.96 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003477/0.3199, allocations: 1.959 MB / 460.6 MB, free: 9.961 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.782e-05/0.3199, allocations: 7.953 kB / 460.6 MB, free: 9.953 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001413/0.3201, allocations: 67.92 kB / 460.7 MB, free: 9.887 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001039/0.3202, allocations: 82.91 kB / 460.8 MB, free: 9.805 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003125/0.3233, allocations: 1.581 MB / 462.3 MB, free: 8.219 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01123/0.3345, allocations: 6.168 MB / 468.5 MB, free: 1.84 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001414/0.3359, allocations: 0.729 MB / 469.2 MB, free: 1.102 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009671/0.3369, allocations: 0.542 MB / 469.8 MB, free: 0.5547 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001915/0.3371, allocations: 44.62 kB / 469.8 MB, free: 0.5078 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.714e-05/0.3371, allocations: 39.22 kB / 469.9 MB, free: 472 kB / 366.1 MB Notification: Performance of pre-optimization done (n=65): time 2.665e-06/0.3371, allocations: 0 / 469.9 MB, free: 472 kB / 366.1 MB Notification: Performance of matching and sorting (n=85): time 0.01315/0.3503, allocations: 5.485 MB / 475.3 MB, free: 10.94 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.992e-05/0.3503, allocations: 60.41 kB / 475.4 MB, free: 10.86 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001882/0.3522, allocations: 1.152 MB / 476.6 MB, free: 9.695 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.776e-05/0.3523, allocations: 41.7 kB / 476.6 MB, free: 9.648 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006846/0.353, allocations: 0.7925 MB / 477.4 MB, free: 8.848 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002965/0.3533, allocations: 317.3 kB / 477.7 MB, free: 8.535 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003529/0.3536, allocations: 206.9 kB / 477.9 MB, free: 8.324 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001917/0.3538, allocations: 349.9 kB / 478.2 MB, free: 7.977 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008542/0.3547, allocations: 0.5491 MB / 478.8 MB, free: 7.43 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001181/0.3559, allocations: 0.8795 MB / 479.7 MB, free: 6.398 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002134/0.358, allocations: 1.531 MB / 481.2 MB, free: 4.723 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.294e-06/0.358, allocations: 4 kB / 481.2 MB, free: 4.719 MB / 382.1 MB Notification: Performance of matching and sorting (n=142) (initialization): time 0.003784/0.3618, allocations: 2.036 MB / 483.2 MB, free: 2.656 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.704e-05/0.3618, allocations: 18.84 kB / 483.3 MB, free: 2.641 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.435e-05/0.3618, allocations: 12 kB / 483.3 MB, free: 2.629 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001566/0.3634, allocations: 0.5514 MB / 483.8 MB, free: 2.059 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008628/0.3643, allocations: 243.6 kB / 484.1 MB, free: 1.82 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009473/0.3738, allocations: 8.246 MB / 492.3 MB, free: 9.121 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001079/0.3748, allocations: 71.89 kB / 492.4 MB, free: 9.051 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001021/0.3749, allocations: 51.98 kB / 492.4 MB, free: 9 MB / 398.1 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 (123): * Single equations (assignments): 117 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,1,100.0%), (4,8,87.5%), (1,3,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009893/0.3759, allocations: 0.517 MB / 492.9 MB, free: 8.473 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002494/0.3762, allocations: 135.1 kB / 493.1 MB, free: 8.34 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003169/0.3793, allocations: 1.763 MB / 494.8 MB, free: 6.551 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.957e-06/0.3793, allocations: 8 kB / 494.9 MB, free: 6.543 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.097e-06/0.3794, allocations: 4 kB / 494.9 MB, free: 6.539 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.887e-06/0.3794, allocations: 3.984 kB / 494.9 MB, free: 6.535 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00655/0.3859, allocations: 3.698 MB / 498.6 MB, free: 2.758 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.835e-06/0.3859, allocations: 4 kB / 498.6 MB, free: 2.754 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005397/0.3865, allocations: 127.8 kB / 498.7 MB, free: 2.629 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001594/0.3881, allocations: 0.5914 MB / 499.3 MB, free: 2.027 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.133e-05/0.3881, allocations: 28.09 kB / 499.3 MB, free: 2 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008782/0.3969, allocations: 7.389 MB / 0.4948 GB, free: 10.27 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.3969, allocations: 4 kB / 0.4948 GB, free: 10.27 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004255/0.4012, allocations: 2.484 MB / 0.4972 GB, free: 7.727 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008353/0.402, allocations: 243.1 kB / 0.4975 GB, free: 7.488 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001843/0.4022, allocations: 27.94 kB / 0.4975 GB, free: 7.461 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006643/0.4029, allocations: 55.92 kB / 0.4976 GB, free: 7.406 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00019/0.403, allocations: 64.53 kB / 0.4976 GB, free: 7.344 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.634e-05/0.4031, allocations: 31.98 kB / 0.4977 GB, free: 7.312 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001286/0.4044, allocations: 0.7895 MB / 0.4984 GB, free: 6.516 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4044, allocations: 0 / 0.4984 GB, free: 6.516 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001556/0.406, allocations: 375.9 kB / 0.4988 GB, free: 6.148 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 6 (imc.inertiaRotor.w,imc.idq_sr[1],imc.idq_sr[2],imc.idq_rr[1],imc.idq_rr[2],loadInertia.phi) * 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 (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(6,14,69.4%), (1,1,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004766/0.4107, allocations: 3.097 MB / 0.5018 GB, free: 2.992 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003505/0.4142, allocations: 1.92 MB / 0.5037 GB, free: 1.016 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.674e-06/0.4142, allocations: 4 kB / 0.5037 GB, free: 1.012 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00222/0.4165, allocations: 1.205 MB / 0.5049 GB, free: 15.77 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001807/0.4183, allocations: 384.1 kB / 0.5052 GB, free: 15.4 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02229/0.4405, allocations: 13.69 MB / 0.5186 GB, free: 1.176 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001356/0.4419, allocations: 1.46 MB / 0.52 GB, free: 15.68 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0009192/0.4428, allocations: 267 kB / 0.5203 GB, free: 15.42 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008541/0.4437, allocations: 0.5618 MB / 0.5208 GB, free: 14.86 MB / 446.1 MB Notification: Performance of SimCode: time 1.322e-06/0.4437, allocations: 0 / 0.5208 GB, free: 14.86 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2706/0.7143, allocations: 36.26 MB / 0.5562 GB, free: 91.06 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 17.41/18.13, allocations: 6.078 kB / 0.5562 GB, free: 91.06 MB / 446.1 MB " [Timeout remaining time 642] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_DCBraking_fmu --startTime=0 --stopTime=25 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_DCBraking.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 20.64288245793432] Failed to read output from testmodel.py, exit status != 0: ['time', 'imc.idq_rr[1]', 'imc.idq_rr[2]', 'loadInertia.phi', 'loadInertia.w', 'imc.idq_sr[1]', 'imc.idq_sr[2]', 'imc.is[1]', 'imc.is[2]', 'tauElectrical', 'tauShaft', 'wMechanical'] 18.23427967214957 18.250219005 17.938055834 Calling exit ...