Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMPM_Inverter_Polyphase.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMPM_Inverter_Polyphase") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001853/0.001854, allocations: 177.1 kB / 13.64 MB, free: 1.676 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.4/1.4, allocations: 221.3 MB / 235.5 MB, free: 2.941 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00077/0.0007701, allocations: 99.53 kB / 286.5 MB, free: 252 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.462e-05/2.464e-05, allocations: 3.984 kB / 343.9 MB, free: 4.305 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09578/0.09581, allocations: 50.41 MB / 394.3 MB, free: 1.852 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.337/0.4329, allocations: 119.5 MB / 0.5018 GB, free: 15.96 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003732/0.4333, allocations: 107.8 kB / 0.5019 GB, free: 15.86 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5809/1.014, allocations: 169.8 MB / 0.6677 GB, free: 35.19 MB / 426.7 MB Notification: Performance of FrontEnd: time 9.52e-07/1.014, allocations: 0 / 0.6677 GB, free: 35.19 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0003387/1.015, allocations: 179.7 kB / 0.6679 GB, free: 35.02 MB / 426.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.01513/1.03, allocations: 6.706 MB / 0.6744 GB, free: 28.22 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/1.03, allocations: 12.03 kB / 0.6744 GB, free: 28.21 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008759/1.039, allocations: 1.595 MB / 0.676 GB, free: 26.61 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01258/1.051, allocations: 5.944 MB / 0.6818 GB, free: 20.59 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004072/1.052, allocations: 0.5378 MB / 0.6823 GB, free: 20.05 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002165/1.054, allocations: 0.7107 MB / 0.683 GB, free: 19.34 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02196/1.076, allocations: 9.358 MB / 0.6921 GB, free: 9.758 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003645/1.076, allocations: 15.83 kB / 0.6921 GB, free: 9.742 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002407/1.079, allocations: 308 kB / 0.6924 GB, free: 9.441 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002979/1.079, allocations: 342.6 kB / 0.6928 GB, free: 9.105 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01666/1.096, allocations: 7.551 MB / 0.7001 GB, free: 1.547 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3284/1.424, allocations: 30.62 MB / 0.73 GB, free: 45.29 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0143/1.438, allocations: 16.02 MB / 0.7457 GB, free: 33.41 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006076/1.445, allocations: 3.063 MB / 0.7487 GB, free: 33.36 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01547/1.46, allocations: 8.247 MB / 0.7567 GB, free: 32.44 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.874e-05/1.46, allocations: 64.22 kB / 0.7568 GB, free: 32.39 MB / 442.7 MB Notification: Performance of pre-optimization done (n=286): time 4.419e-06/1.46, allocations: 0 / 0.7568 GB, free: 32.39 MB / 442.7 MB Notification: Performance of matching and sorting (n=294): time 0.01346/1.474, allocations: 8.462 MB / 0.765 GB, free: 30.66 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.781e-05/1.474, allocations: 84.62 kB / 0.7651 GB, free: 30.59 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004567/1.478, allocations: 3.187 MB / 0.7682 GB, free: 30.34 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002884/1.479, allocations: 76.52 kB / 0.7683 GB, free: 30.3 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001643/1.48, allocations: 3.185 MB / 0.7714 GB, free: 29.02 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007014/1.481, allocations: 1.005 MB / 0.7724 GB, free: 28.38 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001752/1.481, allocations: 72.16 kB / 0.7725 GB, free: 28.38 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001792/1.481, allocations: 454.8 kB / 0.7729 GB, free: 28.07 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001912/1.483, allocations: 1.416 MB / 0.7743 GB, free: 28.07 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002179/1.485, allocations: 2.529 MB / 0.7768 GB, free: 26.78 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002311/1.488, allocations: 1.9 MB / 0.7786 GB, free: 26.73 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-05/1.488, allocations: 9.875 kB / 0.7786 GB, free: 26.73 MB / 442.7 MB Notification: Performance of matching and sorting (n=477) (initialization): time 0.006779/1.494, allocations: 4.879 MB / 0.7834 GB, free: 26.25 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.813e-05/1.495, allocations: 19.75 kB / 0.7834 GB, free: 26.25 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.754e-05/1.495, allocations: 35.5 kB / 0.7834 GB, free: 26.25 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008474/1.495, allocations: 404.2 kB / 0.7838 GB, free: 26.2 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00313/1.499, allocations: 0.8677 MB / 0.7847 GB, free: 26.2 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004884/1.504, allocations: 7.331 MB / 0.7918 GB, free: 21.01 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003406/1.507, allocations: 185.3 kB / 0.792 GB, free: 21 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003707/1.507, allocations: 162.4 kB / 0.7922 GB, free: 21 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 (452): * Single equations (assignments): 446 * 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%) 5,(1,100.0%) 1,(3,77.8%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005622/1.508, allocations: 335.4 kB / 0.7925 GB, free: 20.88 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005544/1.508, allocations: 402.8 kB / 0.7929 GB, free: 20.67 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007026/1.515, allocations: 4.414 MB / 0.7972 GB, free: 20.18 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-05/1.516, allocations: 32.66 kB / 0.7972 GB, free: 20.18 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.413e-05/1.516, allocations: 11.06 kB / 0.7972 GB, free: 20.18 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.351e-05/1.516, allocations: 13.17 kB / 0.7972 GB, free: 20.18 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01546/1.531, allocations: 10.43 MB / 0.8074 GB, free: 16.09 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.106e-05/1.531, allocations: 9.25 kB / 0.8074 GB, free: 16.09 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001826/1.533, allocations: 449.5 kB / 0.8079 GB, free: 16.08 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001947/1.535, allocations: 0.8739 MB / 0.8087 GB, free: 15.8 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001912/1.535, allocations: 77.14 kB / 0.8088 GB, free: 15.76 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01289/1.548, allocations: 16.29 MB / 0.8247 GB, free: 18.88 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.041e-06/1.548, allocations: 7.781 kB / 0.8247 GB, free: 18.88 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008937/1.557, allocations: 6.729 MB / 0.8313 GB, free: 15.38 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002338/1.559, allocations: 0.8108 MB / 0.8321 GB, free: 14.84 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005927/1.56, allocations: 69.45 kB / 0.8321 GB, free: 14.8 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001824/1.562, allocations: 159.2 kB / 0.8323 GB, free: 14.76 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004727/1.562, allocations: 222.1 kB / 0.8325 GB, free: 14.72 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001662/1.562, allocations: 89.72 kB / 0.8326 GB, free: 14.7 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.003447/1.566, allocations: 2.404 MB / 0.8349 GB, free: 13.77 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.4e-07/1.566, allocations: 2.875 kB / 0.8349 GB, free: 13.77 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.00384/1.57, allocations: 1.279 MB / 0.8362 GB, free: 13.63 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 (222): * Single equations (assignments): 215 * 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%) 5,(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.000896/1.571, allocations: 0.7423 MB / 0.8369 GB, free: 13.38 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.005449/1.576, allocations: 4.23 MB / 0.841 GB, free: 11.43 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/1.576, allocations: 3.031 kB / 0.841 GB, free: 11.43 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003779/1.58, allocations: 2.931 MB / 0.8439 GB, free: 9.754 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004321/1.584, allocations: 1.027 MB / 0.8449 GB, free: 9.469 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01856/1.603, allocations: 10.28 MB / 0.8549 GB, free: 2.68 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007671/1.611, allocations: 4.738 MB / 0.8596 GB, free: 15.96 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.00502/1.616, allocations: 0.8965 MB / 0.8604 GB, free: 15.34 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008761/1.617, allocations: 277.6 kB / 0.8607 GB, free: 15.09 MB / 474.7 MB Notification: Performance of SimCode: time 1.473e-06/1.617, allocations: 0 / 0.8607 GB, free: 15.09 MB / 474.7 MB Notification: Performance of Templates: time 0.3602/1.977, allocations: 61.45 MB / 0.9207 GB, free: 74.78 MB / 474.7 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMPM_Inverter_Polyphase.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMPM_Inverter_Polyphase.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMPM_Inverter_Polyphase.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMPM_Inverter_Polyphase.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMPM_Inverter_Polyphase.sim & ./Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMPM_Inverter_Polyphase -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMPM_Inverter_Polyphase.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMPM_Inverter_Polyphase.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches