Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.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.001299/0.001299, allocations: 122.7 kB / 18.5 MB, free: 4.578 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.001361/0.001361, allocations: 210.5 kB / 21.46 MB, free: 1.625 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.467/1.467, allocations: 230.4 MB / 254.7 MB, free: 15.02 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.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_DOL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_DOL",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.001932/0.001932, allocations: 71.81 kB / 373.6 MB, free: 10.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1135/0.1154, allocations: 53.31 MB / 426.9 MB, free: 4.816 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.2636/0.3791, allocations: 39.07 MB / 466 MB, free: 1.871 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02778/0.4068, allocations: 10.35 MB / 476.4 MB, free: 10.37 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01248/0.4193, allocations: 293.1 kB / 476.6 MB, free: 10.31 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02645/0.4458, allocations: 10.31 MB / 487 MB, free: 2.539 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01777/0.4636, allocations: 4.135 MB / 491.1 MB, free: 15.2 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008871/0.4724, allocations: 2.428 MB / 493.5 MB, free: 13.23 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.02856/0.501, allocations: 16.53 MB / 0.4981 GB, free: 13.86 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04642/0.5474, allocations: 23.68 MB / 0.5212 GB, free: 5.934 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01704/0.5644, allocations: 8.509 MB / 0.5295 GB, free: 13.4 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01923/0.5837, allocations: 9.597 MB / 0.5389 GB, free: 3.773 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.008963/0.5926, allocations: 2.418 MB / 0.5413 GB, free: 1.355 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01181/0.6044, allocations: 2.828 MB / 0.544 GB, free: 14.53 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.009971/0.6144, allocations: 4.824 MB / 0.5487 GB, free: 9.691 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02201/0.6364, allocations: 9.214 MB / 0.5577 GB, free: 452 kB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0507/0.6871, allocations: 32.25 MB / 0.5892 GB, free: 92 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.734e-06/0.6871, allocations: 0 / 0.5892 GB, free: 92 kB / 494.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.6871, allocations: 0 / 0.5892 GB, free: 92 kB / 494.1 MB Notification: Performance of Transformations before backend: time 0.001014/0.6882, allocations: 0 / 0.5892 GB, free: 92 kB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3921 * Number of variables: 3921 Notification: Performance of Generate backend data structure: time 0.06434/0.7525, allocations: 19.06 MB / 0.6078 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 7.224e-05/0.7526, allocations: 8.031 kB / 0.6079 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01098/0.7635, allocations: 2.286 MB / 0.6101 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04861/0.8122, allocations: 8.278 MB / 0.6182 GB, free: 2.277 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4597/1.272, allocations: 10.28 MB / 0.6282 GB, free: 138.4 MB / 0.5138 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001482/1.273, allocations: 1.063 MB / 0.6292 GB, free: 138 MB / 0.5138 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007107/1.28, allocations: 1.397 MB / 0.6306 GB, free: 137.5 MB / 0.5138 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06378/1.344, allocations: 22.8 MB / 0.6529 GB, free: 128.4 MB / 0.5138 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000784/1.345, allocations: 22.97 kB / 0.6529 GB, free: 128.4 MB / 0.5138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005664/1.351, allocations: 0.5764 MB / 0.6535 GB, free: 128 MB / 0.5138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008001/1.352, allocations: 0.7815 MB / 0.6542 GB, free: 127.9 MB / 0.5138 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03884/1.39, allocations: 21.07 MB / 0.6748 GB, free: 114.2 MB / 0.5138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1065/1.497, allocations: 72.87 MB / 0.746 GB, free: 40.73 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02811/1.525, allocations: 42.12 MB / 0.7871 GB, free: 9.633 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009393/1.534, allocations: 4.741 MB / 0.7917 GB, free: 4.879 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03059/1.565, allocations: 13.04 MB / 0.8045 GB, free: 8.016 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001533/1.565, allocations: 90.36 kB / 0.8045 GB, free: 7.922 MB / 0.545 GB Notification: Performance of pre-optimization done (n=498): time 1.576e-05/1.565, allocations: 3.984 kB / 0.8045 GB, free: 7.918 MB / 0.545 GB Notification: Performance of matching and sorting (n=506): time 0.07442/1.64, allocations: 26.61 MB / 0.8305 GB, free: 13.11 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001357/1.64, allocations: 137.3 kB / 0.8307 GB, free: 12.96 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01353/1.653, allocations: 5.797 MB / 0.8363 GB, free: 7.184 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.001109/1.654, allocations: 109.7 kB / 0.8364 GB, free: 7.07 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.006133/1.66, allocations: 6.371 MB / 0.8426 GB, free: 0.6836 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.2829/1.943, allocations: 1.812 MB / 0.8444 GB, free: 186.5 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002743/1.946, allocations: 1.483 MB / 0.8459 GB, free: 186.4 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 4.923e-05/1.946, allocations: 303.9 kB / 0.8462 GB, free: 186.1 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005781/1.952, allocations: 3.633 MB / 0.8497 GB, free: 186.1 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007926/1.96, allocations: 6.485 MB / 0.856 GB, free: 181.4 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01508/1.975, allocations: 10.79 MB / 0.8666 GB, free: 174.1 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001957/1.975, allocations: 26.66 kB / 0.8666 GB, free: 174.1 MB / 0.5763 GB Notification: Performance of matching and sorting (n=962) (initialization): time 0.02391/1.999, allocations: 12.1 MB / 0.8784 GB, free: 169.5 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001146/1.999, allocations: 44.69 kB / 0.8785 GB, free: 169.5 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002211/1.999, allocations: 97.12 kB / 0.8785 GB, free: 169.5 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003938/2.003, allocations: 1.585 MB / 0.8801 GB, free: 169.1 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005977/2.009, allocations: 1.667 MB / 0.8817 GB, free: 168.9 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02177/2.031, allocations: 19.65 MB / 0.9009 GB, free: 155.9 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006887/2.038, allocations: 421.8 kB / 0.9013 GB, free: 155.8 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001698/2.04, allocations: 378.6 kB / 0.9017 GB, free: 155.8 MB / 0.5763 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 423 * Number of states: 0 () * Number of discrete variables: 6 (booleanStepQS[3].y,booleanStepQS[2].y,booleanStepQS[1].y,idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (865): * Single equations (assignments): 858 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 5 * 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): 5 systems {(1,1,100.0%), (12,64,52.1%), (1,5,100.0%), (1,1,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.01029/2.05, allocations: 5.191 MB / 0.9067 GB, free: 153.3 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002168/2.052, allocations: 0.6281 MB / 0.9074 GB, free: 153.1 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01745/2.07, allocations: 9.314 MB / 0.9165 GB, free: 148.9 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008541/2.078, allocations: 5.854 MB / 0.9222 GB, free: 143.9 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.258e-05/2.078, allocations: 22.44 kB / 0.9222 GB, free: 143.9 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.189e-05/2.078, allocations: 25.5 kB / 0.9222 GB, free: 143.9 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03851/2.117, allocations: 21.02 MB / 0.9427 GB, free: 125 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-05/2.117, allocations: 8 kB / 0.9427 GB, free: 125 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003321/2.12, allocations: 0.8664 MB / 0.9436 GB, free: 124.1 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003947/2.124, allocations: 1.635 MB / 0.9452 GB, free: 122.4 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004398/2.124, allocations: 138.2 kB / 0.9453 GB, free: 122.3 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01998/2.144, allocations: 23.22 MB / 0.968 GB, free: 98.14 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.498e-06/2.144, allocations: 8 kB / 0.968 GB, free: 98.13 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01814/2.163, allocations: 13.72 MB / 0.9814 GB, free: 84.05 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004154/2.167, allocations: 1.403 MB / 0.9828 GB, free: 82.63 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001926/2.169, allocations: 103.9 kB / 0.9829 GB, free: 82.53 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004031/2.173, allocations: 283.7 kB / 0.9831 GB, free: 82.25 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001038/2.174, allocations: 412.2 kB / 0.9835 GB, free: 81.85 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003612/2.174, allocations: 164 kB / 0.9837 GB, free: 81.69 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.005997/2.18, allocations: 3.9 MB / 0.9875 GB, free: 77.82 MB / 0.5763 GB Notification: Performance of sort global known variables: time 1.5e-07/2.18, allocations: 0 / 0.9875 GB, free: 77.82 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.00957/2.19, allocations: 2.342 MB / 0.9898 GB, free: 75.48 MB / 0.5763 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 10 (imc.inertiaRotor.w,imc.stator.zeroInductor.i0,imc.stator.core.Phi.re,imc.stator.core.Phi.im,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,quadraticLoadTorque.phi,loadInertiaQS.w,quadraticLoadTorqueQS.phi,imcQS.rotorCage.port_p.reference.gamma) * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],booleanStepQS[1].y,booleanStepQS[2].y,booleanStepQS[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (438): * Single equations (assignments): 430 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 7 systems {(1,1,100.0%), (1,5,100.0%), (1,8,100.0%), (1,13,100.0%), (2,12,100.0%), (1,1,100.0%), (12,64,52.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01898/2.209, allocations: 14.51 MB / 1.004 GB, free: 60.62 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.01374/2.222, allocations: 9.528 MB / 1.013 GB, free: 51 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 1.089e-05/2.222, allocations: 4.938 kB / 1.013 GB, free: 50.99 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.007431/2.23, allocations: 5.149 MB / 1.018 GB, free: 45.77 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007741/2.238, allocations: 1.651 MB / 1.02 GB, free: 44.16 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3734/2.611, allocations: 80.14 MB / 1.098 GB, free: 164.4 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01035/2.621, allocations: 8.858 MB / 1.107 GB, free: 161.3 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.006508/2.628, allocations: 2.534 MB / 1.109 GB, free: 161.1 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006809/2.635, allocations: 5.208 MB / 1.114 GB, free: 156.4 MB / 0.5763 GB Notification: Performance of SimCode: time 1.192e-06/2.635, allocations: 0 / 1.114 GB, free: 156.4 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5234/3.158, allocations: 189.5 MB / 1.299 GB, free: 158 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.28/27.44, allocations: 4.594 kB / 1.299 GB, free: 158 MB / 0.5919 GB " [Timeout remaining time 632] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_DOL_fmu --startTime=0 --stopTime=1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_DOL.fmu > Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 30.410020106937736] Failed to read output from testmodel.py, exit status != 0: ['time', 'Itr', 'Iqs'] 27.62699768692255 27.6375633 26.947827119 Calling exit ...