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_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.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|loadInertia.phi|loadInertia.w|vfController.x",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|loadInertia.phi|loadInertia.w|vfController.x",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Magnetic.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.001828/0.001828, allocations: 109.4 kB / 18.78 MB, free: 3.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002083/0.002083, allocations: 207.2 kB / 19.79 MB, free: 2.586 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.481/1.481, allocations: 230.4 MB / 251.1 MB, free: 8.473 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.001991/0.001991, allocations: 75.81 kB / 369 MB, free: 6.023 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2372/0.2392, allocations: 53.31 MB / 422.3 MB, free: 7.832 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.01667/0.2559, allocations: 13.51 MB / 435.8 MB, free: 10.26 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008918/0.2648, allocations: 4.521 MB / 440.3 MB, free: 5.727 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002081/0.2669, allocations: 79.75 kB / 440.4 MB, free: 5.648 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003125/0.27, allocations: 1.036 MB / 441.4 MB, free: 4.609 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004099/0.2741, allocations: 1.29 MB / 442.7 MB, free: 3.312 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002512/0.2766, allocations: 0.8996 MB / 443.6 MB, free: 2.414 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005648/0.2823, allocations: 3.922 MB / 447.5 MB, free: 14.48 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003796/0.2861, allocations: 2.245 MB / 449.8 MB, free: 12.16 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002968/0.289, allocations: 1.869 MB / 451.7 MB, free: 10.29 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003845/0.2929, allocations: 2.215 MB / 453.9 MB, free: 8.062 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001137/0.294, allocations: 0.5 MB / 454.4 MB, free: 7.562 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001844/0.2959, allocations: 0.7185 MB / 455.1 MB, free: 6.844 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001103/0.297, allocations: 1.11 MB / 456.2 MB, free: 5.73 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002515/0.2995, allocations: 2.077 MB / 458.3 MB, free: 3.645 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007807/0.3073, allocations: 6.657 MB / 464.9 MB, free: 12.96 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.3073, allocations: 0 / 464.9 MB, free: 12.96 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.3073, allocations: 0 / 464.9 MB, free: 12.96 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000135/0.3074, allocations: 4 kB / 464.9 MB, free: 12.96 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 822 * Number of variables: 822 Notification: Performance of Generate backend data structure: time 0.01126/0.3187, allocations: 4.421 MB / 469.4 MB, free: 8.465 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.336e-05/0.3187, allocations: 12.02 kB / 469.4 MB, free: 8.453 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004197/0.3229, allocations: 0.7988 MB / 470.2 MB, free: 7.652 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004615/0.3275, allocations: 2.416 MB / 472.6 MB, free: 5.18 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000208/0.3278, allocations: 246.1 kB / 472.8 MB, free: 4.938 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005391/0.3283, allocations: 312 kB / 473.1 MB, free: 4.633 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007908/0.3362, allocations: 4.231 MB / 477.4 MB, free: 360 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.102e-05/0.3363, allocations: 8 kB / 477.4 MB, free: 352 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000311/0.3366, allocations: 124 kB / 477.5 MB, free: 228 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001592/0.3367, allocations: 150.3 kB / 477.6 MB, free: 76 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007411/0.3442, allocations: 3.62 MB / 481.3 MB, free: 12.45 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02394/0.3681, allocations: 13.14 MB / 494.4 MB, free: 14.96 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007681/0.3758, allocations: 7.051 MB / 0.4897 GB, free: 6.957 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003046/0.3788, allocations: 1.523 MB / 0.4912 GB, free: 5.438 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007123/0.3859, allocations: 4.206 MB / 0.4953 GB, free: 1.078 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.743e-05/0.386, allocations: 47.56 kB / 0.4953 GB, free: 1.02 MB / 414.1 MB Notification: Performance of pre-optimization done (n=120): time 2.494e-06/0.386, allocations: 0 / 0.4953 GB, free: 1.02 MB / 414.1 MB Notification: Performance of matching and sorting (n=123): time 0.01154/0.3975, allocations: 5.589 MB / 0.5008 GB, free: 11.24 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.849e-05/0.3976, allocations: 72.41 kB / 0.5009 GB, free: 11.16 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002634/0.4002, allocations: 1.726 MB / 0.5025 GB, free: 9.426 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001195/0.4003, allocations: 45.7 kB / 0.5026 GB, free: 9.375 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001178/0.4015, allocations: 1.45 MB / 0.504 GB, free: 7.91 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004162/0.4019, allocations: 456.1 kB / 0.5044 GB, free: 7.461 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000457/0.4024, allocations: 287.5 kB / 0.5047 GB, free: 7.176 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001395/0.4025, allocations: 301.1 kB / 0.505 GB, free: 6.879 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00119/0.4037, allocations: 0.6598 MB / 0.5056 GB, free: 6.219 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001583/0.4053, allocations: 1.125 MB / 0.5067 GB, free: 4.895 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002863/0.4082, allocations: 1.898 MB / 0.5086 GB, free: 2.797 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.527e-05/0.4082, allocations: 4 kB / 0.5086 GB, free: 2.793 MB / 430.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.004292/0.4125, allocations: 2.41 MB / 0.511 GB, free: 352 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.467e-05/0.4125, allocations: 8 kB / 0.511 GB, free: 344 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.005e-05/0.4125, allocations: 16 kB / 0.511 GB, free: 328 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008465/0.4134, allocations: 319.4 kB / 0.5113 GB, free: 15.99 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001327/0.4147, allocations: 347.4 kB / 0.5116 GB, free: 15.66 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006989/0.4217, allocations: 6.627 MB / 0.5181 GB, free: 8.609 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001311/0.423, allocations: 84 kB / 0.5182 GB, free: 8.527 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001193/0.4231, allocations: 67.98 kB / 0.5182 GB, free: 8.461 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * 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 (177): * Single equations (assignments): 173 * 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 {(1,1,100.0%), (1,8,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001744/0.4249, allocations: 0.997 MB / 0.5192 GB, free: 7.453 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003339/0.4252, allocations: 194.8 kB / 0.5194 GB, free: 7.262 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004077/0.4293, allocations: 2.194 MB / 0.5215 GB, free: 5 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.189e-05/0.4293, allocations: 12 kB / 0.5215 GB, free: 4.988 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.298e-06/0.4293, allocations: 4 kB / 0.5215 GB, free: 4.984 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.436e-05/0.4293, allocations: 7.969 kB / 0.5216 GB, free: 4.977 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00822/0.4375, allocations: 4.94 MB / 0.5264 GB, free: 15.9 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.143e-06/0.4375, allocations: 8.188 kB / 0.5264 GB, free: 15.89 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007687/0.4383, allocations: 171.7 kB / 0.5265 GB, free: 15.73 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001303/0.4396, allocations: 495.9 kB / 0.527 GB, free: 15.23 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.661e-05/0.4397, allocations: 35.98 kB / 0.5271 GB, free: 15.19 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0123/0.452, allocations: 11.47 MB / 0.5383 GB, free: 3.02 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.803e-06/0.452, allocations: 8.062 kB / 0.5383 GB, free: 3.012 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2141/0.6661, allocations: 3.088 MB / 0.5413 GB, free: 113.2 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001208/0.6673, allocations: 420.7 kB / 0.5417 GB, free: 113.1 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002871/0.6676, allocations: 33.03 kB / 0.5417 GB, free: 113.1 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000948/0.6685, allocations: 63.03 kB / 0.5418 GB, free: 113.1 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003201/0.6688, allocations: 101.7 kB / 0.5419 GB, free: 113.1 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001031/0.6689, allocations: 37.72 kB / 0.5419 GB, free: 113.1 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002026/0.671, allocations: 1.185 MB / 0.5431 GB, free: 112.9 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.671, allocations: 2.719 kB / 0.5431 GB, free: 112.9 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002311/0.6733, allocations: 0.5422 MB / 0.5436 GB, free: 112.9 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 7 (aimc.inertiaRotor.w,aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,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 (83): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,8,100.0%), (1,1,100.0%), (1,8,100.0%), (1,13,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.0003503/0.6736, allocations: 161.4 kB / 0.5438 GB, free: 112.9 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003345/0.677, allocations: 2.064 MB / 0.5458 GB, free: 112.3 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.677, allocations: 0 / 0.5458 GB, free: 112.3 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002061/0.679, allocations: 1.506 MB / 0.5472 GB, free: 111.4 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002193/0.6812, allocations: 0.5205 MB / 0.5477 GB, free: 111.2 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008275/0.6895, allocations: 5.589 MB / 0.5532 GB, free: 108.5 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001528/0.691, allocations: 2.297 MB / 0.5554 GB, free: 107.5 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001143/0.6922, allocations: 384 kB / 0.5558 GB, free: 107.4 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002845/0.6925, allocations: 122.7 kB / 0.5559 GB, free: 107.4 MB / 462.1 MB Notification: Performance of SimCode: time 1.312e-06/0.6925, allocations: 1.75 kB / 0.5559 GB, free: 107.4 MB / 462.1 MB Notification: Performance of Templates: time 0.04241/0.7349, allocations: 29.2 MB / 0.5845 GB, free: 82.38 MB / 462.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.sim & ./Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Inverter/IMC_Inverter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] Reference file matches