Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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.1.0-beta.om_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.001784/0.001784, allocations: 119.6 kB / 18.46 MB, free: 4.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001551/0.001551, allocations: 206.7 kB / 19.41 MB, free: 3.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.394/1.394, allocations: 227.7 MB / 247.9 MB, free: 10.24 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001856/0.001856, allocations: 67.88 kB / 359.7 MB, free: 12.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2235/0.2254, allocations: 50.55 MB / 410.2 MB, free: 1.602 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.0158/0.2412, allocations: 13.47 MB / 423.7 MB, free: 4.066 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.008041/0.2492, allocations: 4.513 MB / 428.2 MB, free: 15.54 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001223/0.2505, allocations: 79.69 kB / 428.3 MB, free: 15.46 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00229/0.2527, allocations: 1.033 MB / 429.3 MB, free: 14.42 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002967/0.2557, allocations: 1.297 MB / 430.6 MB, free: 13.12 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001828/0.2575, allocations: 0.8932 MB / 431.5 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004263/0.2618, allocations: 3.921 MB / 435.4 MB, free: 8.297 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002826/0.2646, allocations: 2.249 MB / 437.7 MB, free: 5.973 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00225/0.2669, allocations: 1.85 MB / 439.5 MB, free: 4.117 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002704/0.2696, allocations: 2.199 MB / 441.7 MB, free: 1.91 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006285/0.2702, allocations: 0.5 MB / 442.2 MB, free: 1.41 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001177/0.2714, allocations: 0.7146 MB / 442.9 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001018/0.2724, allocations: 1.11 MB / 444.1 MB, free: 15.58 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002062/0.2745, allocations: 2.081 MB / 446.1 MB, free: 13.49 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006968/0.2814, allocations: 6.654 MB / 452.8 MB, free: 6.816 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.2814, allocations: 0 / 452.8 MB, free: 6.816 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.2814, allocations: 0 / 452.8 MB, free: 6.816 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.617e-05/0.2815, allocations: 4 kB / 452.8 MB, free: 6.812 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.01021/0.2917, allocations: 4.417 MB / 457.2 MB, free: 2.32 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.907e-05/0.2918, allocations: 8.031 kB / 457.2 MB, free: 2.312 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004314/0.2961, allocations: 0.8222 MB / 458 MB, free: 1.488 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004282/0.3004, allocations: 2.413 MB / 460.5 MB, free: 15.02 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002049/0.3006, allocations: 242.2 kB / 460.7 MB, free: 14.78 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000514/0.3011, allocations: 312 kB / 461 MB, free: 14.47 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007178/0.3083, allocations: 4.227 MB / 465.2 MB, free: 10.2 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.899e-05/0.3083, allocations: 4 kB / 465.2 MB, free: 10.19 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003062/0.3086, allocations: 123.9 kB / 465.4 MB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001526/0.3088, allocations: 150.3 kB / 465.5 MB, free: 9.922 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006304/0.3151, allocations: 3.616 MB / 469.1 MB, free: 6.297 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02076/0.3358, allocations: 13.13 MB / 482.2 MB, free: 8.824 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007827/0.3437, allocations: 7.061 MB / 489.3 MB, free: 0.8164 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003097/0.3468, allocations: 1.512 MB / 490.8 MB, free: 15.31 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007065/0.3538, allocations: 4.191 MB / 495 MB, free: 10.96 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.319e-05/0.3539, allocations: 51.56 kB / 495.1 MB, free: 10.9 MB / 414.1 MB Notification: Performance of pre-optimization done (n=120): time 2.474e-06/0.3539, allocations: 0 / 495.1 MB, free: 10.9 MB / 414.1 MB Notification: Performance of matching and sorting (n=123): time 0.01138/0.3653, allocations: 5.585 MB / 0.4889 GB, free: 5.125 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.065e-05/0.3653, allocations: 72.34 kB / 0.489 GB, free: 5.043 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002528/0.3678, allocations: 1.715 MB / 0.4906 GB, free: 3.324 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 8.829e-05/0.3679, allocations: 45.7 kB / 0.4907 GB, free: 3.273 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001438/0.3694, allocations: 1.45 MB / 0.4921 GB, free: 1.809 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004021/0.3698, allocations: 460.1 kB / 0.4925 GB, free: 1.355 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004585/0.3702, allocations: 283.5 kB / 0.4928 GB, free: 1.074 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001375/0.3704, allocations: 301.1 kB / 0.4931 GB, free: 0.7773 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001195/0.3716, allocations: 0.6675 MB / 0.4938 GB, free: 112 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001617/0.3732, allocations: 1.125 MB / 0.4949 GB, free: 14.79 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002893/0.3761, allocations: 1.894 MB / 0.4967 GB, free: 12.69 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.915e-06/0.3761, allocations: 8 kB / 0.4967 GB, free: 12.68 MB / 430.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.00418/0.3802, allocations: 2.402 MB / 0.4991 GB, free: 10.24 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.981e-05/0.3803, allocations: 15.94 kB / 0.4991 GB, free: 10.23 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.029e-05/0.3803, allocations: 12 kB / 0.4991 GB, free: 10.21 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000809/0.3811, allocations: 315.4 kB / 0.4994 GB, free: 9.895 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001352/0.3825, allocations: 351.4 kB / 0.4997 GB, free: 9.551 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006912/0.3894, allocations: 6.615 MB / 0.5062 GB, free: 2.516 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001178/0.3905, allocations: 84.06 kB / 0.5063 GB, free: 2.434 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001149/0.3907, allocations: 67.94 kB / 0.5063 GB, free: 2.367 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.001671/0.3923, allocations: 1.009 MB / 0.5073 GB, free: 1.348 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002937/0.3926, allocations: 194.8 kB / 0.5075 GB, free: 1.156 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004214/0.3968, allocations: 2.19 MB / 0.5096 GB, free: 14.9 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.349e-05/0.3969, allocations: 12 kB / 0.5096 GB, free: 14.89 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.035e-05/0.3969, allocations: 8.188 kB / 0.5097 GB, free: 14.88 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.36e-05/0.3969, allocations: 7.969 kB / 0.5097 GB, free: 14.87 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008443/0.4053, allocations: 4.925 MB / 0.5145 GB, free: 9.812 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.14e-06/0.4053, allocations: 0 / 0.5145 GB, free: 9.812 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007742/0.4061, allocations: 163.8 kB / 0.5146 GB, free: 9.652 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001307/0.4074, allocations: 0.4921 MB / 0.5151 GB, free: 9.145 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.977e-05/0.4075, allocations: 35.98 kB / 0.5151 GB, free: 9.109 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01248/0.42, allocations: 11.49 MB / 0.5264 GB, free: 12.92 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.023e-06/0.42, allocations: 0 / 0.5264 GB, free: 12.92 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005404/0.4254, allocations: 3.089 MB / 0.5294 GB, free: 9.738 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008413/0.4262, allocations: 419.7 kB / 0.5298 GB, free: 9.309 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002198/0.4264, allocations: 28 kB / 0.5298 GB, free: 9.281 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008507/0.4273, allocations: 67.94 kB / 0.5299 GB, free: 9.215 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002302/0.4275, allocations: 104.7 kB / 0.53 GB, free: 9.113 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.687e-05/0.4276, allocations: 32 kB / 0.53 GB, free: 9.082 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001846/0.4294, allocations: 1.186 MB / 0.5312 GB, free: 7.902 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4294, allocations: 0 / 0.5312 GB, free: 7.902 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001903/0.4313, allocations: 0.5469 MB / 0.5317 GB, free: 7.355 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.0003129/0.4317, allocations: 163.1 kB / 0.5318 GB, free: 7.188 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003512/0.4352, allocations: 2.061 MB / 0.5339 GB, free: 5.07 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.4352, allocations: 0 / 0.5339 GB, free: 5.07 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002465/0.4376, allocations: 1.503 MB / 0.5353 GB, free: 3.5 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002035/0.4397, allocations: 0.5204 MB / 0.5358 GB, free: 2.992 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1736/0.6133, allocations: 5.583 MB / 0.5413 GB, free: 122.1 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001721/0.615, allocations: 2.291 MB / 0.5435 GB, free: 121.3 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001087/0.6161, allocations: 381.4 kB / 0.5439 GB, free: 121.3 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002682/0.6164, allocations: 123.1 kB / 0.544 GB, free: 121.3 MB / 462.1 MB Notification: Performance of SimCode: time 8.62e-07/0.6164, allocations: 0 / 0.544 GB, free: 121.3 MB / 462.1 MB Notification: Performance of Templates: time 0.03798/0.6544, allocations: 28.8 MB / 0.5721 GB, free: 100.4 MB / 462.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.sim & ./Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Inverter/IMC_Inverter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches