Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_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_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_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_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001023/0.001023, allocations: 100.2 kB / 17.58 MB, free: 5.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0013/0.0013, allocations: 192.1 kB / 18.51 MB, free: 4.508 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.343/1.343, allocations: 205.1 MB / 224.4 MB, free: 12.31 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00146/0.001461, allocations: 51.92 kB / 280.7 MB, free: 3.168 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09404/0.09551, allocations: 46.63 MB / 327.3 MB, free: 4.469 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter): time 0.01475/0.1103, allocations: 12.76 MB / 340.1 MB, free: 7.633 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.007968/0.1183, allocations: 4.272 MB / 344.3 MB, free: 3.344 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001798/0.1202, allocations: 67.69 kB / 344.4 MB, free: 3.277 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002838/0.123, allocations: 0.9668 MB / 345.4 MB, free: 2.305 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003739/0.1268, allocations: 1.262 MB / 346.6 MB, free: 1.035 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002129/0.1289, allocations: 0.8534 MB / 347.5 MB, free: 184 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.004662/0.1336, allocations: 3.884 MB / 351.4 MB, free: 12.28 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004439/0.1381, allocations: 3.173 MB / 354.5 MB, free: 9.031 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003367/0.1415, allocations: 1.819 MB / 356.3 MB, free: 7.207 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003665/0.1452, allocations: 2.051 MB / 358.4 MB, free: 5.148 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001416/0.1466, allocations: 0.5 MB / 358.9 MB, free: 4.648 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002479/0.1491, allocations: 0.7146 MB / 359.6 MB, free: 3.934 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001776/0.1509, allocations: 1.106 MB / 360.7 MB, free: 2.824 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00309/0.154, allocations: 2.07 MB / 362.8 MB, free: 0.7461 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00749/0.1615, allocations: 6.535 MB / 369.3 MB, free: 10.19 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.866e-06/0.1616, allocations: 0 / 369.3 MB, free: 10.19 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.186e-06/0.1616, allocations: 0 / 369.3 MB, free: 10.19 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0002137/0.1618, allocations: 4 kB / 369.3 MB, free: 10.19 MB / 318.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.0115/0.1733, allocations: 4.304 MB / 373.6 MB, free: 5.812 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.059e-05/0.1734, allocations: 12.03 kB / 373.6 MB, free: 5.801 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003957/0.1773, allocations: 0.8085 MB / 374.5 MB, free: 4.988 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003496/0.1808, allocations: 2.212 MB / 376.7 MB, free: 2.719 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001664/0.181, allocations: 238.6 kB / 376.9 MB, free: 2.484 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004555/0.1815, allocations: 315.8 kB / 377.2 MB, free: 2.176 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1686/0.3501, allocations: 4.219 MB / 381.4 MB, free: 48.27 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000176/0.3503, allocations: 1.375 kB / 381.4 MB, free: 48.27 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009528/0.3513, allocations: 130.2 kB / 381.6 MB, free: 48.18 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000363/0.3516, allocations: 150.8 kB / 381.7 MB, free: 48.16 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008894/0.3605, allocations: 3.597 MB / 385.3 MB, free: 46.75 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01786/0.3784, allocations: 13.2 MB / 398.5 MB, free: 38.44 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005077/0.3835, allocations: 6.896 MB / 405.4 MB, free: 31.83 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002423/0.386, allocations: 1.365 MB / 406.8 MB, free: 31.16 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005558/0.3916, allocations: 3.729 MB / 410.5 MB, free: 28.43 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.526e-05/0.3916, allocations: 50.56 kB / 410.5 MB, free: 28.38 MB / 318.1 MB Notification: Performance of pre-optimization done (n=119): time 3.366e-06/0.3916, allocations: 0 / 410.5 MB, free: 28.38 MB / 318.1 MB Notification: Performance of matching and sorting (n=122): time 0.008968/0.4006, allocations: 5.365 MB / 415.9 MB, free: 24.03 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.802e-05/0.4007, allocations: 64.41 kB / 416 MB, free: 23.95 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002111/0.4028, allocations: 1.705 MB / 417.7 MB, free: 22.24 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.181e-05/0.4029, allocations: 45.7 kB / 417.7 MB, free: 22.19 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005834/0.4034, allocations: 1.399 MB / 419.1 MB, free: 20.78 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000216/0.4037, allocations: 435.9 kB / 419.5 MB, free: 20.36 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003439/0.404, allocations: 283.3 kB / 419.8 MB, free: 20.07 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.212e-05/0.4041, allocations: 309.1 kB / 420.1 MB, free: 19.77 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008726/0.405, allocations: 0.6364 MB / 420.8 MB, free: 19.13 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001048/0.406, allocations: 1.118 MB / 421.9 MB, free: 17.81 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001937/0.408, allocations: 1.875 MB / 423.7 MB, free: 15.73 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.797e-06/0.408, allocations: 4 kB / 423.7 MB, free: 15.73 MB / 318.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.00296/0.4109, allocations: 2.311 MB / 426.1 MB, free: 13.38 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.154e-05/0.411, allocations: 12.77 kB / 426.1 MB, free: 13.37 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.952e-05/0.411, allocations: 19.92 kB / 426.1 MB, free: 13.35 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005568/0.4116, allocations: 272.7 kB / 426.4 MB, free: 13.07 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00113/0.4127, allocations: 355.4 kB / 426.7 MB, free: 12.72 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003961/0.4167, allocations: 6.211 MB / 432.9 MB, free: 6.117 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001068/0.4178, allocations: 71.95 kB / 433 MB, free: 6.047 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.949e-05/0.4179, allocations: 67.98 kB / 433.1 MB, free: 5.98 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 66 * 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 (180): * Single equations (assignments): 176 * 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,5,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001219/0.4191, allocations: 1.009 MB / 434.1 MB, free: 4.961 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002524/0.4194, allocations: 177.8 kB / 434.2 MB, free: 4.785 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002954/0.4223, allocations: 2.115 MB / 436.3 MB, free: 2.605 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.406e-06/0.4223, allocations: 12 kB / 436.4 MB, free: 2.594 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-05/0.4224, allocations: 7.938 kB / 436.4 MB, free: 2.586 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.126e-05/0.4224, allocations: 7.969 kB / 436.4 MB, free: 2.578 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007061/0.4294, allocations: 4.81 MB / 441.2 MB, free: 13.65 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.703e-06/0.4295, allocations: 0 / 441.2 MB, free: 13.65 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007307/0.4302, allocations: 176 kB / 441.4 MB, free: 13.48 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001093/0.4313, allocations: 452 kB / 441.8 MB, free: 13.02 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001625/0.4315, allocations: 39.98 kB / 441.8 MB, free: 12.98 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009936/0.4414, allocations: 11.03 MB / 452.9 MB, free: 1.301 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.865e-06/0.4415, allocations: 19.98 kB / 452.9 MB, free: 1.281 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004662/0.4461, allocations: 2.988 MB / 455.9 MB, free: 14.2 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008587/0.447, allocations: 402.8 kB / 456.3 MB, free: 13.79 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004447/0.4475, allocations: 32 kB / 456.3 MB, free: 13.75 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001037/0.4485, allocations: 67.94 kB / 456.4 MB, free: 13.69 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002236/0.4487, allocations: 98.94 kB / 456.5 MB, free: 13.59 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.134e-05/0.4488, allocations: 35.98 kB / 456.5 MB, free: 13.56 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.002075/0.4509, allocations: 1.178 MB / 457.7 MB, free: 12.39 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4509, allocations: 0 / 457.7 MB, free: 12.39 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002071/0.453, allocations: 0.5377 MB / 458.2 MB, free: 11.85 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (86): * Single equations (assignments): 81 * 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,5,100.0%), (1,1,100.0%), (1,13,100.0%), (1,8,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.000328/0.4533, allocations: 159.2 kB / 458.4 MB, free: 11.69 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.004461/0.4578, allocations: 2.403 MB / 460.8 MB, free: 9.246 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.252e-06/0.4578, allocations: 4 kB / 460.8 MB, free: 9.242 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002247/0.4601, allocations: 1.523 MB / 462.3 MB, free: 7.652 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002202/0.4623, allocations: 0.5094 MB / 462.8 MB, free: 7.141 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0094/0.4717, allocations: 5.535 MB / 468.3 MB, free: 1.57 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002225/0.4739, allocations: 2.277 MB / 470.6 MB, free: 15.26 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.001301/0.4753, allocations: 383.8 kB / 471 MB, free: 14.88 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003192/0.4756, allocations: 127.4 kB / 471.1 MB, free: 14.76 MB / 366.1 MB Notification: Performance of SimCode: time 6.11e-07/0.4756, allocations: 7.938 kB / 471.1 MB, free: 14.75 MB / 366.1 MB Notification: Performance of Templates: time 0.04792/0.5235, allocations: 27.51 MB / 498.6 MB, free: 3.23 MB / 382.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.sim & ./Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/AIMC_Inverter/AIMC_Inverter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches