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_Inverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] 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: translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=15000,variableFilter="",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=15000,variableFilter="",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001669/0.001669, allocations: 113.4 kB / 18.79 MB, free: 3.562 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001323/0.001323, allocations: 215.1 kB / 19.8 MB, free: 2.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.44/1.44, allocations: 230.4 MB / 251.1 MB, free: 8.512 MB / 206.1 MB 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.00196/0.00196, allocations: 71.83 kB / 369 MB, free: 6.023 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2361/0.238, allocations: 53.32 MB / 422.3 MB, free: 7.832 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.02591/0.2639, allocations: 21.64 MB / 443.9 MB, free: 2.098 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01398/0.2779, allocations: 6.812 MB / 450.8 MB, free: 11.27 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003295/0.2812, allocations: 151.6 kB / 450.9 MB, free: 11.12 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01662/0.2978, allocations: 6.899 MB / 457.8 MB, free: 4.203 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008406/0.3063, allocations: 2.798 MB / 460.6 MB, free: 1.395 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004478/0.3107, allocations: 1.589 MB / 462.2 MB, free: 15.81 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01325/0.324, allocations: 9.101 MB / 471.3 MB, free: 6.676 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02433/0.3483, allocations: 13.05 MB / 484.3 MB, free: 9.473 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007923/0.3562, allocations: 4.672 MB / 489 MB, free: 4.789 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009059/0.3653, allocations: 5.233 MB / 494.2 MB, free: 15.54 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003429/0.3687, allocations: 1.355 MB / 495.6 MB, free: 14.18 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004796/0.3735, allocations: 1.695 MB / 497.3 MB, free: 12.49 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004038/0.3776, allocations: 2.63 MB / 499.9 MB, free: 9.852 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009164/0.3867, allocations: 4.958 MB / 0.4931 GB, free: 4.875 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02558/0.4123, allocations: 18.25 MB / 0.5109 GB, free: 2.57 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.723e-06/0.4123, allocations: 3.938 kB / 0.5109 GB, free: 2.566 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.324e-06/0.4123, allocations: 0 / 0.5109 GB, free: 2.566 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004184/0.4127, allocations: 0 / 0.5109 GB, free: 2.566 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2107 * Number of variables: 2107 Notification: Performance of Generate backend data structure: time 0.03344/0.4462, allocations: 10.74 MB / 0.5214 GB, free: 7.719 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.593e-05/0.4462, allocations: 12.03 kB / 0.5214 GB, free: 7.707 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03543/0.4816, allocations: 5.899 MB / 0.5271 GB, free: 1.797 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01286/0.4945, allocations: 5.738 MB / 0.5327 GB, free: 12 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006606/0.4952, allocations: 0.5617 MB / 0.5333 GB, free: 11.43 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002982/0.4981, allocations: 0.7381 MB / 0.534 GB, free: 10.7 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4334/0.9315, allocations: 12.88 MB / 0.5466 GB, free: 99.34 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000268/0.9318, allocations: 10.55 kB / 0.5466 GB, free: 99.34 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001855/0.9336, allocations: 314.1 kB / 0.5469 GB, free: 99.29 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005261/0.9342, allocations: 499 kB / 0.5474 GB, free: 99.23 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02241/0.9566, allocations: 12.62 MB / 0.5597 GB, free: 94.43 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0546/1.011, allocations: 41.55 MB / 0.6003 GB, free: 59.92 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01362/1.025, allocations: 25.86 MB / 0.6255 GB, free: 31 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004011/1.029, allocations: 2.926 MB / 0.6284 GB, free: 28.07 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003206/1.029, allocations: 276.4 kB / 0.6286 GB, free: 27.79 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.596e-05/1.029, allocations: 85.66 kB / 0.6287 GB, free: 27.69 MB / 462.1 MB Notification: Performance of pre-optimization done (n=410): time 5.39e-06/1.029, allocations: 0 / 0.6287 GB, free: 27.69 MB / 462.1 MB Notification: Performance of matching and sorting (n=415): time 0.03207/1.061, allocations: 17.08 MB / 0.6454 GB, free: 10.85 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.308e-05/1.061, allocations: 98.61 kB / 0.6455 GB, free: 10.74 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003503/1.065, allocations: 2.844 MB / 0.6483 GB, free: 7.918 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004801/1.065, allocations: 89.7 kB / 0.6484 GB, free: 7.824 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001265/1.067, allocations: 3.141 MB / 0.6514 GB, free: 4.828 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001103/1.068, allocations: 1.47 MB / 0.6529 GB, free: 3.375 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001198/1.069, allocations: 0.9504 MB / 0.6538 GB, free: 2.414 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 4.387e-05/1.069, allocations: 309.1 kB / 0.6541 GB, free: 2.109 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003305/1.072, allocations: 2.515 MB / 0.6565 GB, free: 15.59 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005448/1.078, allocations: 4.11 MB / 0.6606 GB, free: 10.76 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01061/1.088, allocations: 7.203 MB / 0.6676 GB, free: 2.836 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.231e-05/1.088, allocations: 20 kB / 0.6676 GB, free: 2.816 MB / 478.1 MB Notification: Performance of matching and sorting (n=648) (initialization): time 0.01484/1.103, allocations: 8.026 MB / 0.6755 GB, free: 10.76 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.225e-05/1.103, allocations: 30.03 kB / 0.6755 GB, free: 10.73 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.804e-05/1.103, allocations: 48 kB / 0.6755 GB, free: 10.69 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003504/1.107, allocations: 1.239 MB / 0.6767 GB, free: 9.449 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004275/1.111, allocations: 1.135 MB / 0.6778 GB, free: 8.312 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0172/1.128, allocations: 11.25 MB / 0.6888 GB, free: 12.79 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003552/1.132, allocations: 263.8 kB / 0.6891 GB, free: 12.54 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007631/1.133, allocations: 232 kB / 0.6893 GB, free: 12.31 MB / 0.4982 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 228 * 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 (590): * Single equations (assignments): 588 * 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%), (14,44,41.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005466/1.138, allocations: 2.953 MB / 0.6922 GB, free: 9.344 MB / 0.4982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000979/1.139, allocations: 369.7 kB / 0.6925 GB, free: 8.98 MB / 0.4982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01237/1.151, allocations: 6.667 MB / 0.699 GB, free: 2.27 MB / 0.4982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.955e-05/1.151, allocations: 55.81 kB / 0.6991 GB, free: 2.215 MB / 0.4982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.542e-05/1.151, allocations: 8 kB / 0.6991 GB, free: 2.207 MB / 0.4982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.152e-05/1.151, allocations: 27.91 kB / 0.6991 GB, free: 2.18 MB / 0.4982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0267/1.178, allocations: 14.86 MB / 0.7136 GB, free: 3.266 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.7e-05/1.178, allocations: 4 kB / 0.7136 GB, free: 3.262 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003076/1.181, allocations: 0.7574 MB / 0.7144 GB, free: 2.504 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003335/1.185, allocations: 1.122 MB / 0.7155 GB, free: 1.371 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004145/1.185, allocations: 99.97 kB / 0.7156 GB, free: 1.273 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01546/1.2, allocations: 10.18 MB / 0.7255 GB, free: 6.828 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.076e-05/1.2, allocations: 12.09 kB / 0.7255 GB, free: 6.816 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01785/1.218, allocations: 10.01 MB / 0.7353 GB, free: 12.68 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002409/1.221, allocations: 0.9436 MB / 0.7362 GB, free: 11.71 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007621/1.222, allocations: 87.89 kB / 0.7363 GB, free: 11.63 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002152/1.224, allocations: 203.8 kB / 0.7365 GB, free: 11.43 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007062/1.224, allocations: 303.2 kB / 0.7368 GB, free: 11.13 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002763/1.225, allocations: 128 kB / 0.7369 GB, free: 11.01 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003207/1.228, allocations: 1.955 MB / 0.7388 GB, free: 9.047 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/1.228, allocations: 4 kB / 0.7388 GB, free: 9.043 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.004621/1.232, allocations: 1.391 MB / 0.7402 GB, free: 7.652 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 3 (aimc.inertiaRotor.w,voltageSource.plug_p.reference.gamma,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 (398): * Single equations (assignments): 396 * 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%), (14,44,41.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006339/1.233, allocations: 271 kB / 0.7404 GB, free: 7.383 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01199/1.245, allocations: 6.494 MB / 0.7468 GB, free: 0.8633 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 7.454e-06/1.245, allocations: 0 / 0.7468 GB, free: 0.8633 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.006771/1.252, allocations: 3.314 MB / 0.75 GB, free: 13.52 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004416/1.256, allocations: 0.8403 MB / 0.7508 GB, free: 12.71 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2533/1.51, allocations: 14.24 MB / 0.7647 GB, free: 196.2 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007417/1.517, allocations: 5.087 MB / 0.7697 GB, free: 195.3 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.004198/1.521, allocations: 1.613 MB / 0.7713 GB, free: 195.2 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001041/1.522, allocations: 331.1 kB / 0.7716 GB, free: 195.2 MB / 0.5607 GB Notification: Performance of SimCode: time 1.523e-06/1.522, allocations: 0 / 0.7716 GB, free: 195.2 MB / 0.5607 GB Notification: Performance of Templates: time 0.09458/1.617, allocations: 62.09 MB / 0.8322 GB, free: 150.7 MB / 0.5607 GB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.sim & ./Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe 2>&1) [Timeout 480]