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.001428/0.001428, allocations: 118.2 kB / 17.79 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001845/0.001845, allocations: 201.2 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.421/1.421, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001162/0.001162, allocations: 63.89 kB / 358.7 MB, free: 12.9 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.272/0.2732, allocations: 50.55 MB / 409.3 MB, free: 1.586 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.01508/0.2883, allocations: 13.44 MB / 422.7 MB, free: 4.082 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.008795/0.2971, allocations: 4.501 MB / 427.2 MB, free: 15.57 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003248/0.3004, allocations: 79.75 kB / 427.3 MB, free: 15.49 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003215/0.3037, allocations: 0.994 MB / 428.3 MB, free: 14.49 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004304/0.308, allocations: 1.246 MB / 429.5 MB, free: 13.24 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002235/0.3103, allocations: 0.8906 MB / 430.4 MB, free: 12.35 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004718/0.315, allocations: 3.928 MB / 434.3 MB, free: 8.414 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003844/0.3189, allocations: 3.224 MB / 437.6 MB, free: 5.113 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002832/0.3217, allocations: 1.858 MB / 439.4 MB, free: 3.25 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003579/0.3253, allocations: 2.184 MB / 441.6 MB, free: 1.059 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007939/0.3261, allocations: 0.5039 MB / 442.1 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001519/0.3276, allocations: 0.7263 MB / 442.8 MB, free: 15.83 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009387/0.3286, allocations: 1.095 MB / 443.9 MB, free: 14.73 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002375/0.331, allocations: 2.085 MB / 446 MB, free: 12.64 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007122/0.3381, allocations: 6.63 MB / 452.6 MB, free: 5.988 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.3382, allocations: 0 / 452.6 MB, free: 5.988 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.3382, allocations: 0 / 452.6 MB, free: 5.988 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001452/0.3383, allocations: 0 / 452.6 MB, free: 5.988 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.01154/0.3499, allocations: 4.347 MB / 457 MB, free: 1.57 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.172e-05/0.3499, allocations: 8.031 kB / 457 MB, free: 1.562 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004236/0.3542, allocations: 0.8085 MB / 457.8 MB, free: 0.75 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004598/0.3588, allocations: 2.396 MB / 460.2 MB, free: 14.3 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001578/0.359, allocations: 238.2 kB / 460.4 MB, free: 14.06 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004492/0.3594, allocations: 311.9 kB / 460.7 MB, free: 13.76 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007225/0.3667, allocations: 4.227 MB / 465 MB, free: 9.48 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.359e-05/0.3667, allocations: 4 kB / 465 MB, free: 9.477 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002921/0.367, allocations: 124 kB / 465.1 MB, free: 9.355 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001511/0.3672, allocations: 146.3 kB / 465.2 MB, free: 9.211 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006496/0.3737, allocations: 3.612 MB / 468.9 MB, free: 5.59 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02005/0.3938, allocations: 13.09 MB / 481.9 MB, free: 8.145 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0076/0.4014, allocations: 7.179 MB / 489.1 MB, free: 12 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003033/0.4045, allocations: 1.621 MB / 490.7 MB, free: 14.39 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006457/0.4109, allocations: 4.186 MB / 494.9 MB, free: 10.05 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.823e-05/0.411, allocations: 51.56 kB / 495 MB, free: 9.992 MB / 414.1 MB Notification: Performance of pre-optimization done (n=120): time 2.875e-06/0.411, allocations: 0 / 495 MB, free: 9.992 MB / 414.1 MB Notification: Performance of matching and sorting (n=123): time 0.01074/0.4218, allocations: 5.56 MB / 0.4888 GB, free: 4.234 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.572e-05/0.4218, allocations: 64.41 kB / 0.4889 GB, free: 4.16 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002538/0.4244, allocations: 1.718 MB / 0.4906 GB, free: 2.438 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 8.581e-05/0.4245, allocations: 49.7 kB / 0.4906 GB, free: 2.383 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008838/0.4254, allocations: 1.415 MB / 0.492 GB, free: 0.9492 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003062/0.4257, allocations: 441.7 kB / 0.4924 GB, free: 0.5117 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004181/0.4261, allocations: 283.3 kB / 0.4927 GB, free: 236 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001003/0.4262, allocations: 301.1 kB / 0.493 GB, free: 15.93 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001049/0.4273, allocations: 0.652 MB / 0.4936 GB, free: 15.28 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001383/0.4287, allocations: 1.129 MB / 0.4947 GB, free: 13.95 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002572/0.4313, allocations: 1.894 MB / 0.4965 GB, free: 11.86 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.925e-06/0.4313, allocations: 7.938 kB / 0.4966 GB, free: 11.85 MB / 430.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.004037/0.4353, allocations: 2.409 MB / 0.4989 GB, free: 9.402 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.933e-05/0.4354, allocations: 12 kB / 0.4989 GB, free: 9.391 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.153e-05/0.4354, allocations: 12 kB / 0.4989 GB, free: 9.379 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007963/0.4362, allocations: 311.5 kB / 0.4992 GB, free: 9.062 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001276/0.4375, allocations: 347.4 kB / 0.4996 GB, free: 8.723 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006391/0.4439, allocations: 6.622 MB / 0.506 GB, free: 1.68 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001414/0.4453, allocations: 87.86 kB / 0.5061 GB, free: 1.594 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001084/0.4455, allocations: 68 kB / 0.5062 GB, free: 1.527 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.001846/0.4473, allocations: 1.005 MB / 0.5072 GB, free: 0.5117 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003616/0.4477, allocations: 181.8 kB / 0.5073 GB, free: 340 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003894/0.4516, allocations: 2.217 MB / 0.5095 GB, free: 14.05 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.08e-05/0.4516, allocations: 12 kB / 0.5095 GB, free: 14.04 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.072e-05/0.4516, allocations: 8 kB / 0.5095 GB, free: 14.03 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.482e-05/0.4516, allocations: 7.969 kB / 0.5095 GB, free: 14.02 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007728/0.4594, allocations: 4.94 MB / 0.5143 GB, free: 8.945 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.591e-06/0.4594, allocations: 3.938 kB / 0.5143 GB, free: 8.941 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007306/0.4601, allocations: 167.7 kB / 0.5145 GB, free: 8.777 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001224/0.4614, allocations: 496.2 kB / 0.515 GB, free: 8.277 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.93e-05/0.4615, allocations: 35.98 kB / 0.515 GB, free: 8.242 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01041/0.4719, allocations: 11.48 MB / 0.5262 GB, free: 12.07 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/0.4719, allocations: 4.031 kB / 0.5262 GB, free: 12.06 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004907/0.4768, allocations: 3.096 MB / 0.5293 GB, free: 8.871 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008415/0.4777, allocations: 414.6 kB / 0.5296 GB, free: 8.445 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002468/0.478, allocations: 32 kB / 0.5297 GB, free: 8.414 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008599/0.4788, allocations: 67.88 kB / 0.5297 GB, free: 8.348 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002597/0.4791, allocations: 92.81 kB / 0.5298 GB, free: 8.258 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.513e-05/0.4792, allocations: 39.98 kB / 0.5299 GB, free: 8.219 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001685/0.4809, allocations: 1.182 MB / 0.531 GB, free: 7.043 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4809, allocations: 4 kB / 0.531 GB, free: 7.039 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001893/0.4828, allocations: 0.543 MB / 0.5316 GB, free: 6.496 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.0003172/0.4831, allocations: 159.2 kB / 0.5317 GB, free: 6.332 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003361/0.4865, allocations: 2.132 MB / 0.5338 GB, free: 4.145 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/0.4865, allocations: 4.25 kB / 0.5338 GB, free: 4.141 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002232/0.4887, allocations: 1.545 MB / 0.5353 GB, free: 2.527 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00229/0.491, allocations: 0.5196 MB / 0.5358 GB, free: 2.016 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2216/0.7127, allocations: 5.492 MB / 0.5412 GB, free: 122.7 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001904/0.7146, allocations: 2.285 MB / 0.5434 GB, free: 121.9 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001215/0.7158, allocations: 383.8 kB / 0.5438 GB, free: 121.9 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002854/0.7161, allocations: 123.7 kB / 0.5439 GB, free: 121.9 MB / 462.1 MB Notification: Performance of SimCode: time 1.873e-06/0.7161, allocations: 0 / 0.5439 GB, free: 121.9 MB / 462.1 MB Notification: Performance of Templates: time 0.0415/0.7576, allocations: 28.56 MB / 0.5718 GB, free: 100.5 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