Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Magnetic.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.001385/0.001385, allocations: 106.5 kB / 19.74 MB, free: 2.453 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.001537/0.001537, allocations: 215.5 kB / 22.92 MB, free: 5.195 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.271/1.271, allocations: 230.5 MB / 256.4 MB, free: 8.246 MB / 206.1 MB " [Timeout remaining time 179] 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.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_DOL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Magnetic_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.001782/0.001782, allocations: 71.83 kB / 376.1 MB, free: 4.039 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1963/0.1981, allocations: 53.3 MB / 429.4 MB, free: 7.445 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.02078/0.2188, allocations: 20.34 MB / 449.7 MB, free: 3.023 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0106/0.2294, allocations: 5.947 MB / 455.7 MB, free: 13.05 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002108/0.2315, allocations: 127.5 kB / 455.8 MB, free: 12.93 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002809/0.2344, allocations: 1.383 MB / 457.2 MB, free: 11.54 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004345/0.2387, allocations: 1.95 MB / 459.2 MB, free: 9.578 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002334/0.241, allocations: 1.231 MB / 460.4 MB, free: 8.344 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.006502/0.2475, allocations: 6.419 MB / 466.8 MB, free: 1.902 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003617/0.2512, allocations: 2.958 MB / 469.8 MB, free: 14.86 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003359/0.2545, allocations: 3.006 MB / 472.8 MB, free: 11.84 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004567/0.2591, allocations: 3.667 MB / 476.4 MB, free: 8.16 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001184/0.2603, allocations: 0.7969 MB / 477.2 MB, free: 7.363 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001904/0.2622, allocations: 1.105 MB / 478.3 MB, free: 6.258 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00175/0.2639, allocations: 2.002 MB / 480.3 MB, free: 4.25 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003384/0.2673, allocations: 3.45 MB / 483.8 MB, free: 0.7852 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01006/0.2774, allocations: 10.69 MB / 494.5 MB, free: 6.055 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.2774, allocations: 0 / 494.5 MB, free: 6.055 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.2774, allocations: 0 / 494.5 MB, free: 6.055 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001634/0.2775, allocations: 0 / 494.5 MB, free: 6.055 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1348 * Number of variables: 1348 Notification: Performance of Generate backend data structure: time 0.01413/0.2917, allocations: 6.895 MB / 0.4896 GB, free: 15.07 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/0.2917, allocations: 8.031 kB / 0.4896 GB, free: 15.06 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008799/0.2926, allocations: 0.7077 MB / 0.4903 GB, free: 14.34 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004733/0.2973, allocations: 1.114 MB / 0.4914 GB, free: 13.23 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005851/0.3032, allocations: 3.766 MB / 0.4951 GB, free: 9.387 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002823/0.3034, allocations: 390.4 kB / 0.4955 GB, free: 9.004 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007593/0.3042, allocations: 0.5077 MB / 0.496 GB, free: 8.496 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01077/0.315, allocations: 6.957 MB / 0.5028 GB, free: 1.461 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000101/0.3151, allocations: 19.88 kB / 0.5028 GB, free: 1.441 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004624/0.3155, allocations: 212 kB / 0.503 GB, free: 1.234 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002097/0.3157, allocations: 238.1 kB / 0.5032 GB, free: 1 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009713/0.3255, allocations: 5.931 MB / 0.509 GB, free: 11.05 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03202/0.3575, allocations: 21.23 MB / 0.5297 GB, free: 5.34 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1664/0.5238, allocations: 8.511 MB / 0.538 GB, free: 91.58 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003915/0.5278, allocations: 2.199 MB / 0.5402 GB, free: 91.48 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00802/0.5358, allocations: 6.369 MB / 0.5464 GB, free: 88.34 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.754e-05/0.5358, allocations: 62.12 kB / 0.5465 GB, free: 88.28 MB / 446.1 MB Notification: Performance of pre-optimization done (n=219): time 2.986e-06/0.5358, allocations: 0 / 0.5465 GB, free: 88.28 MB / 446.1 MB Notification: Performance of matching and sorting (n=238): time 0.01711/0.5529, allocations: 11.37 MB / 0.5576 GB, free: 83.71 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.858e-05/0.553, allocations: 75.53 kB / 0.5576 GB, free: 83.64 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002902/0.5559, allocations: 3.018 MB / 0.5606 GB, free: 82.37 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001209/0.556, allocations: 69.36 kB / 0.5606 GB, free: 82.31 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008612/0.5568, allocations: 2.384 MB / 0.563 GB, free: 80.53 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003664/0.5572, allocations: 0.8573 MB / 0.5638 GB, free: 79.85 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005866/0.5578, allocations: 0.5138 MB / 0.5643 GB, free: 79.33 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 2.985e-05/0.5578, allocations: 305.1 kB / 0.5646 GB, free: 79.03 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001502/0.5593, allocations: 1.356 MB / 0.5659 GB, free: 77.67 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001728/0.561, allocations: 2.131 MB / 0.568 GB, free: 75.21 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003354/0.5644, allocations: 3.701 MB / 0.5716 GB, free: 71.15 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.756e-06/0.5644, allocations: 8 kB / 0.5716 GB, free: 71.14 MB / 446.1 MB Notification: Performance of matching and sorting (n=367) (initialization): time 0.005496/0.5699, allocations: 4.666 MB / 0.5762 GB, free: 66.38 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.225e-05/0.5699, allocations: 19.12 kB / 0.5762 GB, free: 66.36 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.94e-05/0.5699, allocations: 24 kB / 0.5762 GB, free: 66.34 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001376/0.5713, allocations: 0.7617 MB / 0.577 GB, free: 65.55 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001909/0.5732, allocations: 0.6266 MB / 0.5776 GB, free: 64.92 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00821/0.5814, allocations: 14.53 MB / 0.5918 GB, free: 49.43 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002151/0.5836, allocations: 155.8 kB / 0.5919 GB, free: 49.28 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001623/0.5838, allocations: 123.9 kB / 0.592 GB, free: 49.16 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 106 * Number of states: 0 () * Number of discrete variables: 3 (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 (324): * Single equations (assignments): 314 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (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): 7 systems {(1,8,100.0%), (2,12,100.0%), (1,1,100.0%), (1,13,100.0%), (1,1,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002078/0.5858, allocations: 1.606 MB / 0.5936 GB, free: 47.54 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004508/0.5863, allocations: 341.8 kB / 0.5939 GB, free: 47.21 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005218/0.5915, allocations: 4.189 MB / 0.598 GB, free: 42.93 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.065e-05/0.5915, allocations: 20 kB / 0.598 GB, free: 42.91 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.188e-05/0.5915, allocations: 15.98 kB / 0.5981 GB, free: 42.9 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.53e-05/0.5915, allocations: 9.391 kB / 0.5981 GB, free: 42.89 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01008/0.6016, allocations: 9.108 MB / 0.607 GB, free: 33.66 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.364e-06/0.6016, allocations: 4 kB / 0.607 GB, free: 33.66 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001366/0.603, allocations: 380 kB / 0.6073 GB, free: 33.29 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001854/0.6048, allocations: 0.9318 MB / 0.6082 GB, free: 32.33 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001452/0.605, allocations: 63.97 kB / 0.6083 GB, free: 32.27 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01116/0.6161, allocations: 17.99 MB / 0.6259 GB, free: 13.19 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/0.6162, allocations: 7.938 kB / 0.6259 GB, free: 13.18 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006837/0.623, allocations: 6.062 MB / 0.6318 GB, free: 6.996 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00108/0.6241, allocations: 0.7135 MB / 0.6325 GB, free: 6.262 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004759/0.6245, allocations: 59.98 kB / 0.6326 GB, free: 6.203 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00148/0.626, allocations: 131.9 kB / 0.6327 GB, free: 6.074 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003211/0.6263, allocations: 189.6 kB / 0.6329 GB, free: 5.887 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001242/0.6265, allocations: 75.97 kB / 0.6329 GB, free: 5.812 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002364/0.6288, allocations: 2.066 MB / 0.6349 GB, free: 3.75 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.6288, allocations: 0 / 0.6349 GB, free: 3.75 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002612/0.6314, allocations: 0.9804 MB / 0.6359 GB, free: 2.77 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 14 (aimcM.inertiaRotor.w,aimcM.stator.zeroInductor.i0,aimcM.stator.core.Phi.re,aimcM.stator.core.Phi.im,aimcM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimcM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,aimcE.inertiaRotor.w,aimcE.i_0_s,aimcE.idq_sr[1],aimcE.idq_sr[2],aimcE.idq_rr[1],aimcE.idq_rr[2],quadraticLoadTorqueM.phi,quadraticLoadTorqueE.phi) * Number of discrete variables: 3 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (179): * Single equations (assignments): 170 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 8 * 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): 8 systems {(2,12,100.0%), (1,1,100.0%), (1,8,100.0%), (2,1,100.0%), (1,1,100.0%), (1,13,100.0%), (1,8,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.008512/0.64, allocations: 6.77 MB / 0.6425 GB, free: 11.86 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006613/0.6466, allocations: 4.45 MB / 0.6469 GB, free: 7.262 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.6466, allocations: 4.062 kB / 0.6469 GB, free: 7.258 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004437/0.651, allocations: 2.939 MB / 0.6497 GB, free: 4.188 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003954/0.655, allocations: 0.9211 MB / 0.6506 GB, free: 3.285 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05546/0.7104, allocations: 35.29 MB / 0.6851 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004056/0.7145, allocations: 3.448 MB / 0.6885 GB, free: 11.33 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.002238/0.7167, allocations: 0.7738 MB / 0.6892 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002525/0.7192, allocations: 1.968 MB / 0.6911 GB, free: 8.586 MB / 0.4981 GB Notification: Performance of SimCode: time 9.32e-07/0.7192, allocations: 0 / 0.6911 GB, free: 8.586 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.332/1.051, allocations: 88.2 MB / 0.7773 GB, free: 178.8 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.69/15.74, allocations: 10.89 kB / 0.7773 GB, free: 178.8 MB / 0.545 GB " [Timeout remaining time 644] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_DOL_fmu --startTime=0 --stopTime=1.5 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_DOL.fmu > Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 18.106873728997016]