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.001358/0.001358, allocations: 101.5 kB / 18.39 MB, free: 4.652 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.001343/0.001343, allocations: 189.1 kB / 19.33 MB, free: 3.727 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.356/1.356, allocations: 205.1 MB / 225.2 MB, free: 12.2 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.001268/0.001268, allocations: 48.36 kB / 329.2 MB, free: 3.273 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08922/0.0905, allocations: 46.61 MB / 375.8 MB, free: 4.555 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter): time 0.2/0.2905, allocations: 12.77 MB / 388.6 MB, free: 6.008 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.008678/0.2993, allocations: 4.273 MB / 392.9 MB, free: 3.258 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003152/0.3025, allocations: 69.03 kB / 392.9 MB, free: 3.238 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00323/0.3058, allocations: 0.9674 MB / 393.9 MB, free: 2.727 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004885/0.3107, allocations: 1.268 MB / 395.2 MB, free: 1.891 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002352/0.313, allocations: 0.8649 MB / 396 MB, free: 1.332 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00591/0.319, allocations: 3.881 MB / 399.9 MB, free: 15.31 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004472/0.3235, allocations: 3.181 MB / 403.1 MB, free: 13.93 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003851/0.3273, allocations: 1.839 MB / 404.9 MB, free: 13.01 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004595/0.332, allocations: 2.057 MB / 407 MB, free: 11.98 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001372/0.3334, allocations: 0.4986 MB / 407.5 MB, free: 11.98 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002471/0.3358, allocations: 0.6956 MB / 408.2 MB, free: 11.91 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001152/0.337, allocations: 1.1 MB / 409.3 MB, free: 11.2 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003535/0.3406, allocations: 2.078 MB / 411.4 MB, free: 9.793 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008153/0.3488, allocations: 6.59 MB / 418 MB, free: 4.887 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/0.3488, allocations: 4 kB / 418 MB, free: 4.883 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.395e-06/0.3488, allocations: 0 / 418 MB, free: 4.883 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0002077/0.349, allocations: 1.375 kB / 418 MB, free: 4.883 MB / 334.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.01277/0.3618, allocations: 4.301 MB / 422.3 MB, free: 1.086 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.343e-05/0.3619, allocations: 8.031 kB / 422.3 MB, free: 1.078 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00454/0.3664, allocations: 0.8008 MB / 423.1 MB, free: 280 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004652/0.3711, allocations: 2.239 MB / 425.3 MB, free: 13.98 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002658/0.3714, allocations: 238.6 kB / 425.5 MB, free: 13.74 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006026/0.372, allocations: 311.8 kB / 425.8 MB, free: 13.44 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008435/0.3804, allocations: 4.223 MB / 430.1 MB, free: 9.164 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.684e-05/0.3805, allocations: 11.84 kB / 430.1 MB, free: 9.152 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003437/0.3809, allocations: 128 kB / 430.2 MB, free: 9.027 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001416/0.381, allocations: 150.3 kB / 430.4 MB, free: 8.879 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006879/0.3879, allocations: 3.593 MB / 433.9 MB, free: 5.277 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02373/0.4117, allocations: 13.02 MB / 447 MB, free: 7.926 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007423/0.4192, allocations: 6.904 MB / 453.9 MB, free: 132 kB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002291/0.4215, allocations: 1.347 MB / 455.2 MB, free: 14.77 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007085/0.4286, allocations: 3.707 MB / 458.9 MB, free: 10.97 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.471e-05/0.4287, allocations: 43.56 kB / 459 MB, free: 10.92 MB / 382.1 MB Notification: Performance of pre-optimization done (n=119): time 2.645e-06/0.4287, allocations: 0 / 459 MB, free: 10.92 MB / 382.1 MB Notification: Performance of matching and sorting (n=122): time 0.01202/0.4407, allocations: 5.368 MB / 464.3 MB, free: 5.355 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.234e-05/0.4408, allocations: 68.39 kB / 464.4 MB, free: 5.277 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003306/0.4441, allocations: 1.709 MB / 466.1 MB, free: 3.562 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002232/0.4443, allocations: 49.7 kB / 466.2 MB, free: 3.508 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001169/0.4455, allocations: 1.395 MB / 467.6 MB, free: 2.094 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006031/0.4461, allocations: 425.8 kB / 468 MB, free: 1.672 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005333/0.4467, allocations: 283.3 kB / 468.2 MB, free: 1.391 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.544e-05/0.4468, allocations: 309.1 kB / 468.5 MB, free: 1.086 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001227/0.448, allocations: 0.6403 MB / 469.2 MB, free: 456 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001532/0.4496, allocations: 1.114 MB / 470.3 MB, free: 15.12 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002868/0.4524, allocations: 1.871 MB / 472.2 MB, free: 13.05 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.197e-05/0.4525, allocations: 4 kB / 472.2 MB, free: 13.04 MB / 398.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.004153/0.4567, allocations: 2.319 MB / 474.5 MB, free: 10.68 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.565e-05/0.4567, allocations: 12 kB / 474.5 MB, free: 10.67 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.744e-05/0.4567, allocations: 16 kB / 474.5 MB, free: 10.66 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007931/0.4575, allocations: 275.5 kB / 474.8 MB, free: 10.38 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001404/0.459, allocations: 355.4 kB / 475.1 MB, free: 10.03 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005935/0.4649, allocations: 6.198 MB / 481.3 MB, free: 3.418 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001481/0.4664, allocations: 80.02 kB / 481.4 MB, free: 3.34 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001635/0.4666, allocations: 64 kB / 481.5 MB, free: 3.277 MB / 398.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.001831/0.4684, allocations: 1.005 MB / 482.5 MB, free: 2.262 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004671/0.4689, allocations: 177.8 kB / 482.7 MB, free: 2.086 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004037/0.4729, allocations: 2.119 MB / 484.8 MB, free: 15.9 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.308e-05/0.473, allocations: 12 kB / 484.8 MB, free: 15.89 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.895e-05/0.473, allocations: 8 kB / 484.8 MB, free: 15.88 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.585e-05/0.473, allocations: 7.984 kB / 484.8 MB, free: 15.87 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009841/0.4829, allocations: 4.827 MB / 489.6 MB, free: 10.9 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.886e-06/0.4829, allocations: 0 / 489.6 MB, free: 10.9 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007723/0.4837, allocations: 167.8 kB / 489.8 MB, free: 10.74 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001195/0.4849, allocations: 440.1 kB / 490.2 MB, free: 10.29 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001226/0.4851, allocations: 35.98 kB / 490.3 MB, free: 10.26 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01111/0.4962, allocations: 11.03 MB / 0.4895 GB, free: 14.54 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.559e-06/0.4962, allocations: 4.031 kB / 0.4895 GB, free: 14.53 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005507/0.5017, allocations: 2.992 MB / 0.4925 GB, free: 11.45 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001155/0.5029, allocations: 406.7 kB / 0.4929 GB, free: 11.03 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000435/0.5034, allocations: 31.98 kB / 0.4929 GB, free: 11 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00114/0.5045, allocations: 63.95 kB / 0.4929 GB, free: 10.93 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002964/0.5048, allocations: 104.7 kB / 0.493 GB, free: 10.83 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.474e-05/0.5049, allocations: 35.98 kB / 0.4931 GB, free: 10.8 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002256/0.5072, allocations: 1.174 MB / 0.4942 GB, free: 9.629 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.5072, allocations: 0 / 0.4942 GB, free: 9.629 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002442/0.5096, allocations: 0.5352 MB / 0.4947 GB, free: 9.094 MB / 430.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.0004061/0.5101, allocations: 167.1 kB / 0.4949 GB, free: 8.922 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003676/0.5137, allocations: 2.074 MB / 0.4969 GB, free: 6.789 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.508e-06/0.5138, allocations: 0 / 0.4969 GB, free: 6.789 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002525/0.5163, allocations: 1.534 MB / 0.4984 GB, free: 5.188 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002885/0.5192, allocations: 0.5106 MB / 0.4989 GB, free: 4.676 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01186/0.5311, allocations: 5.456 MB / 0.5043 GB, free: 15.16 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002684/0.5338, allocations: 2.227 MB / 0.5064 GB, free: 12.91 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006292/0.5345, allocations: 139.4 kB / 0.5066 GB, free: 12.77 MB / 446.1 MB Notification: Performance of SimCode: time 1.192e-06/0.5345, allocations: 0 / 0.5066 GB, free: 12.77 MB / 446.1 MB Notification: Performance of Templates: time 0.2952/0.8297, allocations: 109.2 MB / 0.6132 GB, free: 108.7 MB / 478.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/jenkins1/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/jenkins1/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