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_Inverter.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.00149/0.00149, allocations: 116.5 kB / 18.5 MB, free: 4.434 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.00181/0.00181, allocations: 216.9 kB / 21.47 MB, free: 1.473 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.431/1.431, allocations: 230.5 MB / 254.7 MB, free: 15.01 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_Inverter,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Inverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Inverter",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.00311/0.00311, allocations: 67.81 kB / 373.6 MB, free: 10.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1182/0.1213, allocations: 53.31 MB / 426.9 MB, free: 4.832 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter): time 0.2077/0.3289, allocations: 8.917 MB / 435.8 MB, free: 6.887 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00425/0.3332, allocations: 2.902 MB / 438.7 MB, free: 5.543 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009111/0.3341, allocations: 45.41 kB / 438.8 MB, free: 5.531 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001488/0.3356, allocations: 0.6437 MB / 439.4 MB, free: 5.27 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001833/0.3374, allocations: 0.7413 MB / 440.1 MB, free: 4.848 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006567/0.3381, allocations: 326.6 kB / 440.5 MB, free: 4.648 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002174/0.3402, allocations: 2.229 MB / 442.7 MB, free: 3.535 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001426/0.3417, allocations: 1.279 MB / 444 MB, free: 2.938 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001539/0.3432, allocations: 1.033 MB / 445 MB, free: 2.441 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001625/0.3448, allocations: 1.315 MB / 446.3 MB, free: 1.848 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003927/0.3452, allocations: 272.4 kB / 446.6 MB, free: 1.844 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007117/0.3459, allocations: 371.4 kB / 446.9 MB, free: 1.812 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006502/0.3466, allocations: 0.7677 MB / 447.7 MB, free: 1.395 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001056/0.3476, allocations: 1.213 MB / 448.9 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003842/0.3515, allocations: 3.54 MB / 452.5 MB, free: 15.35 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.3515, allocations: 0 / 452.5 MB, free: 15.35 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.3515, allocations: 0.75 kB / 452.5 MB, free: 15.35 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.749e-05/0.3516, allocations: 0 / 452.5 MB, free: 15.35 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: 468 * Number of variables: 468 Notification: Performance of Generate backend data structure: time 0.005615/0.3572, allocations: 2.562 MB / 455 MB, free: 13.69 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/0.3572, allocations: 9.625 kB / 455 MB, free: 13.69 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003691/0.3576, allocations: 270.8 kB / 455.3 MB, free: 13.48 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007201/0.3583, allocations: 264.7 kB / 455.6 MB, free: 13.35 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002623/0.3609, allocations: 1.311 MB / 456.9 MB, free: 12.38 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001119/0.3611, allocations: 131.9 kB / 457 MB, free: 12.32 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002974/0.3614, allocations: 190.3 kB / 457.2 MB, free: 12.25 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003985/0.3653, allocations: 2.373 MB / 459.6 MB, free: 10.86 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.748e-05/0.3654, allocations: 11.83 kB / 459.6 MB, free: 10.85 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001786/0.3656, allocations: 71 kB / 459.6 MB, free: 10.8 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001174/0.3657, allocations: 91.69 kB / 459.7 MB, free: 10.78 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004294/0.37, allocations: 1.968 MB / 461.7 MB, free: 9.777 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01321/0.3832, allocations: 7.076 MB / 468.8 MB, free: 4.625 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001763/0.385, allocations: 1.225 MB / 470 MB, free: 3.82 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001399/0.3864, allocations: 0.8084 MB / 470.8 MB, free: 3.434 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002299/0.3866, allocations: 118.9 kB / 470.9 MB, free: 3.324 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.299e-05/0.3866, allocations: 41.53 kB / 471 MB, free: 3.281 MB / 366.1 MB Notification: Performance of pre-optimization done (n=87): time 2.635e-06/0.3866, allocations: 11.88 kB / 471 MB, free: 3.27 MB / 366.1 MB Notification: Performance of matching and sorting (n=104): time 0.01336/0.4, allocations: 6.121 MB / 477.1 MB, free: 14.27 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.672e-05/0.4, allocations: 60.41 kB / 477.2 MB, free: 14.19 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001775/0.4018, allocations: 1.211 MB / 478.4 MB, free: 12.97 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.524e-05/0.4019, allocations: 45.7 kB / 478.4 MB, free: 12.92 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006712/0.4026, allocations: 0.8909 MB / 479.3 MB, free: 12.02 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003203/0.4029, allocations: 384.7 kB / 479.7 MB, free: 11.64 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003608/0.4032, allocations: 226.9 kB / 479.9 MB, free: 11.41 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001716/0.4034, allocations: 349.9 kB / 480.2 MB, free: 11.06 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001019/0.4044, allocations: 0.6155 MB / 480.9 MB, free: 10.45 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001344/0.4058, allocations: 0.9227 MB / 481.8 MB, free: 9.398 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002493/0.4083, allocations: 1.643 MB / 483.4 MB, free: 7.629 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.873e-06/0.4083, allocations: 0 / 483.4 MB, free: 7.629 MB / 382.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.004029/0.4123, allocations: 2.224 MB / 485.6 MB, free: 5.359 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.355e-05/0.4123, allocations: 8 kB / 485.7 MB, free: 5.352 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.896e-05/0.4123, allocations: 8 kB / 485.7 MB, free: 5.344 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001115/0.4135, allocations: 476.2 kB / 486.1 MB, free: 4.863 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009898/0.4144, allocations: 267.6 kB / 486.4 MB, free: 4.602 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007393/0.4218, allocations: 7.024 MB / 493.4 MB, free: 13.17 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001237/0.4231, allocations: 83.97 kB / 493.5 MB, free: 13.09 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001612/0.4232, allocations: 52 kB / 493.5 MB, free: 13.04 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (132): * Single equations (assignments): 127 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 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): 3 systems {(2,12,100.0%), (1,6,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001183/0.4244, allocations: 0.5949 MB / 494.1 MB, free: 12.43 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004765/0.4249, allocations: 151 kB / 494.3 MB, free: 12.29 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003853/0.4288, allocations: 2.016 MB / 496.3 MB, free: 10.22 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.388e-06/0.4288, allocations: 8 kB / 496.3 MB, free: 10.21 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.371e-05/0.4288, allocations: 4 kB / 496.3 MB, free: 10.21 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.026e-05/0.4288, allocations: 7.984 kB / 496.3 MB, free: 10.2 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008085/0.4369, allocations: 4.205 MB / 0.4888 GB, free: 5.863 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.093e-05/0.4369, allocations: 4 kB / 0.4888 GB, free: 5.859 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007979/0.4377, allocations: 175.8 kB / 0.489 GB, free: 5.688 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001359/0.439, allocations: 0.5377 MB / 0.4895 GB, free: 5.137 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.618e-05/0.4391, allocations: 35.97 kB / 0.4895 GB, free: 5.102 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008604/0.4477, allocations: 8.612 MB / 0.4979 GB, free: 11.94 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.131e-05/0.4478, allocations: 8.938 kB / 0.4979 GB, free: 11.93 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004963/0.4527, allocations: 2.938 MB / 0.5008 GB, free: 8.898 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009402/0.4537, allocations: 356 kB / 0.5012 GB, free: 8.531 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003934/0.454, allocations: 31.94 kB / 0.5012 GB, free: 8.5 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001045/0.4551, allocations: 71.91 kB / 0.5013 GB, free: 8.43 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002456/0.4553, allocations: 88.83 kB / 0.5013 GB, free: 8.344 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.883e-05/0.4554, allocations: 35.92 kB / 0.5014 GB, free: 8.309 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001609/0.457, allocations: 0.8423 MB / 0.5022 GB, free: 7.461 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.457, allocations: 0 / 0.5022 GB, free: 7.461 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001821/0.4589, allocations: 415.9 kB / 0.5026 GB, free: 7.055 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 7 (aimc.inertiaRotor.w,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],vfController.x,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 (88): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 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): 4 systems {(2,12,100.0%), (1,6,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.005486/0.4643, allocations: 3.56 MB / 0.5061 GB, free: 3.391 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003663/0.468, allocations: 2.106 MB / 0.5081 GB, free: 1.203 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.935e-06/0.468, allocations: 0 / 0.5081 GB, free: 1.203 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002341/0.4704, allocations: 1.441 MB / 0.5095 GB, free: 15.69 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002464/0.4728, allocations: 395.1 kB / 0.5099 GB, free: 15.32 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03013/0.503, allocations: 15.12 MB / 0.5247 GB, free: 15.6 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002182/0.5051, allocations: 1.638 MB / 0.5263 GB, free: 13.93 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001067/0.5062, allocations: 299.8 kB / 0.5266 GB, free: 13.63 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001083/0.5073, allocations: 0.6906 MB / 0.5272 GB, free: 12.94 MB / 446.1 MB Notification: Performance of SimCode: time 9.42e-07/0.5073, allocations: 0 / 0.5272 GB, free: 12.94 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09286/0.6001, allocations: 37.72 MB / 0.5641 GB, free: 7.629 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.93/12.53, allocations: 6.688 kB / 0.5641 GB, free: 7.629 MB / 478.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Inverter_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_Inverter.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.904115633107722] 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', 'vfController.x'] 12.633313331753016 12.645816357 12.291328679 Calling exit ...