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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001537/0.001537, allocations: 101.5 kB / 21.21 MB, free: 0.6523 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001603/0.001603, allocations: 191.5 kB / 24.49 MB, free: 3.957 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.405/1.405, allocations: 225.7 MB / 253.3 MB, free: 12.85 MB / 206.1 MB " [Timeout remaining time 178] 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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="cs",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="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001589/0.001589, allocations: 47.92 kB / 371.2 MB, free: 9.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2735/0.2751, allocations: 52.18 MB / 423.4 MB, free: 14.4 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking): time 0.009655/0.2848, allocations: 7.252 MB / 430.6 MB, free: 7.117 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004861/0.2896, allocations: 2.524 MB / 433.1 MB, free: 4.582 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007176/0.2903, allocations: 55.62 kB / 433.2 MB, free: 4.527 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001717/0.292, allocations: 0.5941 MB / 433.8 MB, free: 3.93 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001954/0.294, allocations: 0.6679 MB / 434.5 MB, free: 3.258 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006552/0.2947, allocations: 291.6 kB / 434.7 MB, free: 2.973 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002373/0.297, allocations: 2.035 MB / 436.8 MB, free: 0.9297 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001211/0.2982, allocations: 0.8315 MB / 437.6 MB, free: 52 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001337/0.2996, allocations: 0.9032 MB / 438.5 MB, free: 15.14 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001624/0.3012, allocations: 1.09 MB / 439.6 MB, free: 14.05 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003433/0.3015, allocations: 232 kB / 439.8 MB, free: 13.82 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006338/0.3022, allocations: 319.8 kB / 440.1 MB, free: 13.51 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000683/0.3029, allocations: 0.6427 MB / 440.8 MB, free: 12.87 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00101/0.3039, allocations: 0.8286 MB / 441.6 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003377/0.3072, allocations: 3.024 MB / 444.6 MB, free: 9 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.3073, allocations: 4 kB / 444.6 MB, free: 8.996 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3073, allocations: 0 / 444.6 MB, free: 8.996 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.098e-05/0.3073, allocations: 0 / 444.6 MB, free: 8.996 MB / 350.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.004198/0.3115, allocations: 2.099 MB / 446.7 MB, free: 6.855 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.007e-05/0.3116, allocations: 12.03 kB / 446.7 MB, free: 6.844 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.631e-05/0.3116, allocations: 39.19 kB / 446.8 MB, free: 6.805 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002864/0.3119, allocations: 228 kB / 447 MB, free: 6.57 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005955/0.3125, allocations: 227.7 kB / 447.2 MB, free: 6.348 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001944/0.3144, allocations: 1.074 MB / 448.3 MB, free: 5.238 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.419e-05/0.3145, allocations: 115.1 kB / 448.4 MB, free: 5.125 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002569/0.3148, allocations: 159.9 kB / 448.6 MB, free: 4.969 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003366/0.3182, allocations: 2.059 MB / 450.6 MB, free: 2.84 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.125e-05/0.3182, allocations: 11.94 kB / 450.6 MB, free: 2.828 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001557/0.3184, allocations: 56 kB / 450.7 MB, free: 2.773 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000114/0.3185, allocations: 74.92 kB / 450.8 MB, free: 2.699 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002733/0.3212, allocations: 1.589 MB / 452.4 MB, free: 1.105 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009865/0.3311, allocations: 5.684 MB / 458 MB, free: 11.21 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001425/0.3325, allocations: 0.7291 MB / 458.8 MB, free: 10.47 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001037/0.3335, allocations: 0.5383 MB / 459.3 MB, free: 9.93 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001965/0.3337, allocations: 36.62 kB / 459.3 MB, free: 9.891 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.111e-05/0.3338, allocations: 47.69 kB / 459.4 MB, free: 9.836 MB / 366.1 MB Notification: Performance of pre-optimization done (n=65): time 3.276e-06/0.3338, allocations: 3.938 kB / 459.4 MB, free: 9.832 MB / 366.1 MB Notification: Performance of matching and sorting (n=85): time 0.01364/0.3474, allocations: 5.481 MB / 464.9 MB, free: 4.316 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.276e-05/0.3475, allocations: 64.41 kB / 464.9 MB, free: 4.238 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001993/0.3495, allocations: 1.144 MB / 466.1 MB, free: 3.078 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.962e-05/0.3495, allocations: 37.7 kB / 466.1 MB, free: 3.035 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006907/0.3502, allocations: 0.7924 MB / 466.9 MB, free: 2.234 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003402/0.3506, allocations: 321.3 kB / 467.2 MB, free: 1.918 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000376/0.3509, allocations: 206.9 kB / 467.4 MB, free: 1.707 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001875/0.3511, allocations: 353.9 kB / 467.8 MB, free: 1.355 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00086/0.352, allocations: 0.5452 MB / 468.3 MB, free: 0.8125 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001195/0.3532, allocations: 0.8796 MB / 469.2 MB, free: 15.78 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002137/0.3553, allocations: 1.52 MB / 470.7 MB, free: 14.12 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.565e-05/0.3553, allocations: 7.984 kB / 470.7 MB, free: 14.11 MB / 382.1 MB Notification: Performance of matching and sorting (n=142) (initialization): time 0.003752/0.3591, allocations: 2.044 MB / 472.8 MB, free: 12.04 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.81e-05/0.3591, allocations: 11.94 kB / 472.8 MB, free: 12.02 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.241e-05/0.3591, allocations: 12 kB / 472.8 MB, free: 12.01 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001534/0.3607, allocations: 0.5477 MB / 473.3 MB, free: 11.45 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000848/0.3615, allocations: 247.6 kB / 473.6 MB, free: 11.2 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009198/0.3707, allocations: 8.202 MB / 481.8 MB, free: 2.547 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000995/0.3717, allocations: 67.92 kB / 481.9 MB, free: 2.48 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001447/0.3719, allocations: 48.27 kB / 481.9 MB, free: 2.434 MB / 382.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.0009841/0.3729, allocations: 0.5263 MB / 482.4 MB, free: 1.898 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003603/0.3732, allocations: 127.2 kB / 482.6 MB, free: 1.773 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003281/0.3765, allocations: 1.755 MB / 484.3 MB, free: 15.99 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.197e-05/0.3765, allocations: 8 kB / 484.3 MB, free: 15.98 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.1e-05/0.3765, allocations: 4 kB / 484.3 MB, free: 15.98 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-06/0.3765, allocations: 3.938 kB / 484.3 MB, free: 15.98 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006834/0.3834, allocations: 3.514 MB / 487.8 MB, free: 12.38 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.095e-06/0.3834, allocations: 4 kB / 487.8 MB, free: 12.38 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005404/0.3839, allocations: 127.8 kB / 488 MB, free: 12.25 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00163/0.3855, allocations: 0.5926 MB / 488.6 MB, free: 11.65 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.753e-05/0.3856, allocations: 23.98 kB / 488.6 MB, free: 11.62 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008942/0.3946, allocations: 7.341 MB / 495.9 MB, free: 3.945 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.662e-06/0.3946, allocations: 11.88 kB / 495.9 MB, free: 3.934 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004223/0.3988, allocations: 2.477 MB / 498.4 MB, free: 1.402 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008182/0.3996, allocations: 243.1 kB / 498.6 MB, free: 1.164 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003255/0.3999, allocations: 27.92 kB / 498.7 MB, free: 1.137 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008105/0.4007, allocations: 51.94 kB / 498.7 MB, free: 1.086 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002078/0.4009, allocations: 72.52 kB / 498.8 MB, free: 1.016 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.555e-05/0.401, allocations: 20 kB / 498.8 MB, free: 0.9961 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001512/0.4025, allocations: 0.7932 MB / 499.6 MB, free: 200 kB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4025, allocations: 7.938 kB / 499.6 MB, free: 192 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.001572/0.4041, allocations: 372.1 kB / 500 MB, free: 15.82 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.00465/0.4088, allocations: 3.093 MB / 0.4913 GB, free: 12.67 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003474/0.4122, allocations: 1.933 MB / 0.4932 GB, free: 10.68 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.601e-06/0.4122, allocations: 0 / 0.4932 GB, free: 10.68 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002121/0.4144, allocations: 1.184 MB / 0.4943 GB, free: 9.457 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002012/0.4164, allocations: 374.2 kB / 0.4947 GB, free: 9.098 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02346/0.4398, allocations: 13.67 MB / 0.508 GB, free: 10.87 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001422/0.4413, allocations: 0.8787 MB / 0.5089 GB, free: 9.953 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0008493/0.4421, allocations: 263 kB / 0.5091 GB, free: 9.691 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009086/0.443, allocations: 0.5657 MB / 0.5097 GB, free: 9.125 MB / 430.1 MB Notification: Performance of SimCode: time 1.532e-06/0.443, allocations: 0 / 0.5097 GB, free: 9.125 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2752/0.7182, allocations: 37.75 MB / 0.5466 GB, free: 108.8 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 19.02/19.74, allocations: 5.594 kB / 0.5466 GB, free: 108.8 MB / 446.1 MB " [Timeout remaining time 640] (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/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 --stepSize=0.001 --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) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 22.2803288459545] 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'] 19.917986389016733 19.927211864 19.617720396 Calling exit ...