Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase.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.ComparisonPolyphase.SMR_Inverter_Polyphase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|loadInertia3.phi|loadInertia3.w|loadInertiaM.phi|loadInertiaM.w|smr3.is.1.|smr3.is.2.|smr3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smr3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smr3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smr3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smrM.is.1.|smrM.is.2.|smrM.is.3.|smrM.is.4.|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|vfController3.x|vfControllerM.x",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|loadInertia3.phi|loadInertia3.w|loadInertiaM.phi|loadInertiaM.w|smr3.is.1.|smr3.is.2.|smr3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smr3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smr3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smr3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smrM.is.1.|smrM.is.2.|smrM.is.3.|smrM.is.4.|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|vfController3.x|vfControllerM.x",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001065/0.001065, allocations: 202.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.448/1.448, allocations: 225.6 MB / 234.8 MB, free: 3.285 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009582/0.0009581, allocations: 97.34 kB / 286.7 MB, free: 5.293 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.391e-05/1.385e-05, allocations: 4 kB / 343.7 MB, free: 8.266 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08994/0.08996, allocations: 51.47 MB / 395.2 MB, free: 4.754 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3648/0.4548, allocations: 116.1 MB / 0.4993 GB, free: 9.664 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002197/0.455, allocations: 103.3 kB / 0.4994 GB, free: 9.609 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6078/1.063, allocations: 163.5 MB / 0.659 GB, free: 61.68 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.214e-06/1.063, allocations: 4 kB / 0.659 GB, free: 61.68 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0006301/1.064, allocations: 167.2 kB / 0.6592 GB, free: 61.65 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: 1854 * Number of variables: 1854 Notification: Performance of Generate backend data structure: time 0.01985/1.083, allocations: 6.493 MB / 0.6655 GB, free: 58.68 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.835e-05/1.083, allocations: 11.09 kB / 0.6656 GB, free: 58.68 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009118/1.093, allocations: 1.517 MB / 0.667 GB, free: 58.16 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0136/1.106, allocations: 5.793 MB / 0.6727 GB, free: 55.21 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003278/1.107, allocations: 226.8 kB / 0.6729 GB, free: 55.21 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002208/1.109, allocations: 422.3 kB / 0.6733 GB, free: 55.2 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01513/1.124, allocations: 6.902 MB / 0.6801 GB, free: 52.15 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01914/1.143, allocations: 8.018 MB / 0.6879 GB, free: 48.59 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001828/1.143, allocations: 11.64 kB / 0.6879 GB, free: 48.58 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008824/1.144, allocations: 3.031 kB / 0.6879 GB, free: 48.58 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002401/1.145, allocations: 330 kB / 0.6882 GB, free: 48.54 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03843/1.183, allocations: 27.66 MB / 0.7152 GB, free: 23.79 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01112/1.194, allocations: 17.44 MB / 0.7323 GB, free: 4.293 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0063/1.2, allocations: 3.917 MB / 0.7361 GB, free: 376 kB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2989/1.499, allocations: 8.804 MB / 0.7447 GB, free: 57.71 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.813e-05/1.5, allocations: 62.28 kB / 0.7447 GB, free: 57.67 MB / 442.7 MB Notification: Performance of pre-optimization done (n=258): time 9.498e-06/1.5, allocations: 3.188 kB / 0.7447 GB, free: 57.67 MB / 442.7 MB Notification: Performance of matching and sorting (n=264): time 0.03286/1.532, allocations: 8.993 MB / 0.7535 GB, free: 56.26 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.493e-05/1.533, allocations: 79.64 kB / 0.7536 GB, free: 56.19 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008464/1.541, allocations: 2.366 MB / 0.7559 GB, free: 55.96 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000712/1.542, allocations: 30.27 kB / 0.7559 GB, free: 55.93 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003305/1.545, allocations: 3.056 MB / 0.7589 GB, free: 54.48 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001549/1.547, allocations: 0.875 MB / 0.7598 GB, free: 53.91 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007584/1.548, allocations: 0 / 0.7598 GB, free: 53.91 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0004477/1.548, allocations: 439.4 kB / 0.7602 GB, free: 53.6 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003556/1.552, allocations: 1.298 MB / 0.7615 GB, free: 53.59 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004191/1.556, allocations: 2.293 MB / 0.7637 GB, free: 52.42 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007227/1.563, allocations: 2.137 MB / 0.7658 GB, free: 52.38 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.82e-05/1.563, allocations: 7.812 kB / 0.7658 GB, free: 52.38 MB / 442.7 MB Notification: Performance of matching and sorting (n=433) (initialization): time 0.01486/1.578, allocations: 4.831 MB / 0.7705 GB, free: 51.92 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000126/1.578, allocations: 21.94 kB / 0.7705 GB, free: 51.92 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001109/1.578, allocations: 32.44 kB / 0.7706 GB, free: 51.92 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001993/1.58, allocations: 0.5431 MB / 0.7711 GB, free: 51.88 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004503/1.585, allocations: 0.7792 MB / 0.7719 GB, free: 51.88 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01025/1.595, allocations: 8.305 MB / 0.78 GB, free: 46.88 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004862/1.6, allocations: 104.8 kB / 0.7801 GB, free: 46.88 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008671/1.601, allocations: 146.5 kB / 0.7802 GB, free: 46.88 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 144 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (403): * Single equations (assignments): 397 * 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 {(1,100.0%) 1,(1,100.0%) 8,(1,100.0%) 1,(2,100.0%) 17} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001411/1.602, allocations: 198.2 kB / 0.7804 GB, free: 46.75 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001393/1.604, allocations: 328.8 kB / 0.7807 GB, free: 46.58 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01428/1.618, allocations: 4.535 MB / 0.7851 GB, free: 46.1 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.849e-05/1.618, allocations: 26.06 kB / 0.7852 GB, free: 46.1 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.181e-05/1.618, allocations: 13.06 kB / 0.7852 GB, free: 46.1 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.633e-05/1.618, allocations: 12.7 kB / 0.7852 GB, free: 46.1 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03027/1.649, allocations: 9.433 MB / 0.7944 GB, free: 43.68 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.94e-05/1.649, allocations: 7.188 kB / 0.7944 GB, free: 43.68 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002654/1.651, allocations: 412.2 kB / 0.7948 GB, free: 43.67 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003632/1.655, allocations: 1.003 MB / 0.7958 GB, free: 43.37 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003217/1.655, allocations: 34.42 kB / 0.7958 GB, free: 43.36 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02058/1.676, allocations: 16.69 MB / 0.8121 GB, free: 30.61 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.629e-06/1.676, allocations: 7.938 kB / 0.8121 GB, free: 30.61 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01548/1.691, allocations: 6.627 MB / 0.8186 GB, free: 27.33 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002678/1.694, allocations: 0.7065 MB / 0.8193 GB, free: 26.86 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001346/1.696, allocations: 26.7 kB / 0.8193 GB, free: 26.85 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003591/1.699, allocations: 103.8 kB / 0.8194 GB, free: 26.84 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006955/1.7, allocations: 201.7 kB / 0.8196 GB, free: 26.81 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002522/1.7, allocations: 76.2 kB / 0.8197 GB, free: 26.8 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.003941/1.704, allocations: 1.748 MB / 0.8214 GB, free: 26.06 MB / 442.7 MB Notification: Performance of sort global known variables: time 5.61e-07/1.704, allocations: 0 / 0.8214 GB, free: 26.06 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0063/1.71, allocations: 1.078 MB / 0.8224 GB, free: 26.03 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 14 (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,smr3.inertiaRotor.w,smr3.stator.core.Phi.re,smr3.stator.core.Phi.im,smr3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smr3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,loadInertiaM.phi,loadInertia3.phi,vfController3.x,vfControllerM.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (192): * Single equations (assignments): 185 * 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 {(1,100.0%) 8,(4,93.8%) 33,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 8,(2,100.0%) 12,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001054/1.712, allocations: 480 kB / 0.8229 GB, free: 25.87 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.006999/1.719, allocations: 3.901 MB / 0.8267 GB, free: 24.01 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.863e-06/1.719, allocations: 0.9375 kB / 0.8267 GB, free: 24.01 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004978/1.724, allocations: 2.728 MB / 0.8294 GB, free: 22.45 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005065/1.729, allocations: 0.6828 MB / 0.83 GB, free: 22.28 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01903/1.748, allocations: 9.773 MB / 0.8396 GB, free: 18.16 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003631/1.751, allocations: 4.361 MB / 0.8438 GB, free: 16.59 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.003194/1.755, allocations: 0.7782 MB / 0.8446 GB, free: 16.49 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006281/1.755, allocations: 233.9 kB / 0.8448 GB, free: 16.48 MB / 442.7 MB Notification: Performance of SimCode: time 1.754e-06/1.755, allocations: 0 / 0.8448 GB, free: 16.48 MB / 442.7 MB Notification: Performance of Templates: time 0.07674/1.832, allocations: 44.75 MB / 0.8885 GB, free: 10.26 MB / 458.7 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase.makefile (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase.sim & ./Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/SynchronousMachines/ComparisonPolyphase/SMR_Inverter_Polyphase/SMR_Inverter_Polyphase.csv","../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches