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/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.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/Complex trunk/package.mo): time 0.00099/0.00099, allocations: 200.1 kB / 18.11 MB, free: 3.738 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.253/1.253, allocations: 226.5 MB / 245.4 MB, free: 6.395 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009107/0.0009109, allocations: 100.5 kB / 297.5 MB, free: 6.66 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002107/0.0002107, allocations: 8 kB / 358.1 MB, free: 10.03 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.198/0.1982, allocations: 51.29 MB / 409.4 MB, free: 27.6 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2738/0.472, allocations: 110 MB / 0.5073 GB, free: 96.72 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002485/0.4723, allocations: 98.64 kB / 0.5073 GB, free: 96.72 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1615/0.6338, allocations: 82.72 MB / 0.5881 GB, free: 23.88 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.6339, allocations: 0 / 0.5881 GB, free: 23.88 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002189/0.6341, allocations: 75.88 kB / 0.5882 GB, free: 23.8 MB / 378.7 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.008434/0.6425, allocations: 3.462 MB / 0.5916 GB, free: 20.27 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.608e-05/0.6426, allocations: 12.03 kB / 0.5916 GB, free: 20.25 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003664/0.6463, allocations: 0.7267 MB / 0.5923 GB, free: 19.52 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00504/0.6513, allocations: 2.695 MB / 0.5949 GB, free: 16.77 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001635/0.6515, allocations: 234.6 kB / 0.5952 GB, free: 16.54 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007194/0.6522, allocations: 316.3 kB / 0.5955 GB, free: 16.23 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007005/0.6592, allocations: 4.159 MB / 0.5995 GB, free: 11.96 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-05/0.6593, allocations: 7.938 kB / 0.5995 GB, free: 11.95 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003546/0.6597, allocations: 132 kB / 0.5996 GB, free: 11.82 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.949e-05/0.6598, allocations: 138.3 kB / 0.5998 GB, free: 11.69 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005425/0.6652, allocations: 3.41 MB / 0.6031 GB, free: 8.27 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01819/0.6835, allocations: 13.35 MB / 0.6161 GB, free: 10.58 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006876/0.6904, allocations: 7.153 MB / 0.6231 GB, free: 2.461 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003046/0.6935, allocations: 1.73 MB / 0.6248 GB, free: 0.7383 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006879/0.7004, allocations: 4.229 MB / 0.629 GB, free: 12.35 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.876e-05/0.7004, allocations: 51.5 kB / 0.629 GB, free: 12.29 MB / 410.7 MB Notification: Performance of pre-optimization done (n=120): time 3.537e-06/0.7004, allocations: 0 / 0.629 GB, free: 12.29 MB / 410.7 MB Notification: Performance of matching and sorting (n=123): time 0.01091/0.7114, allocations: 5.584 MB / 0.6345 GB, free: 6.512 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.044e-05/0.7114, allocations: 64.41 kB / 0.6345 GB, free: 6.438 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002916/0.7144, allocations: 1.687 MB / 0.6362 GB, free: 4.746 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001136/0.7145, allocations: 49.64 kB / 0.6362 GB, free: 4.691 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009891/0.7155, allocations: 1.419 MB / 0.6376 GB, free: 3.254 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003708/0.7159, allocations: 433.8 kB / 0.638 GB, free: 2.824 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.408e-05/0.716, allocations: 32 kB / 0.638 GB, free: 2.793 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001521/0.7161, allocations: 369.9 kB / 0.6384 GB, free: 2.426 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001164/0.7173, allocations: 0.6597 MB / 0.639 GB, free: 1.77 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00155/0.7189, allocations: 1.125 MB / 0.6401 GB, free: 452 kB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002873/0.7217, allocations: 1.894 MB / 0.642 GB, free: 14.35 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.551e-05/0.7218, allocations: 4 kB / 0.642 GB, free: 14.34 MB / 426.7 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.004178/0.726, allocations: 2.401 MB / 0.6443 GB, free: 11.9 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.647e-05/0.726, allocations: 12 kB / 0.6443 GB, free: 11.89 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.182e-05/0.726, allocations: 12 kB / 0.6444 GB, free: 11.88 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008018/0.7268, allocations: 315.5 kB / 0.6447 GB, free: 11.56 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001254/0.7281, allocations: 359.4 kB / 0.645 GB, free: 11.21 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005915/0.734, allocations: 6.119 MB / 0.651 GB, free: 4.68 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001336/0.7354, allocations: 87.95 kB / 0.6511 GB, free: 4.594 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001462/0.7355, allocations: 67.98 kB / 0.6511 GB, free: 4.527 MB / 426.7 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 (linear and non-linear blocks): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 8,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001976/0.7375, allocations: 0.997 MB / 0.6521 GB, free: 3.52 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004363/0.738, allocations: 177.8 kB / 0.6523 GB, free: 3.344 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003936/0.7419, allocations: 2.225 MB / 0.6544 GB, free: 1.055 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.073e-05/0.7419, allocations: 12 kB / 0.6545 GB, free: 1.043 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.804e-05/0.742, allocations: 8 kB / 0.6545 GB, free: 1.035 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.351e-05/0.742, allocations: 7.969 kB / 0.6545 GB, free: 1.027 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008267/0.7503, allocations: 4.936 MB / 0.6593 GB, free: 11.96 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.51e-06/0.7503, allocations: 0 / 0.6593 GB, free: 11.96 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007197/0.751, allocations: 171.7 kB / 0.6595 GB, free: 11.79 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001217/0.7522, allocations: 0.4916 MB / 0.6599 GB, free: 11.29 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.83e-05/0.7524, allocations: 35.98 kB / 0.66 GB, free: 11.25 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009785/0.7621, allocations: 10.52 MB / 0.6702 GB, free: 56 kB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.19e-06/0.7622, allocations: 8.062 kB / 0.6702 GB, free: 48 kB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1928/0.955, allocations: 3.109 MB / 0.6733 GB, free: 93.96 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007618/0.9558, allocations: 411.4 kB / 0.6737 GB, free: 93.86 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001997/0.956, allocations: 33.45 kB / 0.6737 GB, free: 93.86 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007935/0.9568, allocations: 75.58 kB / 0.6738 GB, free: 93.86 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002203/0.957, allocations: 98.25 kB / 0.6739 GB, free: 93.86 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.958e-05/0.9571, allocations: 34.8 kB / 0.6739 GB, free: 93.86 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001455/0.9586, allocations: 1.156 MB / 0.675 GB, free: 93.75 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.9586, allocations: 0 / 0.675 GB, free: 93.75 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001779/0.9604, allocations: 0.591 MB / 0.6756 GB, free: 93.75 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 7 (aimc.inertiaRotor.phi,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.w) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 8,(1,100.0%) 1,(1,100.0%) 8,(1,100.0%) 13,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005038/0.9609, allocations: 382.4 kB / 0.676 GB, free: 93.66 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002957/0.9638, allocations: 2.141 MB / 0.6781 GB, free: 93.2 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.9639, allocations: 3.594 kB / 0.6781 GB, free: 93.2 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00182/0.9657, allocations: 1.552 MB / 0.6796 GB, free: 92.62 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00217/0.9679, allocations: 0.4919 MB / 0.6801 GB, free: 92.61 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007883/0.9758, allocations: 6.68 MB / 0.6866 GB, free: 89.79 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001886/0.9777, allocations: 2.286 MB / 0.6888 GB, free: 89.01 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001456/0.9792, allocations: 381 kB / 0.6892 GB, free: 88.96 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002646/0.9794, allocations: 123.9 kB / 0.6893 GB, free: 88.95 MB / 442.7 MB Notification: Performance of SimCode: time 7.01e-07/0.9794, allocations: 0 / 0.6893 GB, free: 88.95 MB / 442.7 MB Notification: Performance of Templates: time 0.04147/1.021, allocations: 29.03 MB / 0.7177 GB, free: 87.53 MB / 442.7 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","../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches