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.SMR_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.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_4.0.0_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_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009277/0.0009277, allocations: 176.2 kB / 8.348 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.378/1.378, allocations: 221.5 MB / 230.3 MB, free: 7.504 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.0009345/0.0009344, allocations: 93.75 kB / 281.2 MB, free: 5.246 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.985e-05/1.991e-05, allocations: 4 kB / 337.1 MB, free: 9.957 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1161/0.1162, allocations: 50.41 MB / 387.5 MB, free: 7.508 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3684/0.4846, allocations: 115 MB / 0.4907 GB, free: 11.74 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002913/0.485, allocations: 99.94 kB / 0.4908 GB, free: 11.64 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6073/1.092, allocations: 157.9 MB / 0.645 GB, free: 61.13 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.363e-06/1.092, allocations: 0 / 0.645 GB, free: 61.13 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.000559/1.093, allocations: 175.1 kB / 0.6451 GB, free: 60.96 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: 1854 * Number of variables: 1854 Notification: Performance of Generate backend data structure: time 0.02/1.113, allocations: 6.441 MB / 0.6514 GB, free: 54.45 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.973e-05/1.113, allocations: 12.03 kB / 0.6514 GB, free: 54.43 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008525/1.122, allocations: 1.517 MB / 0.6529 GB, free: 52.91 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01402/1.136, allocations: 5.741 MB / 0.6585 GB, free: 47.18 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004839/1.136, allocations: 228 kB / 0.6588 GB, free: 46.96 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002578/1.139, allocations: 415.8 kB / 0.6591 GB, free: 46.55 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01446/1.153, allocations: 6.913 MB / 0.6659 GB, free: 39.63 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01867/1.172, allocations: 8.011 MB / 0.6737 GB, free: 31.41 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002994/1.172, allocations: 11.98 kB / 0.6737 GB, free: 31.4 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001786/1.174, allocations: 7.984 kB / 0.6737 GB, free: 31.39 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000245/1.174, allocations: 322.2 kB / 0.674 GB, free: 31.08 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0394/1.214, allocations: 27.5 MB / 0.7009 GB, free: 3.207 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01272/1.226, allocations: 16.28 MB / 0.7168 GB, free: 1.043 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.5233/1.75, allocations: 2.762 MB / 0.7195 GB, free: 75.72 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01567/1.765, allocations: 7.575 MB / 0.7269 GB, free: 74.8 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.919e-05/1.766, allocations: 65.34 kB / 0.727 GB, free: 74.75 MB / 442.8 MB Notification: Performance of pre-optimization done (n=258): time 5.25e-06/1.766, allocations: 0 / 0.727 GB, free: 74.75 MB / 442.8 MB Notification: Performance of matching and sorting (n=264): time 0.0164/1.782, allocations: 8.142 MB / 0.7349 GB, free: 73.37 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.239e-05/1.782, allocations: 80.31 kB / 0.735 GB, free: 73.3 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004871/1.787, allocations: 2.352 MB / 0.7373 GB, free: 73.07 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0005106/1.787, allocations: 26.67 kB / 0.7373 GB, free: 73.04 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002332/1.79, allocations: 3.043 MB / 0.7403 GB, free: 71.67 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001413/1.791, allocations: 0.8768 MB / 0.7411 GB, free: 71.09 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001945/1.791, allocations: 0 / 0.7411 GB, free: 71.09 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 0.0002386/1.792, allocations: 442.9 kB / 0.7416 GB, free: 70.77 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002177/1.794, allocations: 1.246 MB / 0.7428 GB, free: 70.77 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002345/1.796, allocations: 2.235 MB / 0.745 GB, free: 69.6 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003715/1.8, allocations: 1.945 MB / 0.7469 GB, free: 69.55 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.735e-05/1.8, allocations: 9.344 kB / 0.7469 GB, free: 69.55 MB / 442.8 MB Notification: Performance of matching and sorting (n=433) (initialization): time 0.007913/1.808, allocations: 4.396 MB / 0.7512 GB, free: 69.11 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.029e-05/1.808, allocations: 15.5 kB / 0.7512 GB, free: 69.11 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.933e-05/1.808, allocations: 35.09 kB / 0.7512 GB, free: 69.11 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008436/1.809, allocations: 372.4 kB / 0.7516 GB, free: 69.06 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003146/1.812, allocations: 0.7899 MB / 0.7523 GB, free: 69.06 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005435/1.818, allocations: 7.046 MB / 0.7592 GB, free: 64.12 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003684/1.821, allocations: 98.8 kB / 0.7593 GB, free: 64.11 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001022/1.822, allocations: 149.2 kB / 0.7595 GB, free: 64.11 MB / 442.8 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 (408): * Single equations (assignments): 402 * 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,(1,100.0%) 16} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001487/1.824, allocations: 203.2 kB / 0.7596 GB, free: 63.98 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001157/1.825, allocations: 327.8 kB / 0.76 GB, free: 63.81 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008664/1.834, allocations: 4.071 MB / 0.7639 GB, free: 63.34 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.524e-05/1.834, allocations: 25.56 kB / 0.764 GB, free: 63.34 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.013e-05/1.834, allocations: 13.09 kB / 0.764 GB, free: 63.34 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.069e-05/1.834, allocations: 13.59 kB / 0.764 GB, free: 63.34 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02236/1.856, allocations: 8.827 MB / 0.7726 GB, free: 62.52 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-05/1.856, allocations: 3.656 kB / 0.7726 GB, free: 62.52 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002233/1.859, allocations: 413.9 kB / 0.773 GB, free: 62.52 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002486/1.861, allocations: 0.8371 MB / 0.7738 GB, free: 62.33 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006089/1.862, allocations: 36.55 kB / 0.7739 GB, free: 62.32 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01341/1.875, allocations: 15.42 MB / 0.7889 GB, free: 50.16 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.352e-06/1.875, allocations: 3.5 kB / 0.7889 GB, free: 50.16 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0123/1.888, allocations: 6.089 MB / 0.7949 GB, free: 47.07 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002635/1.89, allocations: 0.7046 MB / 0.7956 GB, free: 46.61 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001545/1.892, allocations: 18.22 kB / 0.7956 GB, free: 46.6 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002895/1.895, allocations: 107.8 kB / 0.7957 GB, free: 46.6 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007135/1.895, allocations: 203 kB / 0.7959 GB, free: 46.57 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003811/1.896, allocations: 74.86 kB / 0.7959 GB, free: 46.55 MB / 442.8 MB Notification: Performance of sorting global known variables: time 0.00414/1.9, allocations: 1.738 MB / 0.7976 GB, free: 45.82 MB / 442.8 MB Notification: Performance of sort global known variables: time 5.11e-07/1.9, allocations: 0 / 0.7976 GB, free: 45.82 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.00662/1.907, allocations: 1.05 MB / 0.7987 GB, free: 45.8 MB / 442.8 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 (195): * Single equations (assignments): 188 * 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%) 12,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001044/1.908, allocations: 468.9 kB / 0.7991 GB, free: 45.66 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.005782/1.913, allocations: 3.726 MB / 0.8027 GB, free: 43.89 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 9.207e-06/1.914, allocations: 14.08 kB / 0.8028 GB, free: 43.89 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 0.00449/1.918, allocations: 2.641 MB / 0.8053 GB, free: 42.37 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005763/1.924, allocations: 0.6651 MB / 0.806 GB, free: 42.19 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.028/1.952, allocations: 9.63 MB / 0.8154 GB, free: 38.11 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007351/1.959, allocations: 4.348 MB / 0.8196 GB, free: 35.35 MB / 442.8 MB Notification: Performance of simCode: alias equations: time 0.004042/1.963, allocations: 0.7855 MB / 0.8204 GB, free: 34.81 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001109/1.964, allocations: 225.8 kB / 0.8206 GB, free: 34.6 MB / 442.8 MB Notification: Performance of SimCode: time 1.663e-06/1.964, allocations: 0 / 0.8206 GB, free: 34.6 MB / 442.8 MB Notification: Performance of Templates: time 0.08251/2.047, allocations: 42.95 MB / 0.8626 GB, free: 6.906 MB / 442.8 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase.sim & ./Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches