Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMPM_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.SMPM_Inverter_Polyphase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|loadInertia3.phi|loadInertia3.w|loadInertiaM.phi|loadInertiaM.w|smpm3.is.1.|smpm3.is.2.|smpm3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smpm3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smpm3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smpm3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smpmM.is.1.|smpmM.is.2.|smpmM.is.3.|smpmM.is.4.|smpmM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smpmM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smpmM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smpmM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|vfController.x|vfController3.x",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMPM_Inverter_Polyphase") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMPM_Inverter_Polyphase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|loadInertia3.phi|loadInertia3.w|loadInertiaM.phi|loadInertiaM.w|smpm3.is.1.|smpm3.is.2.|smpm3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smpm3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smpm3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smpm3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smpmM.is.1.|smpmM.is.2.|smpmM.is.3.|smpmM.is.4.|smpmM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smpmM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smpmM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smpmM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|vfController.x|vfController3.x",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMPM_Inverter_Polyphase") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009897/0.0009898, 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.258/1.258, 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.000776/0.000776, allocations: 100.5 kB / 297.5 MB, free: 6.66 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002826/0.0002826, allocations: 8 kB / 358.1 MB, free: 10.01 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2135/0.2138, allocations: 51.29 MB / 409.4 MB, free: 27.6 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2905/0.5043, allocations: 120.9 MB / 0.5178 GB, free: 96.15 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002444/0.5046, allocations: 104.2 kB / 0.5179 GB, free: 96.09 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5735/1.078, allocations: 175.1 MB / 0.6889 GB, free: 37.37 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.465e-06/1.078, allocations: 7.109 kB / 0.6889 GB, free: 37.37 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0004735/1.079, allocations: 168.5 kB / 0.6891 GB, free: 37.36 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: 1932 * Number of variables: 1932 Notification: Performance of Generate backend data structure: time 0.02028/1.099, allocations: 7.309 MB / 0.6962 GB, free: 34.98 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.332e-05/1.099, allocations: 12.69 kB / 0.6962 GB, free: 34.98 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008745/1.108, allocations: 1.606 MB / 0.6978 GB, free: 34.57 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01109/1.119, allocations: 5.464 MB / 0.7031 GB, free: 33.6 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000362/1.119, allocations: 0.54 MB / 0.7036 GB, free: 33.59 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001866/1.121, allocations: 0.711 MB / 0.7043 GB, free: 33.58 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01852/1.14, allocations: 9.588 MB / 0.7137 GB, free: 32.78 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001746/1.14, allocations: 11.81 kB / 0.7137 GB, free: 32.77 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007296/1.141, allocations: 305.3 kB / 0.714 GB, free: 32.77 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002521/1.141, allocations: 343.9 kB / 0.7143 GB, free: 32.76 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01416/1.155, allocations: 7.8 MB / 0.7219 GB, free: 32.69 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05112/1.206, allocations: 31.02 MB / 0.7522 GB, free: 23.76 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01213/1.218, allocations: 17.34 MB / 0.7692 GB, free: 8.32 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007238/1.226, allocations: 4.44 MB / 0.7735 GB, free: 7.074 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01572/1.241, allocations: 9.575 MB / 0.7829 GB, free: 1.883 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.781e-05/1.241, allocations: 71.97 kB / 0.7829 GB, free: 1.812 MB / 442.7 MB Notification: Performance of pre-optimization done (n=290): time 4.949e-06/1.241, allocations: 4 kB / 0.7829 GB, free: 1.809 MB / 442.7 MB Notification: Performance of matching and sorting (n=298): time 0.02721/1.269, allocations: 12.59 MB / 0.7952 GB, free: 11.66 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.593e-05/1.269, allocations: 81.19 kB / 0.7953 GB, free: 11.59 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007787/1.277, allocations: 3.66 MB / 0.7989 GB, free: 10.18 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006025/1.277, allocations: 81.2 kB / 0.799 GB, free: 10.11 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002603/1.28, allocations: 3.18 MB / 0.8021 GB, free: 7.695 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001491/1.281, allocations: 1.026 MB / 0.8031 GB, free: 6.902 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000585/1.282, allocations: 74.41 kB / 0.8031 GB, free: 6.844 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0003982/1.282, allocations: 451 kB / 0.8036 GB, free: 6.477 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003252/1.286, allocations: 1.569 MB / 0.8051 GB, free: 5.863 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003957/1.29, allocations: 2.692 MB / 0.8077 GB, free: 3.852 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006721/1.296, allocations: 4.543 MB / 0.8122 GB, free: 0.9258 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.674e-05/1.296, allocations: 10.38 kB / 0.8122 GB, free: 0.9258 MB / 458.7 MB Notification: Performance of matching and sorting (n=481) (initialization): time 0.01238/1.309, allocations: 5.408 MB / 0.8175 GB, free: 13.02 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.005e-05/1.309, allocations: 27.5 kB / 0.8175 GB, free: 13 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-05/1.309, allocations: 36 kB / 0.8175 GB, free: 12.97 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001343/1.31, allocations: 0.5561 MB / 0.8181 GB, free: 12.5 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00327/1.314, allocations: 0.8677 MB / 0.8189 GB, free: 11.81 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008404/1.322, allocations: 8.672 MB / 0.8274 GB, free: 3.309 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003689/1.326, allocations: 184.2 kB / 0.8275 GB, free: 3.156 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000627/1.326, allocations: 159 kB / 0.8277 GB, free: 3.004 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 158 * 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 (451): * Single equations (assignments): 445 * 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.004636/1.331, allocations: 2.14 MB / 0.8298 GB, free: 1.16 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001043/1.332, allocations: 417.8 kB / 0.8302 GB, free: 0.7539 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01346/1.346, allocations: 5.266 MB / 0.8353 GB, free: 13.5 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.609e-05/1.346, allocations: 35.73 kB / 0.8354 GB, free: 13.47 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.448e-05/1.346, allocations: 16 kB / 0.8354 GB, free: 13.46 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.517e-05/1.346, allocations: 14.11 kB / 0.8354 GB, free: 13.46 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02099/1.367, allocations: 11.13 MB / 0.8463 GB, free: 4.273 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.338e-05/1.367, allocations: 8.031 kB / 0.8463 GB, free: 4.266 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001956/1.369, allocations: 464.7 kB / 0.8467 GB, free: 3.887 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00259/1.371, allocations: 1.057 MB / 0.8478 GB, free: 3.016 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002926/1.372, allocations: 82.31 kB / 0.8478 GB, free: 2.941 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2407/1.612, allocations: 17.6 MB / 0.865 GB, free: 70.13 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/1.612, allocations: 7.75 kB / 0.865 GB, free: 70.13 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01087/1.623, allocations: 6.989 MB / 0.8718 GB, free: 69.38 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002694/1.626, allocations: 0.8407 MB / 0.8727 GB, free: 69.28 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006409/1.627, allocations: 72.09 kB / 0.8727 GB, free: 69.28 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001865/1.628, allocations: 156.8 kB / 0.8729 GB, free: 69.28 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005172/1.629, allocations: 225.1 kB / 0.8731 GB, free: 69.27 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001644/1.629, allocations: 87.42 kB / 0.8732 GB, free: 69.27 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.003612/1.633, allocations: 2.468 MB / 0.8756 GB, free: 69.09 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.2e-07/1.633, allocations: 0 / 0.8756 GB, free: 69.09 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.004816/1.638, allocations: 1.312 MB / 0.8769 GB, free: 69.09 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 14 (vfController3.x,smpmM.inertiaRotor.w,smpmM.stator.core.Phi.re,smpmM.stator.core.Phi.im,smpmM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smpmM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,smpm3.inertiaRotor.w,smpm3.stator.core.Phi.re,smpm3.stator.core.Phi.im,smpm3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smpm3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,loadInertiaM.phi,loadInertia3.phi,vfController.x) * 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 (223): * Single equations (assignments): 216 * 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%) 14,(2,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009197/1.639, allocations: 0.6044 MB / 0.8775 GB, free: 68.97 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.00604/1.645, allocations: 4.59 MB / 0.8819 GB, free: 68.23 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.51e-06/1.645, allocations: 3.875 kB / 0.882 GB, free: 68.23 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004/1.649, allocations: 3.13 MB / 0.885 GB, free: 67.38 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008097/1.657, allocations: 1.071 MB / 0.8861 GB, free: 67.36 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02155/1.678, allocations: 15.27 MB / 0.901 GB, free: 60.91 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003788/1.682, allocations: 4.361 MB / 0.9052 GB, free: 59.98 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.003574/1.686, allocations: 0.902 MB / 0.9061 GB, free: 59.86 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007478/1.687, allocations: 273.1 kB / 0.9064 GB, free: 59.86 MB / 490.7 MB Notification: Performance of SimCode: time 7.51e-07/1.687, allocations: 0 / 0.9064 GB, free: 59.86 MB / 490.7 MB Notification: Performance of Templates: time 0.0956/1.782, allocations: 63.24 MB / 0.9681 GB, free: 51.3 MB / 490.7 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMPM_Inverter_Polyphase.makefile (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMPM_Inverter_Polyphase.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMPM_Inverter_Polyphase.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMPM_Inverter_Polyphase.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMPM_Inverter_Polyphase.sim & ./Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMPM_Inverter_Polyphase -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMPM_Inverter_Polyphase.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMPM_Inverter_Polyphase_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/SynchronousMachines/ComparisonPolyphase/SMPM_Inverter_Polyphase/SMPM_Inverter_Polyphase.csv","../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMPM_Inverter_Polyphase.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches