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.001093/0.001094, allocations: 112.4 kB / 18.45 MB, free: 4.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001053/0.001053, allocations: 208 kB / 19.4 MB, free: 3.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.557/1.557, allocations: 227.4 MB / 247.6 MB, free: 10.42 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001328/0.001328, allocations: 55.91 kB / 359.4 MB, free: 12.86 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2666/0.2679, allocations: 50.55 MB / 410 MB, free: 1.543 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.01416/0.2821, allocations: 13.44 MB / 423.4 MB, free: 4.035 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.008606/0.2908, allocations: 4.491 MB / 427.9 MB, free: 15.53 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002378/0.2932, allocations: 83.69 kB / 428 MB, free: 15.45 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003267/0.2965, allocations: 1.005 MB / 429 MB, free: 14.44 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004299/0.3009, allocations: 1.239 MB / 430.2 MB, free: 13.2 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002726/0.3036, allocations: 0.8878 MB / 431.1 MB, free: 12.31 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005259/0.3089, allocations: 3.926 MB / 435 MB, free: 8.371 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00454/0.3135, allocations: 3.228 MB / 438.3 MB, free: 5.066 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002883/0.3164, allocations: 1.858 MB / 440.1 MB, free: 3.203 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00362/0.32, allocations: 2.192 MB / 442.3 MB, free: 1.004 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001254/0.3213, allocations: 0.5 MB / 442.8 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00201/0.3233, allocations: 0.7225 MB / 443.5 MB, free: 15.78 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00107/0.3244, allocations: 1.099 MB / 444.6 MB, free: 14.68 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002794/0.3272, allocations: 2.077 MB / 446.7 MB, free: 12.59 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006832/0.3341, allocations: 6.633 MB / 453.3 MB, free: 5.941 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.3341, allocations: 0 / 453.3 MB, free: 5.941 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.3341, allocations: 4 kB / 453.3 MB, free: 5.938 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001515/0.3343, allocations: 0 / 453.3 MB, free: 5.938 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.01205/0.3463, allocations: 4.335 MB / 457.7 MB, free: 1.531 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.325e-05/0.3464, allocations: 8.031 kB / 457.7 MB, free: 1.523 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004495/0.3509, allocations: 0.8163 MB / 458.5 MB, free: 0.7031 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004879/0.3558, allocations: 2.392 MB / 460.9 MB, free: 14.25 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002188/0.3561, allocations: 242.2 kB / 461.1 MB, free: 14.02 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008726/0.3569, allocations: 311.9 kB / 461.4 MB, free: 13.71 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008048/0.365, allocations: 4.223 MB / 465.7 MB, free: 9.438 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.295e-05/0.3651, allocations: 0 / 465.7 MB, free: 9.438 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003024/0.3654, allocations: 132 kB / 465.8 MB, free: 9.309 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001401/0.3656, allocations: 150.3 kB / 465.9 MB, free: 9.16 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006667/0.3722, allocations: 3.605 MB / 469.5 MB, free: 5.547 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02183/0.3941, allocations: 13.1 MB / 482.6 MB, free: 8.098 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00661/0.4008, allocations: 7.175 MB / 489.8 MB, free: 15.97 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002924/0.4037, allocations: 1.621 MB / 491.4 MB, free: 14.35 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00672/0.4105, allocations: 4.194 MB / 495.6 MB, free: 10 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.568e-05/0.4106, allocations: 43.56 kB / 495.7 MB, free: 9.949 MB / 414.1 MB Notification: Performance of pre-optimization done (n=120): time 3.326e-06/0.4106, allocations: 0 / 495.7 MB, free: 9.949 MB / 414.1 MB Notification: Performance of matching and sorting (n=123): time 0.01121/0.4218, allocations: 5.56 MB / 0.4895 GB, free: 4.191 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.783e-05/0.4219, allocations: 64.41 kB / 0.4895 GB, free: 4.117 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002531/0.4244, allocations: 1.722 MB / 0.4912 GB, free: 2.391 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001624/0.4246, allocations: 45.7 kB / 0.4913 GB, free: 2.34 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001042/0.4256, allocations: 1.411 MB / 0.4926 GB, free: 0.9102 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003866/0.426, allocations: 441.8 kB / 0.4931 GB, free: 484 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004266/0.4265, allocations: 287.3 kB / 0.4933 GB, free: 192 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001204/0.4266, allocations: 305.1 kB / 0.4936 GB, free: 15.89 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001106/0.4277, allocations: 0.652 MB / 0.4943 GB, free: 15.23 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001371/0.4291, allocations: 1.125 MB / 0.4954 GB, free: 13.91 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002622/0.4317, allocations: 1.898 MB / 0.4972 GB, free: 11.81 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.718e-06/0.4318, allocations: 8 kB / 0.4972 GB, free: 11.8 MB / 430.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.00413/0.4359, allocations: 2.405 MB / 0.4996 GB, free: 9.359 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.941e-05/0.436, allocations: 12 kB / 0.4996 GB, free: 9.348 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.306e-05/0.436, allocations: 12 kB / 0.4996 GB, free: 9.336 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008276/0.4368, allocations: 319.4 kB / 0.4999 GB, free: 9.012 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001354/0.4382, allocations: 347.4 kB / 0.5002 GB, free: 8.672 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006257/0.4445, allocations: 6.622 MB / 0.5067 GB, free: 1.629 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001473/0.446, allocations: 79.81 kB / 0.5068 GB, free: 1.551 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001589/0.4461, allocations: 67.98 kB / 0.5068 GB, free: 1.484 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.001689/0.4478, allocations: 1.009 MB / 0.5078 GB, free: 476 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003918/0.4482, allocations: 181.8 kB / 0.508 GB, free: 292 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003794/0.452, allocations: 2.217 MB / 0.5102 GB, free: 14 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.255e-05/0.4521, allocations: 12 kB / 0.5102 GB, free: 13.99 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.275e-05/0.4521, allocations: 8 kB / 0.5102 GB, free: 13.98 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.173e-05/0.4521, allocations: 7.984 kB / 0.5102 GB, free: 13.97 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007644/0.4598, allocations: 4.936 MB / 0.515 GB, free: 8.902 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.523e-06/0.4598, allocations: 0 / 0.515 GB, free: 8.902 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007309/0.4605, allocations: 167.9 kB / 0.5152 GB, free: 8.738 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001224/0.4618, allocations: 496 kB / 0.5156 GB, free: 8.238 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.387e-05/0.4619, allocations: 35.98 kB / 0.5157 GB, free: 8.203 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01036/0.4722, allocations: 11.48 MB / 0.5269 GB, free: 12.03 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/0.4723, allocations: 4.031 kB / 0.5269 GB, free: 12.02 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00494/0.4772, allocations: 3.096 MB / 0.5299 GB, free: 8.832 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009996/0.4783, allocations: 410.7 kB / 0.5303 GB, free: 8.41 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002545/0.4785, allocations: 35.98 kB / 0.5303 GB, free: 8.375 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008693/0.4794, allocations: 64.33 kB / 0.5304 GB, free: 8.312 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002673/0.4797, allocations: 104.7 kB / 0.5305 GB, free: 8.211 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.471e-05/0.4798, allocations: 35.98 kB / 0.5305 GB, free: 8.176 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0017/0.4815, allocations: 1.182 MB / 0.5317 GB, free: 7 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4815, allocations: 7.938 kB / 0.5317 GB, free: 6.992 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002076/0.4836, allocations: 0.543 MB / 0.5322 GB, free: 6.449 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.0003431/0.4839, allocations: 167.1 kB / 0.5324 GB, free: 6.277 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003409/0.4874, allocations: 2.131 MB / 0.5345 GB, free: 4.09 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.019e-06/0.4874, allocations: 0 / 0.5345 GB, free: 4.09 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00241/0.4898, allocations: 1.543 MB / 0.536 GB, free: 2.48 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002416/0.4922, allocations: 0.5156 MB / 0.5365 GB, free: 1.973 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2253/0.7175, allocations: 5.477 MB / 0.5418 GB, free: 122.5 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001669/0.7192, allocations: 2.233 MB / 0.544 GB, free: 121.8 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004998/0.7198, allocations: 132.1 kB / 0.5441 GB, free: 121.8 MB / 462.1 MB Notification: Performance of SimCode: time 8.41e-07/0.7198, allocations: 2.875 kB / 0.5441 GB, free: 121.8 MB / 462.1 MB Notification: Performance of Templates: time 0.08048/0.8003, allocations: 109.9 MB / 0.6514 GB, free: 19.79 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/jenkins1/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/jenkins1/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