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.0009438/0.0009438, allocations: 200.7 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.319/1.319, allocations: 225.6 MB / 234.8 MB, free: 3.316 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001016/0.001016, allocations: 93.41 kB / 286.7 MB, free: 5.246 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.54e-05/1.559e-05, allocations: 0 / 343.7 MB, free: 8.301 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09582/0.09585, allocations: 51.48 MB / 395.2 MB, free: 4.777 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3827/0.4786, allocations: 126.5 MB / 0.5095 GB, free: 15.5 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002707/0.4789, allocations: 90.58 kB / 0.5096 GB, free: 15.46 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.514/0.9929, allocations: 117.9 MB / 0.6247 GB, free: 74.47 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.595e-06/0.993, allocations: 1.188 kB / 0.6247 GB, free: 74.47 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0004603/0.9935, allocations: 143.9 kB / 0.6248 GB, free: 74.44 MB / 442.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.01644/1.01, allocations: 4.932 MB / 0.6297 GB, free: 72.55 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.576e-05/1.01, allocations: 9.094 kB / 0.6297 GB, free: 72.55 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006169/1.016, allocations: 0.9512 MB / 0.6306 GB, free: 72.25 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01009/1.026, allocations: 4.427 MB / 0.6349 GB, free: 71.43 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001794/1.026, allocations: 169.2 kB / 0.6351 GB, free: 71.43 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009854/1.027, allocations: 310.3 kB / 0.6354 GB, free: 71.43 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00887/1.036, allocations: 4.923 MB / 0.6402 GB, free: 69.99 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00934/1.046, allocations: 5.807 MB / 0.6459 GB, free: 67.38 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001096/1.046, allocations: 14.72 kB / 0.6459 GB, free: 67.37 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004017/1.046, allocations: 6.906 kB / 0.6459 GB, free: 67.37 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001656/1.046, allocations: 232.6 kB / 0.6461 GB, free: 67.35 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02957/1.076, allocations: 20.26 MB / 0.6659 GB, free: 56.54 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006183/1.082, allocations: 8.661 MB / 0.6743 GB, free: 48.95 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002329/1.085, allocations: 1.932 MB / 0.6762 GB, free: 48.22 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009042/1.094, allocations: 6.136 MB / 0.6822 GB, free: 44.96 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.19e-05/1.094, allocations: 59.84 kB / 0.6823 GB, free: 44.9 MB / 442.7 MB Notification: Performance of pre-optimization done (n=212): time 3.537e-06/1.094, allocations: 0 / 0.6823 GB, free: 44.9 MB / 442.7 MB Notification: Performance of matching and sorting (n=236): time 0.01566/1.109, allocations: 8.395 MB / 0.6905 GB, free: 41.29 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.215e-05/1.109, allocations: 75.62 kB / 0.6905 GB, free: 41.22 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004091/1.114, allocations: 2.054 MB / 0.6925 GB, free: 40.39 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000185/1.114, allocations: 25.7 kB / 0.6926 GB, free: 40.36 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001309/1.115, allocations: 2.345 MB / 0.6949 GB, free: 38.56 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005936/1.116, allocations: 0.7832 MB / 0.6956 GB, free: 37.95 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001749/1.116, allocations: 0 / 0.6956 GB, free: 37.95 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001648/1.116, allocations: 431.2 kB / 0.696 GB, free: 37.59 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001603/1.118, allocations: 1.196 MB / 0.6972 GB, free: 37.11 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002052/1.12, allocations: 2.057 MB / 0.6992 GB, free: 35.32 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002943/1.123, allocations: 1.761 MB / 0.7009 GB, free: 33.81 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.507e-05/1.123, allocations: 8 kB / 0.7009 GB, free: 33.8 MB / 442.7 MB Notification: Performance of matching and sorting (n=383) (initialization): time 0.006928/1.13, allocations: 4.342 MB / 0.7052 GB, free: 29.93 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.076e-05/1.13, allocations: 20 kB / 0.7052 GB, free: 29.91 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.24e-05/1.13, allocations: 27.94 kB / 0.7052 GB, free: 29.89 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001454/1.131, allocations: 0.7059 MB / 0.7059 GB, free: 29.29 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002333/1.134, allocations: 0.6972 MB / 0.7066 GB, free: 28.7 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007233/1.141, allocations: 8.995 MB / 0.7154 GB, free: 19.96 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002746/1.144, allocations: 124.9 kB / 0.7155 GB, free: 19.88 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003668/1.144, allocations: 127.7 kB / 0.7156 GB, free: 19.75 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 125 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (347): * Single equations (assignments): 341 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(6,72.2%) 22,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005317/1.144, allocations: 192 kB / 0.7158 GB, free: 19.56 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007488/1.145, allocations: 296.3 kB / 0.7161 GB, free: 19.27 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006872/1.152, allocations: 3.983 MB / 0.72 GB, free: 15.87 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.478e-05/1.152, allocations: 27.89 kB / 0.72 GB, free: 15.85 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.2e-05/1.152, allocations: 8 kB / 0.72 GB, free: 15.84 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.086e-05/1.152, allocations: 15.62 kB / 0.72 GB, free: 15.84 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01479/1.167, allocations: 8.011 MB / 0.7279 GB, free: 8.852 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-05/1.167, allocations: 8.094 kB / 0.7279 GB, free: 8.844 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001622/1.169, allocations: 387.4 kB / 0.7282 GB, free: 8.465 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002357/1.171, allocations: 0.927 MB / 0.7291 GB, free: 7.516 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002193/1.171, allocations: 27.98 kB / 0.7292 GB, free: 7.488 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3083/1.48, allocations: 14.88 MB / 0.7437 GB, free: 63.91 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.022e-06/1.48, allocations: 2.938 kB / 0.7437 GB, free: 63.91 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008682/1.488, allocations: 5.901 MB / 0.7495 GB, free: 63.05 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001563/1.49, allocations: 0.639 MB / 0.7501 GB, free: 62.96 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004214/1.49, allocations: 15.94 kB / 0.7501 GB, free: 62.96 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001488/1.492, allocations: 121.8 kB / 0.7502 GB, free: 62.96 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003986/1.492, allocations: 182.3 kB / 0.7504 GB, free: 62.95 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001565/1.492, allocations: 69.55 kB / 0.7505 GB, free: 62.95 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002283/1.495, allocations: 1.514 MB / 0.7519 GB, free: 62.81 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.7e-07/1.495, allocations: 0 / 0.7519 GB, free: 62.81 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003286/1.498, allocations: 0.907 MB / 0.7528 GB, free: 62.81 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (180): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 7 {(6,72.2%) 22,(1,100.0%) 5,(1,100.0%) 1,(2,100.0%) 4,(1,100.0%) 1,(1,100.0%) 8,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009751/1.499, allocations: 442.6 kB / 0.7532 GB, free: 62.71 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005746/1.505, allocations: 3.774 MB / 0.7569 GB, free: 62.04 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.68e-06/1.505, allocations: 2.938 kB / 0.7569 GB, free: 62.04 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003367/1.508, allocations: 2.572 MB / 0.7594 GB, free: 61.27 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003192/1.511, allocations: 0.5961 MB / 0.76 GB, free: 61.26 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01297/1.524, allocations: 7.727 MB / 0.7676 GB, free: 59.34 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003466/1.528, allocations: 3.416 MB / 0.7709 GB, free: 58.48 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.002927/1.531, allocations: 0.7232 MB / 0.7716 GB, free: 58.4 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007026/1.532, allocations: 204.3 kB / 0.7718 GB, free: 58.4 MB / 442.7 MB Notification: Performance of SimCode: time 9.12e-07/1.532, allocations: 0.9688 kB / 0.7718 GB, free: 58.4 MB / 442.7 MB Notification: Performance of Templates: time 0.07097/1.602, allocations: 39.79 MB / 0.8107 GB, free: 56.14 MB / 442.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/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