Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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=30000,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_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,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_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00128/0.00128, allocations: 118.8 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001509/0.001509, allocations: 202 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.375/1.375, allocations: 227.4 MB / 246.9 MB, free: 10.42 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001025/0.001025, allocations: 59.91 kB / 358.7 MB, free: 12.88 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2709/0.2719, allocations: 50.55 MB / 409.3 MB, free: 1.691 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.01541/0.2874, allocations: 13.44 MB / 422.7 MB, free: 4.191 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.009156/0.2966, allocations: 4.502 MB / 427.2 MB, free: 15.68 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002446/0.299, allocations: 79.69 kB / 427.3 MB, free: 15.6 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003109/0.3022, allocations: 1.037 MB / 428.3 MB, free: 14.55 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004082/0.3063, allocations: 1.289 MB / 429.6 MB, free: 13.26 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002486/0.3088, allocations: 0.8878 MB / 430.5 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004955/0.3138, allocations: 3.93 MB / 434.4 MB, free: 8.434 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004546/0.3184, allocations: 3.224 MB / 437.6 MB, free: 5.133 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003017/0.3214, allocations: 1.858 MB / 439.5 MB, free: 3.27 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003517/0.3249, allocations: 2.188 MB / 441.7 MB, free: 1.074 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001139/0.3261, allocations: 0.5 MB / 442.2 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001926/0.328, allocations: 0.7224 MB / 442.9 MB, free: 15.85 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009443/0.329, allocations: 1.099 MB / 444 MB, free: 14.75 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002283/0.3313, allocations: 2.089 MB / 446.1 MB, free: 12.65 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00626/0.3375, allocations: 6.621 MB / 452.7 MB, free: 6.012 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.592e-06/0.3376, allocations: 3.984 kB / 452.7 MB, free: 6.008 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.625e-06/0.3376, allocations: 0 / 452.7 MB, free: 6.008 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001407/0.3377, allocations: 0 / 452.7 MB, free: 6.008 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: 822 * Number of variables: 822 Notification: Performance of Generate backend data structure: time 0.0103/0.348, allocations: 4.343 MB / 457.1 MB, free: 1.594 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.866e-05/0.3481, allocations: 8.031 kB / 457.1 MB, free: 1.586 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004042/0.3521, allocations: 0.8046 MB / 457.9 MB, free: 0.7773 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004229/0.3564, allocations: 2.403 MB / 460.3 MB, free: 14.32 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001801/0.3566, allocations: 238.2 kB / 460.5 MB, free: 14.08 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005259/0.3571, allocations: 319.8 kB / 460.8 MB, free: 13.77 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007031/0.3642, allocations: 4.219 MB / 465.1 MB, free: 9.5 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.322e-05/0.3643, allocations: 7.984 kB / 465.1 MB, free: 9.492 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002913/0.3646, allocations: 128 kB / 465.2 MB, free: 9.367 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001438/0.3647, allocations: 150.2 kB / 465.3 MB, free: 9.219 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00612/0.3708, allocations: 3.609 MB / 468.9 MB, free: 5.602 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01958/0.3904, allocations: 13.09 MB / 482 MB, free: 8.164 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007278/0.3977, allocations: 7.173 MB / 489.2 MB, free: 40 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002791/0.4006, allocations: 1.632 MB / 490.8 MB, free: 14.41 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006593/0.4072, allocations: 4.198 MB / 495 MB, free: 10.06 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.061e-05/0.4072, allocations: 43.56 kB / 495.1 MB, free: 10 MB / 414.1 MB Notification: Performance of pre-optimization done (n=120): time 3.066e-06/0.4072, allocations: 0 / 495.1 MB, free: 10 MB / 414.1 MB Notification: Performance of matching and sorting (n=123): time 0.0108/0.418, allocations: 5.552 MB / 0.4889 GB, free: 4.254 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.229e-05/0.4181, allocations: 68.39 kB / 0.489 GB, free: 4.176 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002442/0.4206, allocations: 1.718 MB / 0.4906 GB, free: 2.453 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 8.161e-05/0.4207, allocations: 45.7 kB / 0.4907 GB, free: 2.402 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000929/0.4216, allocations: 1.418 MB / 0.4921 GB, free: 0.9648 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003329/0.4219, allocations: 433.7 kB / 0.4925 GB, free: 0.5352 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004229/0.4224, allocations: 287.3 kB / 0.4927 GB, free: 256 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001232/0.4225, allocations: 309.1 kB / 0.493 GB, free: 15.95 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001075/0.4236, allocations: 0.6481 MB / 0.4937 GB, free: 15.3 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001372/0.425, allocations: 1.129 MB / 0.4948 GB, free: 13.97 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002518/0.4275, allocations: 1.902 MB / 0.4966 GB, free: 11.87 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.668e-06/0.4275, allocations: 4 kB / 0.4966 GB, free: 11.86 MB / 430.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.003831/0.4313, allocations: 2.405 MB / 0.499 GB, free: 9.418 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.452e-05/0.4314, allocations: 12.28 kB / 0.499 GB, free: 9.406 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.905e-05/0.4314, allocations: 16 kB / 0.499 GB, free: 9.391 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007924/0.4322, allocations: 315.2 kB / 0.4993 GB, free: 9.07 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001242/0.4335, allocations: 343.5 kB / 0.4996 GB, free: 8.734 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00587/0.4393, allocations: 6.622 MB / 0.5061 GB, free: 1.691 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001431/0.4408, allocations: 83.8 kB / 0.5062 GB, free: 1.609 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001113/0.4409, allocations: 64 kB / 0.5063 GB, free: 1.547 MB / 430.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.00175/0.4427, allocations: 1.001 MB / 0.5072 GB, free: 0.5352 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002883/0.443, allocations: 185.9 kB / 0.5074 GB, free: 360 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003705/0.4467, allocations: 2.213 MB / 0.5096 GB, free: 14.07 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.234e-05/0.4467, allocations: 15.94 kB / 0.5096 GB, free: 14.05 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.967e-06/0.4467, allocations: 4 kB / 0.5096 GB, free: 14.05 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.361e-05/0.4467, allocations: 7.969 kB / 0.5096 GB, free: 14.04 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007476/0.4542, allocations: 4.94 MB / 0.5144 GB, free: 8.969 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.087e-06/0.4543, allocations: 8.188 kB / 0.5144 GB, free: 8.961 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007234/0.455, allocations: 167.7 kB / 0.5146 GB, free: 8.797 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001258/0.4563, allocations: 496 kB / 0.5151 GB, free: 8.297 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.931e-05/0.4564, allocations: 35.98 kB / 0.5151 GB, free: 8.262 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01032/0.4667, allocations: 11.47 MB / 0.5263 GB, free: 12.09 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.172e-06/0.4667, allocations: 8.062 kB / 0.5263 GB, free: 12.09 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004868/0.4716, allocations: 3.104 MB / 0.5293 GB, free: 8.887 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008077/0.4724, allocations: 418.6 kB / 0.5297 GB, free: 8.457 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002178/0.4727, allocations: 28 kB / 0.5298 GB, free: 8.43 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008189/0.4735, allocations: 67.94 kB / 0.5298 GB, free: 8.363 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002366/0.4737, allocations: 92.81 kB / 0.5299 GB, free: 8.273 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.053e-05/0.4738, allocations: 39.98 kB / 0.53 GB, free: 8.234 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001613/0.4754, allocations: 1.182 MB / 0.5311 GB, free: 7.059 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4755, allocations: 0 / 0.5311 GB, free: 7.059 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001816/0.4773, allocations: 0.5469 MB / 0.5316 GB, free: 6.512 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.000308/0.4776, allocations: 167.4 kB / 0.5318 GB, free: 6.34 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003179/0.4808, allocations: 2.128 MB / 0.5339 GB, free: 4.156 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.4808, allocations: 0 / 0.5339 GB, free: 4.156 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00223/0.483, allocations: 1.55 MB / 0.5354 GB, free: 2.539 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001989/0.485, allocations: 0.5114 MB / 0.5359 GB, free: 2.035 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2228/0.7079, allocations: 5.496 MB / 0.5413 GB, free: 122.7 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001706/0.7096, allocations: 2.293 MB / 0.5435 GB, free: 121.9 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.00116/0.7108, allocations: 384.7 kB / 0.5439 GB, free: 121.9 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002704/0.7111, allocations: 121 kB / 0.544 GB, free: 121.9 MB / 462.1 MB Notification: Performance of SimCode: time 8.21e-07/0.7111, allocations: 0 / 0.544 GB, free: 121.9 MB / 462.1 MB Notification: Performance of Templates: time 0.04042/0.7515, allocations: 28.56 MB / 0.5719 GB, free: 100.6 MB / 462.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.makefile (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.sim & ./Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Inverter/IMC_Inverter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches