Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|loadInertia3.phi|loadInertia3.w|loadInertiaM.phi|loadInertiaM.w|smr3.is.1.|smr3.is.2.|smr3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smr3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smr3.stator.strayReluctance.port_p.Phi.im|smr3.stator.strayReluctance.port_p.Phi.re|smrM.is.1.|smrM.is.2.|smrM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smrM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smrM.stator.strayReluctance.port_p.Phi.im|smrM.stator.strayReluctance.port_p.Phi.re|vfController3.x|vfControllerM.x",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|loadInertia3.phi|loadInertia3.w|loadInertiaM.phi|loadInertiaM.w|smr3.is.1.|smr3.is.2.|smr3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smr3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smr3.stator.strayReluctance.port_p.Phi.im|smr3.stator.strayReluctance.port_p.Phi.re|smrM.is.1.|smrM.is.2.|smrM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smrM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smrM.stator.strayReluctance.port_p.Phi.im|smrM.stator.strayReluctance.port_p.Phi.re|vfController3.x|vfControllerM.x",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001558/0.001558, allocations: 181.4 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.004/2.004, allocations: 205.2 MB / 219.4 MB, free: 14.21 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001049/0.00105, allocations: 90.64 kB / 267.5 MB, free: 14.05 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.121e-05/3.139e-05, allocations: 4 kB / 321.5 MB, free: 17.83 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1002/0.1002, allocations: 47.58 MB / 369.1 MB, free: 2.188 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4482/0.5485, allocations: 113.3 MB / 482.4 MB, free: 12.47 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00033/0.5489, allocations: 87.33 kB / 482.4 MB, free: 12.43 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9994/1.548, allocations: 159.4 MB / 0.6268 GB, free: 55.48 MB / 410.7 MB Notification: Performance of FrontEnd: time 4.718e-06/1.548, allocations: 0 / 0.6268 GB, free: 55.48 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0007746/1.549, allocations: 167.8 kB / 0.627 GB, free: 55.32 MB / 410.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.03196/1.581, allocations: 6.423 MB / 0.6332 GB, free: 48.8 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.627e-05/1.581, allocations: 12.03 kB / 0.6333 GB, free: 48.79 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01391/1.595, allocations: 1.521 MB / 0.6347 GB, free: 47.26 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02381/1.619, allocations: 5.738 MB / 0.6403 GB, free: 41.45 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008634/1.62, allocations: 0.5177 MB / 0.6409 GB, free: 40.93 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003735/1.624, allocations: 0.6756 MB / 0.6415 GB, free: 40.25 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03576/1.66, allocations: 9.055 MB / 0.6504 GB, free: 30.99 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004812/1.66, allocations: 15.83 kB / 0.6504 GB, free: 30.97 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003124/1.663, allocations: 292 kB / 0.6506 GB, free: 30.69 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004364/1.664, allocations: 326.1 kB / 0.651 GB, free: 30.37 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02715/1.691, allocations: 7.323 MB / 0.6581 GB, free: 23.04 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08544/1.776, allocations: 28.86 MB / 0.6863 GB, free: 9.547 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3732/2.15, allocations: 16.42 MB / 0.7023 GB, free: 57.01 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00858/2.158, allocations: 2.859 MB / 0.7051 GB, free: 56.96 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02507/2.184, allocations: 7.719 MB / 0.7127 GB, free: 56.06 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.749e-05/2.184, allocations: 69.11 kB / 0.7127 GB, free: 56.01 MB / 426.7 MB Notification: Performance of pre-optimization done (n=254): time 6.823e-06/2.184, allocations: 0 / 0.7127 GB, free: 56.01 MB / 426.7 MB Notification: Performance of matching and sorting (n=260): time 0.024/2.208, allocations: 7.747 MB / 0.7203 GB, free: 54.65 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.45e-05/2.208, allocations: 78.8 kB / 0.7204 GB, free: 54.59 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008499/2.216, allocations: 2.916 MB / 0.7232 GB, free: 54.34 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000631/2.217, allocations: 71.55 kB / 0.7233 GB, free: 54.3 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002797/2.22, allocations: 2.864 MB / 0.7261 GB, free: 52.92 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001513/2.221, allocations: 0.9043 MB / 0.727 GB, free: 52.35 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003686/2.222, allocations: 70.06 kB / 0.727 GB, free: 52.35 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002865/2.222, allocations: 441.2 kB / 0.7274 GB, free: 52.04 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003604/2.226, allocations: 1.298 MB / 0.7287 GB, free: 52.03 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004468/2.23, allocations: 2.318 MB / 0.731 GB, free: 50.83 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004479/2.235, allocations: 1.75 MB / 0.7327 GB, free: 50.78 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.896e-05/2.235, allocations: 9.625 kB / 0.7327 GB, free: 50.78 MB / 426.7 MB Notification: Performance of matching and sorting (n=431) (initialization): time 0.01162/2.246, allocations: 4.276 MB / 0.7369 GB, free: 50.43 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.558e-05/2.247, allocations: 18.56 kB / 0.7369 GB, free: 50.43 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.873e-05/2.247, allocations: 29.5 kB / 0.7369 GB, free: 50.43 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001568/2.248, allocations: 408.7 kB / 0.7373 GB, free: 50.38 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006117/2.254, allocations: 0.7866 MB / 0.7381 GB, free: 50.38 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008211/2.263, allocations: 7.322 MB / 0.7452 GB, free: 45.2 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005172/2.268, allocations: 165.6 kB / 0.7454 GB, free: 45.19 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008091/2.269, allocations: 149.9 kB / 0.7455 GB, free: 45.19 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 146 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (406): * Single equations (assignments): 400 * 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.000901/2.27, allocations: 313 kB / 0.7458 GB, free: 45.06 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001432/2.271, allocations: 369.9 kB / 0.7462 GB, free: 44.88 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01177/2.283, allocations: 4.036 MB / 0.7501 GB, free: 44.41 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.293e-05/2.283, allocations: 28.03 kB / 0.7501 GB, free: 44.41 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.537e-05/2.283, allocations: 21.78 kB / 0.7502 GB, free: 44.41 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.168e-05/2.283, allocations: 13.27 kB / 0.7502 GB, free: 44.41 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02936/2.313, allocations: 9.66 MB / 0.7596 GB, free: 41.12 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.156e-05/2.313, allocations: 9.016 kB / 0.7596 GB, free: 41.12 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003736/2.316, allocations: 397.6 kB / 0.76 GB, free: 41.11 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003712/2.32, allocations: 0.8517 MB / 0.7608 GB, free: 40.84 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004926/2.321, allocations: 70.83 kB / 0.7609 GB, free: 40.8 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02216/2.343, allocations: 15.99 MB / 0.7765 GB, free: 28.09 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.935e-06/2.343, allocations: 7.469 kB / 0.7765 GB, free: 28.09 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0147/2.358, allocations: 6.098 MB / 0.7825 GB, free: 24.91 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003209/2.361, allocations: 0.7454 MB / 0.7832 GB, free: 24.41 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001308/2.362, allocations: 66.11 kB / 0.7833 GB, free: 24.37 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003797/2.366, allocations: 143.5 kB / 0.7834 GB, free: 24.34 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007842/2.367, allocations: 200.3 kB / 0.7836 GB, free: 24.3 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002863/2.367, allocations: 77.14 kB / 0.7837 GB, free: 24.29 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.005528/2.373, allocations: 2.215 MB / 0.7858 GB, free: 23.41 MB / 426.7 MB Notification: Performance of sort global known variables: time 9.92e-07/2.373, allocations: 0 / 0.7858 GB, free: 23.41 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.007362/2.38, allocations: 1.187 MB / 0.787 GB, free: 23.3 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * 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 (194): * Single equations (assignments): 187 * 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.001601/2.382, allocations: 0.6174 MB / 0.7876 GB, free: 23.09 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00971/2.392, allocations: 3.917 MB / 0.7914 GB, free: 21.24 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.021e-05/2.392, allocations: 0 / 0.7914 GB, free: 21.24 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006847/2.398, allocations: 2.756 MB / 0.7941 GB, free: 19.65 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007607/2.406, allocations: 0.9256 MB / 0.795 GB, free: 19.39 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03001/2.436, allocations: 9.886 MB / 0.8047 GB, free: 14.14 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007236/2.443, allocations: 4.241 MB / 0.8088 GB, free: 10.96 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001865/2.445, allocations: 278.8 kB / 0.8091 GB, free: 10.71 MB / 426.7 MB Notification: Performance of SimCode: time 1.853e-06/2.445, allocations: 0 / 0.8091 GB, free: 10.71 MB / 426.7 MB Notification: Performance of Templates: time 1.295/3.741, allocations: 285.9 MB / 1.088 GB, free: 121.1 MB / 490.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase.sim & ./Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/SMR_Inverter_MultiPhase/SMR_Inverter_MultiPhase.csv","../files/Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches