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_Initialize.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.001209/0.001209, allocations: 106.5 kB / 21.22 MB, free: 0.6797 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.001539/0.001539, allocations: 209.3 kB / 24.54 MB, free: 4.055 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.395/1.395, allocations: 230.6 MB / 258.3 MB, free: 8.07 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_Initialize,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Initialize",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Initialize",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.001908/0.001908, allocations: 68.77 kB / 378.6 MB, free: 3.176 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2784/0.2803, allocations: 53.37 MB / 431.9 MB, free: 6.918 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize): time 0.01136/0.2917, allocations: 9.031 MB / 441 MB, free: 13.85 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006055/0.2977, allocations: 2.975 MB / 443.9 MB, free: 10.87 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001482/0.2992, allocations: 51.69 kB / 444 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001819/0.301, allocations: 0.6481 MB / 444.6 MB, free: 10.17 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002308/0.3034, allocations: 0.7769 MB / 445.4 MB, free: 9.387 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007852/0.3041, allocations: 343.5 kB / 445.8 MB, free: 9.051 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002816/0.307, allocations: 2.377 MB / 448.1 MB, free: 6.66 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001373/0.3083, allocations: 1.013 MB / 449.1 MB, free: 5.602 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001491/0.3098, allocations: 1.098 MB / 450.2 MB, free: 4.5 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00193/0.3118, allocations: 1.393 MB / 451.6 MB, free: 3.102 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004068/0.3122, allocations: 280 kB / 451.9 MB, free: 2.828 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007298/0.3129, allocations: 383.8 kB / 452.3 MB, free: 2.453 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008055/0.3137, allocations: 0.8102 MB / 453.1 MB, free: 1.641 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001331/0.315, allocations: 1.264 MB / 454.4 MB, free: 380 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004104/0.3191, allocations: 3.713 MB / 458.1 MB, free: 12.64 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.902e-06/0.3191, allocations: 4 kB / 458.1 MB, free: 12.64 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.587e-06/0.3191, allocations: 3.984 kB / 458.1 MB, free: 12.64 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.545e-05/0.3192, allocations: 0 / 458.1 MB, free: 12.64 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: 466 * Number of variables: 466 Notification: Performance of Generate backend data structure: time 0.005475/0.3247, allocations: 2.571 MB / 460.6 MB, free: 10.02 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.736e-05/0.3247, allocations: 8.031 kB / 460.7 MB, free: 10.02 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003472/0.3251, allocations: 274 kB / 460.9 MB, free: 9.738 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009701/0.3261, allocations: 307.3 kB / 461.2 MB, free: 9.438 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00259/0.3286, allocations: 1.341 MB / 462.6 MB, free: 8.055 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000122/0.3288, allocations: 139.7 kB / 462.7 MB, free: 7.918 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003142/0.3291, allocations: 195.9 kB / 462.9 MB, free: 7.727 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004228/0.3333, allocations: 2.398 MB / 465.3 MB, free: 5.293 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.229e-05/0.3334, allocations: 11.92 kB / 465.3 MB, free: 5.281 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001758/0.3335, allocations: 75.98 kB / 465.4 MB, free: 5.207 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.658e-05/0.3336, allocations: 87.5 kB / 465.5 MB, free: 5.121 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00358/0.3372, allocations: 2.012 MB / 467.5 MB, free: 3.105 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01192/0.3491, allocations: 7.253 MB / 474.7 MB, free: 11.64 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001882/0.351, allocations: 0.9924 MB / 475.7 MB, free: 10.64 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001681/0.3527, allocations: 0.8495 MB / 476.6 MB, free: 9.789 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002197/0.3529, allocations: 56.88 kB / 476.6 MB, free: 9.734 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.067e-05/0.353, allocations: 47.56 kB / 476.7 MB, free: 9.68 MB / 382.1 MB Notification: Performance of pre-optimization done (n=84): time 2.565e-06/0.353, allocations: 0 / 476.7 MB, free: 9.68 MB / 382.1 MB Notification: Performance of matching and sorting (n=100): time 0.009899/0.3629, allocations: 4.684 MB / 481.4 MB, free: 4.957 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.332e-05/0.3629, allocations: 64.41 kB / 481.4 MB, free: 4.883 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002414/0.3653, allocations: 1.397 MB / 482.8 MB, free: 3.469 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001319/0.3655, allocations: 45.7 kB / 482.9 MB, free: 3.418 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007312/0.3662, allocations: 0.9227 MB / 483.8 MB, free: 2.484 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003308/0.3665, allocations: 368.9 kB / 484.1 MB, free: 2.121 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003454/0.3669, allocations: 218.9 kB / 484.4 MB, free: 1.902 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001635/0.367, allocations: 353.9 kB / 484.7 MB, free: 1.551 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001043/0.3681, allocations: 0.6272 MB / 485.3 MB, free: 0.9219 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001396/0.3695, allocations: 0.9259 MB / 486.3 MB, free: 15.88 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002494/0.372, allocations: 1.653 MB / 487.9 MB, free: 14.1 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.368e-06/0.372, allocations: 7.938 kB / 487.9 MB, free: 14.09 MB / 398.1 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.004468/0.3764, allocations: 2.376 MB / 490.3 MB, free: 11.71 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.661e-05/0.3765, allocations: 12 kB / 490.3 MB, free: 11.7 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.098e-05/0.3765, allocations: 8 kB / 490.3 MB, free: 11.69 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001935/0.3784, allocations: 0.7133 MB / 491 MB, free: 10.97 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008979/0.3793, allocations: 235.6 kB / 491.3 MB, free: 10.74 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01129/0.3906, allocations: 8.542 MB / 499.8 MB, free: 1.969 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001182/0.3918, allocations: 83.86 kB / 499.9 MB, free: 1.887 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.989e-05/0.3919, allocations: 44 kB / 499.9 MB, free: 1.844 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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 (114): * Single equations (assignments): 112 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (6,29,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001095/0.393, allocations: 0.6301 MB / 0.4888 GB, free: 1.203 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003334/0.3933, allocations: 155.1 kB / 0.489 GB, free: 1.051 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003414/0.3967, allocations: 1.897 MB / 0.4908 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.12e-05/0.3968, allocations: 8 kB / 0.4908 GB, free: 15.11 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.315e-05/0.3968, allocations: 4 kB / 0.4908 GB, free: 15.11 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.387e-05/0.3968, allocations: 3.984 kB / 0.4908 GB, free: 15.11 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007339/0.4041, allocations: 3.969 MB / 0.4947 GB, free: 11.05 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.214e-06/0.4041, allocations: 0 / 0.4947 GB, free: 11.05 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000822/0.4049, allocations: 179.7 kB / 0.4949 GB, free: 10.88 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001291/0.4062, allocations: 463.2 kB / 0.4953 GB, free: 10.41 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.437e-05/0.4063, allocations: 35.92 kB / 0.4954 GB, free: 10.38 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00708/0.4134, allocations: 6.382 MB / 0.5016 GB, free: 3.652 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.464e-06/0.4134, allocations: 7.969 kB / 0.5016 GB, free: 3.645 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004846/0.4183, allocations: 2.772 MB / 0.5043 GB, free: 0.8164 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000931/0.4192, allocations: 294.9 kB / 0.5046 GB, free: 0.5273 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003862/0.4196, allocations: 20 kB / 0.5046 GB, free: 0.5078 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009477/0.4205, allocations: 71.92 kB / 0.5047 GB, free: 448 kB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000257/0.4208, allocations: 84.83 kB / 0.5048 GB, free: 364 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.092e-05/0.4209, allocations: 31.94 kB / 0.5048 GB, free: 332 kB / 414.1 MB Notification: Performance of sorting global known variables: time 0.00178/0.4227, allocations: 0.9665 MB / 0.5057 GB, free: 15.35 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4227, allocations: 0 / 0.5057 GB, free: 15.35 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001622/0.4243, allocations: 432 kB / 0.5061 GB, free: 14.93 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 7 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.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 (84): * Single equations (assignments): 80 * 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 {(2,12,100.0%), (1,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005274/0.4295, allocations: 3.406 MB / 0.5095 GB, free: 11.47 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003761/0.4333, allocations: 1.946 MB / 0.5114 GB, free: 9.496 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.101e-06/0.4333, allocations: 3.938 kB / 0.5114 GB, free: 9.492 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00218/0.4355, allocations: 1.225 MB / 0.5126 GB, free: 8.227 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002214/0.4377, allocations: 389.7 kB / 0.5129 GB, free: 7.855 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02894/0.4667, allocations: 16.4 MB / 0.529 GB, free: 6.984 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001811/0.4685, allocations: 1.696 MB / 0.5306 GB, free: 5.25 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0009839/0.4694, allocations: 324 kB / 0.5309 GB, free: 4.93 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001012/0.4705, allocations: 0.6985 MB / 0.5316 GB, free: 4.23 MB / 446.1 MB Notification: Performance of SimCode: time 7.22e-07/0.4705, allocations: 0 / 0.5316 GB, free: 4.23 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2855/0.7559, allocations: 41.26 MB / 0.5719 GB, free: 77.05 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 18.01/18.76, allocations: 7.688 kB / 0.5719 GB, free: 77.05 MB / 446.1 MB " [Timeout remaining time 641] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Initialize_fmu --startTime=0 --stopTime=1.5 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Initialize.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 21.118998793885112] Failed to read output from testmodel.py, exit status != 0: ['time', 'aimc.is[1]', 'aimc.is[2]', 'aimc.idq_rr[1]', 'aimc.idq_rr[2]', 'aimc.idq_sr[1]', 'aimc.idq_sr[2]', 'loadInertia.phi', 'loadInertia.w'] 18.87222938798368 18.895246185 18.571130089 Calling exit ...