Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.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_4.0.0_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_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001428/0.001428, allocations: 114.1 kB / 17.07 MB, free: 5.984 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.001528/0.001528, allocations: 194.9 kB / 18.01 MB, free: 5.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.456/1.456, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009611/0.0009611, allocations: 47.94 kB / 351.3 MB, free: 3.246 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2391/0.2401, allocations: 49.43 MB / 400.7 MB, free: 8.754 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.01331/0.2535, allocations: 12.81 MB / 413.6 MB, free: 12.01 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007112/0.2606, allocations: 4.248 MB / 417.8 MB, free: 7.75 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001622/0.2623, allocations: 79.69 kB / 417.9 MB, free: 7.672 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002614/0.2649, allocations: 0.9822 MB / 418.9 MB, free: 6.688 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003941/0.2689, allocations: 1.27 MB / 420.1 MB, free: 5.41 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002314/0.2712, allocations: 0.8453 MB / 421 MB, free: 4.566 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004999/0.2762, allocations: 3.876 MB / 424.9 MB, free: 0.6758 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004705/0.2809, allocations: 3.213 MB / 428.1 MB, free: 13.39 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002759/0.2837, allocations: 1.834 MB / 429.9 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003209/0.2869, allocations: 2.063 MB / 432 MB, free: 9.477 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001087/0.288, allocations: 0.4961 MB / 432.5 MB, free: 8.98 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001962/0.29, allocations: 0.7029 MB / 433.2 MB, free: 8.277 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001424/0.2915, allocations: 1.11 MB / 434.3 MB, free: 7.164 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002733/0.2942, allocations: 2.069 MB / 436.3 MB, free: 5.086 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006832/0.301, allocations: 6.615 MB / 443 MB, free: 14.45 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.3011, allocations: 0 / 443 MB, free: 14.45 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.3011, allocations: 0 / 443 MB, free: 14.45 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001333/0.3012, allocations: 3.938 kB / 443 MB, free: 14.45 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.01139/0.3126, allocations: 4.393 MB / 447.4 MB, free: 9.977 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.611e-05/0.3127, allocations: 16.03 kB / 447.4 MB, free: 9.961 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004441/0.3172, allocations: 0.8261 MB / 448.2 MB, free: 9.133 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004571/0.3217, allocations: 2.385 MB / 450.6 MB, free: 6.691 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002323/0.322, allocations: 242.3 kB / 450.8 MB, free: 6.453 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00073/0.3227, allocations: 319.9 kB / 451.1 MB, free: 6.141 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008327/0.3311, allocations: 4.219 MB / 455.3 MB, free: 1.871 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.226e-05/0.3312, allocations: 4 kB / 455.4 MB, free: 1.867 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003908/0.3316, allocations: 128 kB / 455.5 MB, free: 1.742 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000147/0.3317, allocations: 154.3 kB / 455.6 MB, free: 1.59 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006721/0.3385, allocations: 3.605 MB / 459.2 MB, free: 13.97 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02029/0.3588, allocations: 13.05 MB / 472.3 MB, free: 0.6016 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006818/0.3656, allocations: 6.905 MB / 479.2 MB, free: 8.805 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002137/0.3678, allocations: 1.348 MB / 480.5 MB, free: 7.457 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006149/0.374, allocations: 3.72 MB / 484.3 MB, free: 3.645 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.638e-05/0.374, allocations: 51.56 kB / 484.3 MB, free: 3.582 MB / 398.1 MB Notification: Performance of pre-optimization done (n=120): time 2.604e-06/0.374, allocations: 0 / 484.3 MB, free: 3.582 MB / 398.1 MB Notification: Performance of matching and sorting (n=123): time 0.01081/0.3848, allocations: 5.432 MB / 489.7 MB, free: 13.95 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.908e-05/0.3849, allocations: 64.41 kB / 489.8 MB, free: 13.88 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002603/0.3875, allocations: 1.705 MB / 491.5 MB, free: 12.17 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 8.168e-05/0.3876, allocations: 49.64 kB / 491.6 MB, free: 12.11 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009552/0.3886, allocations: 1.438 MB / 493 MB, free: 10.66 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003309/0.3889, allocations: 456.1 kB / 493.4 MB, free: 10.21 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000451/0.3894, allocations: 287.4 kB / 493.7 MB, free: 9.926 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 9.149e-05/0.3895, allocations: 305.1 kB / 494 MB, free: 9.625 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001117/0.3906, allocations: 0.6442 MB / 494.7 MB, free: 8.98 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001539/0.3921, allocations: 1.117 MB / 495.8 MB, free: 7.664 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002578/0.3947, allocations: 1.875 MB / 497.6 MB, free: 5.586 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.269e-05/0.3948, allocations: 4 kB / 497.7 MB, free: 5.582 MB / 414.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.003847/0.3986, allocations: 2.328 MB / 500 MB, free: 3.215 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.912e-05/0.3987, allocations: 8 kB / 500 MB, free: 3.207 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.811e-05/0.3987, allocations: 16 kB / 0.4883 GB, free: 3.191 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007104/0.3994, allocations: 279.4 kB / 0.4886 GB, free: 2.906 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001306/0.4007, allocations: 355.4 kB / 0.4889 GB, free: 2.559 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005606/0.4063, allocations: 6.194 MB / 0.4949 GB, free: 11.95 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001232/0.4076, allocations: 80.06 kB / 0.495 GB, free: 11.87 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001426/0.4078, allocations: 71.94 kB / 0.4951 GB, free: 11.8 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 (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.00163/0.4094, allocations: 0.9892 MB / 0.4961 GB, free: 10.8 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004173/0.4098, allocations: 190.8 kB / 0.4962 GB, free: 10.61 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004568/0.4144, allocations: 2.135 MB / 0.4983 GB, free: 8.406 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.124e-05/0.4144, allocations: 16 kB / 0.4983 GB, free: 8.391 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.613e-05/0.4144, allocations: 8 kB / 0.4983 GB, free: 8.383 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.694e-05/0.4145, allocations: 11.95 kB / 0.4984 GB, free: 8.371 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008579/0.4231, allocations: 4.826 MB / 0.5031 GB, free: 3.41 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.043e-06/0.4231, allocations: 0 / 0.5031 GB, free: 3.41 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007746/0.4239, allocations: 167.8 kB / 0.5032 GB, free: 3.246 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001191/0.4251, allocations: 448.1 kB / 0.5037 GB, free: 2.793 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001008/0.4252, allocations: 35.98 kB / 0.5037 GB, free: 2.758 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01098/0.4362, allocations: 11.05 MB / 0.5145 GB, free: 7.02 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.4362, allocations: 4 kB / 0.5145 GB, free: 7.016 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005288/0.4415, allocations: 3.01 MB / 0.5174 GB, free: 3.918 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009388/0.4425, allocations: 415.8 kB / 0.5178 GB, free: 3.492 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004703/0.443, allocations: 28 kB / 0.5178 GB, free: 3.465 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001066/0.444, allocations: 67.94 kB / 0.5179 GB, free: 3.398 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00025/0.4443, allocations: 100.7 kB / 0.518 GB, free: 3.301 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.985e-05/0.4444, allocations: 32 kB / 0.518 GB, free: 3.27 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00218/0.4466, allocations: 1.174 MB / 0.5192 GB, free: 2.102 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.4466, allocations: 4 kB / 0.5192 GB, free: 2.098 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002292/0.4489, allocations: 0.5391 MB / 0.5197 GB, free: 1.559 MB / 446.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 (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,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.0003648/0.4493, allocations: 170.9 kB / 0.5199 GB, free: 1.383 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003384/0.4527, allocations: 2.084 MB / 0.5219 GB, free: 15.24 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/0.4527, allocations: 0 / 0.5219 GB, free: 15.24 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002234/0.4549, allocations: 1.539 MB / 0.5234 GB, free: 13.64 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002193/0.4571, allocations: 0.4969 MB / 0.5239 GB, free: 13.14 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009648/0.4668, allocations: 5.553 MB / 0.5293 GB, free: 7.539 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002491/0.4693, allocations: 2.285 MB / 0.5316 GB, free: 5.227 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001343/0.4707, allocations: 387.7 kB / 0.5319 GB, free: 4.844 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003963/0.4711, allocations: 119.4 kB / 0.532 GB, free: 4.727 MB / 462.1 MB Notification: Performance of SimCode: time 7.41e-07/0.4711, allocations: 0 / 0.532 GB, free: 4.727 MB / 462.1 MB Notification: Performance of Templates: time 0.2309/0.7019, allocations: 28.03 MB / 0.5594 GB, free: 115.5 MB / 462.1 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.sim & ./Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches