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.001859/0.001859, allocations: 202.1 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.735/1.735, allocations: 225.6 MB / 234.8 MB, free: 3.266 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008317/0.0008316, allocations: 100.9 kB / 286.7 MB, free: 5.281 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.654e-05/1.651e-05, allocations: 0 / 343.7 MB, free: 8.273 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09997/0.1, allocations: 51.48 MB / 395.2 MB, free: 4.754 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3701/0.4701, allocations: 120 MB / 0.5031 GB, free: 5.863 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002482/0.4704, allocations: 111.6 kB / 0.5032 GB, free: 5.801 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6028/1.073, allocations: 173.5 MB / 0.6726 GB, free: 58.69 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.495e-06/1.073, allocations: 0 / 0.6726 GB, free: 58.69 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0005814/1.074, allocations: 172.1 kB / 0.6728 GB, free: 58.66 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.02109/1.095, allocations: 6.744 MB / 0.6794 GB, free: 54.45 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.154e-05/1.095, allocations: 7.656 kB / 0.6794 GB, free: 54.45 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009065/1.104, allocations: 1.605 MB / 0.681 GB, free: 53.65 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01479/1.119, allocations: 6.003 MB / 0.6868 GB, free: 49.64 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004397/1.119, allocations: 239.7 kB / 0.687 GB, free: 49.64 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002803/1.122, allocations: 430.8 kB / 0.6875 GB, free: 49.62 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01766/1.14, allocations: 7.11 MB / 0.6944 GB, free: 46.01 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02447/1.164, allocations: 8.302 MB / 0.7025 GB, free: 37.82 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003459/1.165, allocations: 7.906 kB / 0.7025 GB, free: 37.81 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001933/1.167, allocations: 4 kB / 0.7025 GB, free: 37.8 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003065/1.167, allocations: 350.6 kB / 0.7028 GB, free: 37.46 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05503/1.222, allocations: 29.56 MB / 0.7317 GB, free: 7.375 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3026/1.525, allocations: 17.02 MB / 0.7483 GB, free: 40.94 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008202/1.533, allocations: 4.195 MB / 0.7524 GB, free: 40.89 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01695/1.55, allocations: 9.259 MB / 0.7615 GB, free: 39.43 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.495e-05/1.55, allocations: 59.58 kB / 0.7615 GB, free: 39.39 MB / 442.7 MB Notification: Performance of pre-optimization done (n=288): time 5.44e-06/1.55, allocations: 6.344 kB / 0.7615 GB, free: 39.39 MB / 442.7 MB Notification: Performance of matching and sorting (n=296): time 0.02007/1.57, allocations: 9.783 MB / 0.7711 GB, free: 37.92 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.442e-05/1.57, allocations: 80.33 kB / 0.7712 GB, free: 37.85 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005429/1.576, allocations: 2.544 MB / 0.7737 GB, free: 37.61 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004726/1.576, allocations: 25.7 kB / 0.7737 GB, free: 37.58 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002039/1.578, allocations: 3.205 MB / 0.7768 GB, free: 36.13 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00108/1.579, allocations: 0.972 MB / 0.7778 GB, free: 35.49 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003765/1.58, allocations: 3.469 kB / 0.7778 GB, free: 35.49 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002623/1.58, allocations: 456.1 kB / 0.7782 GB, free: 35.18 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002172/1.582, allocations: 1.399 MB / 0.7796 GB, free: 35.17 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002681/1.585, allocations: 2.484 MB / 0.782 GB, free: 33.89 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00568/1.591, allocations: 2.38 MB / 0.7843 GB, free: 33.85 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.267e-05/1.591, allocations: 9.312 kB / 0.7843 GB, free: 33.85 MB / 442.7 MB Notification: Performance of matching and sorting (n=479) (initialization): time 0.01091/1.602, allocations: 5.249 MB / 0.7895 GB, free: 33.38 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.172e-05/1.602, allocations: 22.5 kB / 0.7895 GB, free: 33.38 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.85e-05/1.602, allocations: 37.89 kB / 0.7895 GB, free: 33.38 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001324/1.603, allocations: 0.546 MB / 0.79 GB, free: 33.33 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003506/1.607, allocations: 0.8674 MB / 0.7909 GB, free: 33.33 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008165/1.615, allocations: 8.312 MB / 0.799 GB, free: 28.34 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003708/1.619, allocations: 108.8 kB / 0.7991 GB, free: 28.33 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008322/1.619, allocations: 162.4 kB / 0.7993 GB, free: 28.33 MB / 442.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (449): * Single equations (assignments): 443 * 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.00121/1.621, allocations: 217.9 kB / 0.7995 GB, free: 28.2 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001217/1.622, allocations: 366.4 kB / 0.7998 GB, free: 28.01 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0112/1.633, allocations: 4.891 MB / 0.8046 GB, free: 27.52 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.085e-05/1.633, allocations: 30.09 kB / 0.8046 GB, free: 27.52 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.889e-05/1.633, allocations: 14.88 kB / 0.8046 GB, free: 27.52 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.049e-05/1.633, allocations: 14.34 kB / 0.8047 GB, free: 27.52 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02135/1.655, allocations: 10.17 MB / 0.8146 GB, free: 24.62 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.987e-05/1.655, allocations: 9.734 kB / 0.8146 GB, free: 24.62 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002164/1.657, allocations: 461.5 kB / 0.815 GB, free: 24.6 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002615/1.659, allocations: 1.028 MB / 0.816 GB, free: 24.27 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004135/1.66, allocations: 35.34 kB / 0.8161 GB, free: 24.26 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01766/1.678, allocations: 16.94 MB / 0.8326 GB, free: 27.36 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.127e-05/1.678, allocations: 7.844 kB / 0.8326 GB, free: 27.36 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01308/1.691, allocations: 7.284 MB / 0.8397 GB, free: 23.71 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002789/1.694, allocations: 0.7645 MB / 0.8405 GB, free: 23.21 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001505/1.695, allocations: 22.31 kB / 0.8405 GB, free: 23.21 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002858/1.698, allocations: 107.3 kB / 0.8406 GB, free: 23.2 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006083/1.699, allocations: 225.7 kB / 0.8408 GB, free: 23.16 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002787/1.699, allocations: 85.34 kB / 0.8409 GB, free: 23.14 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.005209/1.704, allocations: 1.879 MB / 0.8427 GB, free: 22.36 MB / 458.7 MB Notification: Performance of sort global known variables: time 4.7e-07/1.704, allocations: 0 / 0.8427 GB, free: 22.36 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.006384/1.71, allocations: 1.143 MB / 0.8439 GB, free: 22.34 MB / 458.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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (220): * Single equations (assignments): 213 * 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.001195/1.712, allocations: 0.5376 MB / 0.8444 GB, free: 22.15 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.006411/1.718, allocations: 4.182 MB / 0.8485 GB, free: 20.19 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 7.734e-06/1.718, allocations: 1.562 kB / 0.8485 GB, free: 20.19 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004159/1.722, allocations: 2.887 MB / 0.8513 GB, free: 18.57 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004712/1.727, allocations: 0.7668 MB / 0.852 GB, free: 18.37 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0252/1.752, allocations: 10.16 MB / 0.862 GB, free: 14.04 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007087/1.759, allocations: 4.479 MB / 0.8663 GB, free: 12.45 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.003787/1.763, allocations: 0.8373 MB / 0.8672 GB, free: 12.34 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001032/1.764, allocations: 257.2 kB / 0.8674 GB, free: 12.32 MB / 458.7 MB Notification: Performance of SimCode: time 1.202e-06/1.764, allocations: 6.859 kB / 0.8674 GB, free: 12.32 MB / 458.7 MB Notification: Performance of Templates: time 0.3752/2.14, allocations: 49.1 MB / 0.9154 GB, free: 82.45 MB / 474.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/jenkins/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