Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_Inverter.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|loadInertiaE.phi|loadInertiaE.w|loadInertiaM.phi|loadInertiaM.w|smrE.is.1.|smrE.is.2.|smrE.idq_rr.1.|smrE.idq_rr.2.|smrE.idq_sr.1.|smrE.idq_sr.2.|smrM.is.1.|smrM.is.2.|smrM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smrM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smrM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smrM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|vfController.x",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_Inverter") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|loadInertiaE.phi|loadInertiaE.w|loadInertiaM.phi|loadInertiaM.w|smrE.is.1.|smrE.is.2.|smrE.idq_rr.1.|smrE.idq_rr.2.|smrE.idq_sr.1.|smrE.idq_sr.2.|smrM.is.1.|smrM.is.2.|smrM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smrM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smrM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smrM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|vfController.x",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_Inverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001215/0.001215, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.357/1.357, allocations: 226.8 MB / 245.5 MB, free: 6.961 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009559/0.0009562, allocations: 103.5 kB / 296.7 MB, free: 6.477 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009841/0.0009841, allocations: 51.92 kB / 356.6 MB, free: 10.58 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2005/0.2015, allocations: 50.45 MB / 407.1 MB, free: 27.8 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_Inverter): time 0.0153/0.2169, allocations: 20.6 MB / 427.7 MB, free: 7.121 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01025/0.2272, allocations: 6.107 MB / 433.8 MB, free: 1 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00355/0.2308, allocations: 131.4 kB / 433.9 MB, free: 0.8711 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003201/0.234, allocations: 1.169 MB / 435.1 MB, free: 15.69 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006365/0.2404, allocations: 1.729 MB / 436.8 MB, free: 13.96 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003477/0.2439, allocations: 1.16 MB / 438 MB, free: 12.8 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.008223/0.2521, allocations: 6.818 MB / 444.8 MB, free: 5.953 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00571/0.2579, allocations: 4.553 MB / 449.3 MB, free: 1.316 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003488/0.2614, allocations: 2.386 MB / 451.7 MB, free: 14.92 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004783/0.2662, allocations: 3.191 MB / 454.9 MB, free: 11.71 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0015/0.2677, allocations: 480 kB / 455.4 MB, free: 11.25 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00245/0.2702, allocations: 0.7886 MB / 456.2 MB, free: 10.46 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001756/0.272, allocations: 1.62 MB / 457.8 MB, free: 8.832 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004759/0.2767, allocations: 3.017 MB / 460.8 MB, free: 5.801 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009486/0.2862, allocations: 10 MB / 470.8 MB, free: 11.77 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.683e-06/0.2863, allocations: 4 kB / 470.8 MB, free: 11.76 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.2863, allocations: 0 / 470.8 MB, free: 11.76 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.000273/0.2866, allocations: 4 kB / 470.8 MB, free: 11.76 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1347 * Number of variables: 1347 Notification: Performance of Generate backend data structure: time 0.01629/0.3029, allocations: 6.593 MB / 477.4 MB, free: 5.082 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.375e-05/0.3029, allocations: 16.03 kB / 477.4 MB, free: 5.066 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00443/0.3074, allocations: 1.009 MB / 478.4 MB, free: 4.051 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007324/0.3147, allocations: 3.45 MB / 481.9 MB, free: 0.5234 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003527/0.3151, allocations: 398.8 kB / 482.3 MB, free: 136 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001328/0.3165, allocations: 0.5037 MB / 482.8 MB, free: 15.62 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01545/0.3319, allocations: 6.775 MB / 489.6 MB, free: 8.785 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000194/0.3321, allocations: 11.91 kB / 489.6 MB, free: 8.773 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001136/0.3333, allocations: 208 kB / 489.8 MB, free: 8.57 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002374/0.3335, allocations: 242.2 kB / 490 MB, free: 8.332 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01299/0.3465, allocations: 5.759 MB / 495.8 MB, free: 2.562 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.231/0.5776, allocations: 21.18 MB / 0.5048 GB, free: 79.01 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007596/0.5852, allocations: 8.801 MB / 0.5134 GB, free: 72.82 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003345/0.5886, allocations: 2.221 MB / 0.5156 GB, free: 72.75 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01006/0.5987, allocations: 6.216 MB / 0.5217 GB, free: 69.61 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.978e-05/0.5988, allocations: 53.09 kB / 0.5217 GB, free: 69.56 MB / 378.7 MB Notification: Performance of pre-optimization done (n=205): time 4.489e-06/0.5988, allocations: 0 / 0.5217 GB, free: 69.56 MB / 378.7 MB Notification: Performance of matching and sorting (n=222): time 0.01846/0.6172, allocations: 10.42 MB / 0.5319 GB, free: 64.11 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.96e-05/0.6173, allocations: 74.38 kB / 0.532 GB, free: 64.05 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004824/0.6222, allocations: 2.915 MB / 0.5348 GB, free: 62.2 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000354/0.6225, allocations: 69.7 kB / 0.5349 GB, free: 62.12 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001257/0.6238, allocations: 2.364 MB / 0.5372 GB, free: 59.75 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007643/0.6246, allocations: 0.7648 MB / 0.5379 GB, free: 58.99 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001139/0.6258, allocations: 0.5154 MB / 0.5384 GB, free: 58.46 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.445e-05/0.6258, allocations: 309 kB / 0.5387 GB, free: 58.16 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001946/0.6278, allocations: 1.267 MB / 0.54 GB, free: 56.89 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002218/0.63, allocations: 2.175 MB / 0.5421 GB, free: 54.32 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004125/0.6341, allocations: 3.669 MB / 0.5457 GB, free: 50.25 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.339e-05/0.6342, allocations: 8 kB / 0.5457 GB, free: 50.24 MB / 378.7 MB Notification: Performance of matching and sorting (n=373) (initialization): time 0.006543/0.6407, allocations: 4.454 MB / 0.55 GB, free: 45.72 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.415e-05/0.6408, allocations: 16 kB / 0.55 GB, free: 45.7 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.165e-05/0.6408, allocations: 38.95 kB / 0.5501 GB, free: 45.67 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001117/0.642, allocations: 0.5396 MB / 0.5506 GB, free: 45.11 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002345/0.6443, allocations: 0.6786 MB / 0.5513 GB, free: 44.43 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006703/0.6511, allocations: 9.494 MB / 0.5605 GB, free: 34.29 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002569/0.6537, allocations: 172.9 kB / 0.5607 GB, free: 34.12 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004052/0.6541, allocations: 124 kB / 0.5608 GB, free: 34 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 129 * 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 (345): * Single equations (assignments): 338 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (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): 5 systems {(3,11,100.0%), (1,6,100.0%), (1,1,100.0%), (1,1,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002679/0.6568, allocations: 1.533 MB / 0.5623 GB, free: 32.46 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008318/0.6576, allocations: 320 kB / 0.5626 GB, free: 32.14 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006219/0.6638, allocations: 3.897 MB / 0.5664 GB, free: 28.15 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.591e-05/0.6639, allocations: 24 kB / 0.5665 GB, free: 28.13 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.348e-05/0.6639, allocations: 8 kB / 0.5665 GB, free: 28.12 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.11e-05/0.664, allocations: 11.95 kB / 0.5665 GB, free: 28.11 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01432/0.6783, allocations: 8.531 MB / 0.5748 GB, free: 19.44 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.071e-05/0.6783, allocations: 4 kB / 0.5748 GB, free: 19.44 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001486/0.6798, allocations: 371.5 kB / 0.5752 GB, free: 19.07 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001699/0.6815, allocations: 0.7461 MB / 0.5759 GB, free: 18.31 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001882/0.6817, allocations: 63.97 kB / 0.576 GB, free: 18.25 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01038/0.6921, allocations: 15.35 MB / 0.5909 GB, free: 1.852 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.6922, allocations: 4 kB / 0.5909 GB, free: 1.848 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05937/0.7515, allocations: 41.97 MB / 0.6319 GB, free: 6.328 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00173/0.7533, allocations: 0.6454 MB / 0.6326 GB, free: 5.66 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006804/0.754, allocations: 55.98 kB / 0.6326 GB, free: 5.605 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001765/0.7558, allocations: 135.9 kB / 0.6327 GB, free: 5.473 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004265/0.7562, allocations: 161.6 kB / 0.6329 GB, free: 5.312 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001745/0.7564, allocations: 67.98 kB / 0.633 GB, free: 5.246 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.003281/0.7597, allocations: 1.983 MB / 0.6349 GB, free: 3.266 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.41e-07/0.7597, allocations: 0 / 0.6349 GB, free: 3.266 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004594/0.7643, allocations: 1.29 MB / 0.6362 GB, free: 1.98 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 13 (vfController.x,smrM.inertiaRotor.w,smrM.stator.core.Phi.re,smrM.stator.core.Phi.im,smrM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smrM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,smrE.inertiaRotor.w,smrE.idq_sr[1],smrE.idq_sr[2],smrE.idq_dr[1],smrE.idq_dr[2],loadInertiaM.phi,loadInertiaE.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 (182): * Single equations (assignments): 174 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(1,5,100.0%), (3,11,100.0%), (1,6,100.0%), (1,1,100.0%), (2,1,100.0%), (1,1,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.0006324/0.7649, allocations: 259.8 kB / 0.6364 GB, free: 1.723 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.006292/0.7713, allocations: 3.973 MB / 0.6403 GB, free: 13.66 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.091e-06/0.7713, allocations: 4.062 kB / 0.6403 GB, free: 13.65 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004226/0.7755, allocations: 2.669 MB / 0.6429 GB, free: 10.89 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005273/0.7808, allocations: 0.8097 MB / 0.6437 GB, free: 10.09 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02318/0.804, allocations: 14.45 MB / 0.6578 GB, free: 11.47 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004251/0.8083, allocations: 3.388 MB / 0.6611 GB, free: 8.051 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.002855/0.8112, allocations: 0.7815 MB / 0.6619 GB, free: 7.266 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008348/0.812, allocations: 231.3 kB / 0.6621 GB, free: 7.039 MB / 458.7 MB Notification: Performance of SimCode: time 7.42e-07/0.812, allocations: 0 / 0.6621 GB, free: 7.039 MB / 458.7 MB Notification: Performance of Templates: time 0.2491/1.061, allocations: 54.84 MB / 0.7156 GB, free: 114.9 MB / 458.7 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_Inverter.makefile (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_Inverter.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_Inverter.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_Inverter.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_Inverter.sim & ./Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_Inverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_Inverter.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_Inverter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/SynchronousMachines/SMR_Inverter/SMR_Inverter.csv","../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_Inverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches