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.001164/0.001164, allocations: 103.3 kB / 18.35 MB, free: 4.516 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.001173/0.001173, allocations: 188 kB / 19.29 MB, free: 3.586 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.409/1.409, allocations: 205.1 MB / 225.2 MB, free: 12.26 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.001738/0.001738, allocations: 48.31 kB / 282.1 MB, free: 2.457 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1065/0.1083, allocations: 46.63 MB / 328.7 MB, free: 3.75 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter): time 0.01385/0.1222, allocations: 12.76 MB / 341.5 MB, free: 6.918 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.008572/0.1308, allocations: 4.268 MB / 345.8 MB, free: 2.633 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002194/0.1331, allocations: 75.69 kB / 345.8 MB, free: 2.559 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002567/0.1357, allocations: 0.9667 MB / 346.8 MB, free: 1.586 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00399/0.1397, allocations: 1.262 MB / 348.1 MB, free: 324 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002054/0.1418, allocations: 0.8535 MB / 348.9 MB, free: 15.46 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004776/0.1466, allocations: 3.907 MB / 352.8 MB, free: 11.54 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00348/0.1501, allocations: 3.173 MB / 356 MB, free: 8.289 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002639/0.1527, allocations: 1.826 MB / 357.8 MB, free: 6.457 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003082/0.1558, allocations: 2.059 MB / 359.9 MB, free: 4.391 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007007/0.1565, allocations: 0.5 MB / 360.4 MB, free: 3.891 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001339/0.1579, allocations: 0.699 MB / 361.1 MB, free: 3.191 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009406/0.1588, allocations: 1.106 MB / 362.2 MB, free: 2.082 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002474/0.1613, allocations: 2.069 MB / 364.3 MB, free: 4 kB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006505/0.1678, allocations: 6.586 MB / 370.9 MB, free: 9.398 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.228e-06/0.1679, allocations: 4 kB / 370.9 MB, free: 9.395 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.1679, allocations: 0 / 370.9 MB, free: 9.395 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001561/0.1681, allocations: 0 / 370.9 MB, free: 9.395 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.01044/0.1785, allocations: 4.296 MB / 375.2 MB, free: 5.027 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.953e-05/0.1786, allocations: 12.03 kB / 375.2 MB, free: 5.016 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004098/0.1827, allocations: 0.8008 MB / 376 MB, free: 4.211 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00425/0.1869, allocations: 2.239 MB / 378.2 MB, free: 1.914 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001764/0.1871, allocations: 242.6 kB / 378.4 MB, free: 1.676 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005236/0.1877, allocations: 315.8 kB / 378.8 MB, free: 1.367 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1699/0.3576, allocations: 4.218 MB / 383 MB, free: 48.18 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.384e-05/0.3577, allocations: 1.859 kB / 383 MB, free: 48.18 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003167/0.358, allocations: 125.1 kB / 383.1 MB, free: 48.09 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000138/0.3582, allocations: 150.3 kB / 383.2 MB, free: 48.07 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006588/0.3648, allocations: 3.602 MB / 386.8 MB, free: 46.66 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0205/0.3853, allocations: 13.02 MB / 399.9 MB, free: 38.32 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004968/0.3903, allocations: 6.906 MB / 406.8 MB, free: 31.72 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00173/0.392, allocations: 1.359 MB / 408.1 MB, free: 31.07 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005178/0.3972, allocations: 3.706 MB / 411.8 MB, free: 28.36 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.625e-05/0.3973, allocations: 55.5 kB / 411.9 MB, free: 28.31 MB / 318.1 MB Notification: Performance of pre-optimization done (n=119): time 2.896e-06/0.3973, allocations: 0 / 411.9 MB, free: 28.31 MB / 318.1 MB Notification: Performance of matching and sorting (n=122): time 0.008689/0.406, allocations: 5.362 MB / 417.2 MB, free: 23.41 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.724e-05/0.406, allocations: 64.41 kB / 417.3 MB, free: 23.34 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001932/0.408, allocations: 1.705 MB / 419 MB, free: 21.62 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.51e-05/0.4081, allocations: 45.7 kB / 419.1 MB, free: 21.57 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006002/0.4087, allocations: 1.399 MB / 420.5 MB, free: 20.16 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002092/0.4089, allocations: 429.5 kB / 420.9 MB, free: 19.75 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003541/0.4092, allocations: 283.3 kB / 421.2 MB, free: 19.46 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.281e-05/0.4093, allocations: 309.1 kB / 421.5 MB, free: 19.16 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008699/0.4102, allocations: 0.6403 MB / 422.1 MB, free: 18.52 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001051/0.4112, allocations: 1.114 MB / 423.2 MB, free: 17.2 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002028/0.4133, allocations: 1.871 MB / 425.1 MB, free: 15.13 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.183e-06/0.4133, allocations: 8 kB / 425.1 MB, free: 15.12 MB / 318.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.003141/0.4164, allocations: 2.315 MB / 427.4 MB, free: 12.77 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.62e-05/0.4165, allocations: 12 kB / 427.4 MB, free: 12.75 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.754e-05/0.4165, allocations: 19.94 kB / 427.4 MB, free: 12.73 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006193/0.4171, allocations: 263.5 kB / 427.7 MB, free: 12.46 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001183/0.4183, allocations: 359 kB / 428 MB, free: 12.12 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004112/0.4224, allocations: 6.202 MB / 434.2 MB, free: 5.516 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001123/0.4236, allocations: 80.11 kB / 434.3 MB, free: 5.438 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.409e-05/0.4237, allocations: 64 kB / 434.4 MB, free: 5.375 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.00134/0.425, allocations: 1.001 MB / 435.4 MB, free: 4.363 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002071/0.4252, allocations: 185.7 kB / 435.6 MB, free: 4.18 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003009/0.4283, allocations: 2.119 MB / 437.7 MB, free: 1.996 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.524e-06/0.4283, allocations: 13.31 kB / 437.7 MB, free: 1.984 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.726e-06/0.4283, allocations: 8 kB / 437.7 MB, free: 1.977 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.08e-05/0.4283, allocations: 7.984 kB / 437.7 MB, free: 1.969 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006856/0.4352, allocations: 4.81 MB / 442.5 MB, free: 13.04 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.685e-06/0.4352, allocations: 0 / 442.5 MB, free: 13.04 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007433/0.436, allocations: 171.7 kB / 442.7 MB, free: 12.87 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001117/0.4371, allocations: 452.4 kB / 443.1 MB, free: 12.42 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.901e-05/0.4372, allocations: 35.98 kB / 443.2 MB, free: 12.39 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01026/0.4475, allocations: 11.03 MB / 454.2 MB, free: 0.6953 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.538e-06/0.4475, allocations: 12.02 kB / 454.2 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004939/0.4524, allocations: 2.988 MB / 457.2 MB, free: 13.6 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009469/0.4534, allocations: 398.8 kB / 457.6 MB, free: 13.19 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002251/0.4536, allocations: 31.98 kB / 457.6 MB, free: 13.16 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008397/0.4545, allocations: 67.95 kB / 457.7 MB, free: 13.09 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002785/0.4548, allocations: 100.7 kB / 457.8 MB, free: 13 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.195e-05/0.4549, allocations: 36.17 kB / 457.8 MB, free: 12.96 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001875/0.4567, allocations: 1.178 MB / 459 MB, free: 11.79 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.31e-07/0.4568, allocations: 3.938 kB / 459 MB, free: 11.79 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.00211/0.4589, allocations: 0.5378 MB / 459.5 MB, free: 11.25 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.0003025/0.4592, allocations: 158.8 kB / 459.7 MB, free: 11.09 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.003286/0.4625, allocations: 2.076 MB / 461.8 MB, free: 8.961 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/0.4625, allocations: 3.938 kB / 461.8 MB, free: 8.957 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002192/0.4647, allocations: 1.525 MB / 463.3 MB, free: 7.367 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001899/0.4666, allocations: 0.5056 MB / 463.8 MB, free: 6.859 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008786/0.4754, allocations: 5.467 MB / 469.3 MB, free: 1.352 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001954/0.4774, allocations: 2.277 MB / 471.5 MB, free: 15.04 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.001268/0.4787, allocations: 391.8 kB / 471.9 MB, free: 14.66 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003081/0.479, allocations: 119.4 kB / 472 MB, free: 14.54 MB / 366.1 MB Notification: Performance of SimCode: time 1.072e-06/0.479, allocations: 0 / 472 MB, free: 14.54 MB / 366.1 MB Notification: Performance of Templates: time 0.04627/0.5253, allocations: 27.44 MB / 499.5 MB, free: 3.098 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 -s cvode -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