Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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 trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_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.00166/0.001661, allocations: 109.8 kB / 18.45 MB, free: 4.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002239/0.002239, allocations: 210.8 kB / 19.4 MB, free: 3.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.56/2.56, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002452/0.002452, allocations: 63.89 kB / 359.4 MB, free: 12.9 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4074/0.4099, allocations: 50.54 MB / 409.9 MB, free: 1.566 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.02915/0.4391, allocations: 13.43 MB / 423.4 MB, free: 4.066 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01487/0.4541, allocations: 4.505 MB / 427.9 MB, free: 15.55 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003832/0.4579, allocations: 83.62 kB / 428 MB, free: 15.47 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005682/0.4637, allocations: 0.9979 MB / 429 MB, free: 14.46 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007818/0.4716, allocations: 1.239 MB / 430.2 MB, free: 13.22 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004781/0.4764, allocations: 0.8839 MB / 431.1 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.009731/0.4862, allocations: 3.926 MB / 435 MB, free: 8.395 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009085/0.4953, allocations: 3.224 MB / 438.2 MB, free: 5.094 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00541/0.5008, allocations: 1.865 MB / 440.1 MB, free: 3.223 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007254/0.5081, allocations: 2.192 MB / 442.3 MB, free: 1.023 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002407/0.5106, allocations: 0.4961 MB / 442.8 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003574/0.5142, allocations: 0.7224 MB / 443.5 MB, free: 15.8 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002429/0.5167, allocations: 1.095 MB / 444.6 MB, free: 14.71 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005517/0.5223, allocations: 2.093 MB / 446.7 MB, free: 12.61 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01394/0.5363, allocations: 6.626 MB / 453.3 MB, free: 5.961 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.041e-05/0.5363, allocations: 0 / 453.3 MB, free: 5.961 MB / 366.1 MB Notification: Performance of FrontEnd: time 7.674e-06/0.5364, allocations: 3.984 kB / 453.3 MB, free: 5.957 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002301/0.5366, allocations: 0 / 453.3 MB, free: 5.957 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.02347/0.5601, allocations: 4.334 MB / 457.7 MB, free: 1.555 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.971e-05/0.5602, allocations: 12.03 kB / 457.7 MB, free: 1.543 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01193/0.5722, allocations: 0.8085 MB / 458.5 MB, free: 0.7305 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009799/0.582, allocations: 2.399 MB / 460.9 MB, free: 14.27 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004469/0.5825, allocations: 238.1 kB / 461.1 MB, free: 14.04 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001848/0.5844, allocations: 307.9 kB / 461.4 MB, free: 13.74 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01668/0.6011, allocations: 4.227 MB / 465.6 MB, free: 9.461 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000182/0.6013, allocations: 3.984 kB / 465.6 MB, free: 9.457 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001144/0.6025, allocations: 132 kB / 465.8 MB, free: 9.328 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003701/0.6029, allocations: 150.3 kB / 465.9 MB, free: 9.18 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01441/0.6174, allocations: 3.609 MB / 469.5 MB, free: 5.562 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03991/0.6573, allocations: 13.09 MB / 482.6 MB, free: 8.117 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01235/0.6697, allocations: 7.173 MB / 489.8 MB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006186/0.676, allocations: 1.624 MB / 491.4 MB, free: 14.37 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03082/0.7068, allocations: 4.194 MB / 495.6 MB, free: 10.02 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.623e-05/0.707, allocations: 47.56 kB / 495.7 MB, free: 9.965 MB / 414.1 MB Notification: Performance of pre-optimization done (n=120): time 6.883e-06/0.707, allocations: 0 / 495.7 MB, free: 9.965 MB / 414.1 MB Notification: Performance of matching and sorting (n=123): time 0.03738/0.7444, allocations: 5.549 MB / 0.4895 GB, free: 4.219 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.957e-05/0.7445, allocations: 64.41 kB / 0.4895 GB, free: 4.145 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004847/0.7494, allocations: 1.722 MB / 0.4912 GB, free: 2.418 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002956/0.7497, allocations: 45.7 kB / 0.4913 GB, free: 2.367 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.01783/0.7676, allocations: 1.422 MB / 0.4926 GB, free: 0.9258 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008969/0.7685, allocations: 437.7 kB / 0.4931 GB, free: 0.4922 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001083/0.7697, allocations: 287.3 kB / 0.4933 GB, free: 212 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000164/0.7699, allocations: 301.1 kB / 0.4936 GB, free: 15.91 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002231/0.7721, allocations: 0.6558 MB / 0.4943 GB, free: 15.25 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002523/0.7747, allocations: 1.121 MB / 0.4954 GB, free: 13.93 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004835/0.7796, allocations: 1.898 MB / 0.4972 GB, free: 11.84 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.257e-05/0.7796, allocations: 8 kB / 0.4972 GB, free: 11.83 MB / 430.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.01244/0.7921, allocations: 2.401 MB / 0.4996 GB, free: 9.387 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.339e-05/0.7922, allocations: 12.28 kB / 0.4996 GB, free: 9.375 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.195e-05/0.7922, allocations: 20 kB / 0.4996 GB, free: 9.355 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001468/0.7937, allocations: 322.6 kB / 0.4999 GB, free: 9.031 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002538/0.7963, allocations: 347.4 kB / 0.5002 GB, free: 8.691 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02706/0.8234, allocations: 6.618 MB / 0.5067 GB, free: 1.648 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002445/0.8259, allocations: 71.81 kB / 0.5068 GB, free: 1.578 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003637/0.8263, allocations: 71.98 kB / 0.5068 GB, free: 1.508 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.00312/0.8294, allocations: 1.001 MB / 0.5078 GB, free: 0.4961 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007917/0.8302, allocations: 181.8 kB / 0.508 GB, free: 324 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02386/0.8541, allocations: 2.221 MB / 0.5102 GB, free: 14.03 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.806e-05/0.8542, allocations: 12 kB / 0.5102 GB, free: 14.02 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.378e-05/0.8542, allocations: 8 kB / 0.5102 GB, free: 14.01 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.43e-05/0.8543, allocations: 3.984 kB / 0.5102 GB, free: 14 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03192/0.8862, allocations: 4.937 MB / 0.515 GB, free: 8.934 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.135e-05/0.8863, allocations: 4.031 kB / 0.515 GB, free: 8.93 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001394/0.8877, allocations: 171.7 kB / 0.5152 GB, free: 8.762 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00242/0.8901, allocations: 0.492 MB / 0.5156 GB, free: 8.258 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000262/0.8904, allocations: 35.98 kB / 0.5157 GB, free: 8.223 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02463/0.9151, allocations: 11.48 MB / 0.5269 GB, free: 12.05 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.823e-06/0.9151, allocations: 0 / 0.5269 GB, free: 12.05 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0096/0.9248, allocations: 3.104 MB / 0.5299 GB, free: 8.848 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001715/0.9265, allocations: 418.6 kB / 0.5303 GB, free: 8.418 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008244/0.9274, allocations: 32 kB / 0.5303 GB, free: 8.387 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001951/0.9294, allocations: 63.94 kB / 0.5304 GB, free: 8.324 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004625/0.9299, allocations: 104.8 kB / 0.5305 GB, free: 8.223 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002018/0.9301, allocations: 35.98 kB / 0.5305 GB, free: 8.188 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003499/0.9336, allocations: 1.182 MB / 0.5317 GB, free: 7.012 MB / 462.1 MB Notification: Performance of sort global known variables: time 5.41e-07/0.9337, allocations: 0 / 0.5317 GB, free: 7.012 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004189/0.9379, allocations: 0.543 MB / 0.5322 GB, free: 6.469 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.0005943/0.9385, allocations: 167.4 kB / 0.5324 GB, free: 6.297 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006283/0.9448, allocations: 2.127 MB / 0.5345 GB, free: 4.113 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 8.415e-06/0.9449, allocations: 0 / 0.5345 GB, free: 4.113 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004259/0.9491, allocations: 1.546 MB / 0.536 GB, free: 2.5 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00448/0.9537, allocations: 0.5194 MB / 0.5365 GB, free: 1.988 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3584/1.312, allocations: 5.466 MB / 0.5418 GB, free: 122.6 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004575/1.317, allocations: 2.241 MB / 0.544 GB, free: 121.9 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009082/1.318, allocations: 134.5 kB / 0.5441 GB, free: 121.9 MB / 462.1 MB Notification: Performance of SimCode: time 1.162e-06/1.318, allocations: 0 / 0.5441 GB, free: 121.9 MB / 462.1 MB Notification: Performance of Templates: time 0.1802/1.498, allocations: 110.3 MB / 0.6518 GB, free: 19.41 MB / 462.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.makefile (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.sim & ./Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter_res.mat","/var/lib/jenkins1/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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches