Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_LoadDump.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.SMEE_LoadDump,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200000,variableFilter="time|loadInductor.inductor.2..i|loadInductor.inductor.3..i|smee.is.1.|smee.is.2.|smee.excitation.electroMagneticConverter.Phi.re|smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|speed.phi|speed.w|voltageController.I.y",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_LoadDump") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_LoadDump,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200000,variableFilter="time|loadInductor.inductor.2..i|loadInductor.inductor.3..i|smee.is.1.|smee.is.2.|smee.excitation.electroMagneticConverter.Phi.re|smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|speed.phi|speed.w|voltageController.I.y",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_LoadDump") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001324/0.001324, allocations: 180.1 kB / 16.38 MB, free: 5.766 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.283/1.283, allocations: 223.2 MB / 240.3 MB, free: 11.88 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008416/0.0008416, allocations: 88.89 kB / 291.5 MB, free: 10.9 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002321/0.0002321, allocations: 11.94 kB / 351.1 MB, free: 15.29 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1923/0.1925, allocations: 50.4 MB / 401.5 MB, free: 32.59 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3048/0.4974, allocations: 122.5 MB / 0.5117 GB, free: 50.66 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002402/0.4977, allocations: 103.9 kB / 0.5118 GB, free: 50.66 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2453/0.743, allocations: 102.6 MB / 0.612 GB, free: 6.574 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.256e-06/0.7431, allocations: 0 / 0.612 GB, free: 6.574 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0005359/0.7436, allocations: 103.9 kB / 0.6121 GB, free: 6.473 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1076 * Number of variables: 1076 Notification: Performance of Generate backend data structure: time 0.02361/0.7672, allocations: 4.716 MB / 0.6167 GB, free: 1.668 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.968e-05/0.7673, allocations: 12.03 kB / 0.6167 GB, free: 1.656 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009485/0.7768, allocations: 0.9584 MB / 0.6176 GB, free: 0.6914 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01849/0.7954, allocations: 3.981 MB / 0.6215 GB, free: 12.63 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007163/0.7961, allocations: 482.5 kB / 0.622 GB, free: 12.12 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001715/0.7978, allocations: 419.8 kB / 0.6224 GB, free: 11.71 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01818/0.8161, allocations: 5.29 MB / 0.6276 GB, free: 6.227 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000158/0.8163, allocations: 19.92 kB / 0.6276 GB, free: 6.207 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008567/0.8171, allocations: 176 kB / 0.6277 GB, free: 6.035 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002289/0.8174, allocations: 164.2 kB / 0.6279 GB, free: 5.871 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01461/0.832, allocations: 4.338 MB / 0.6321 GB, free: 1.516 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04024/0.8723, allocations: 17.9 MB / 0.6496 GB, free: 15.12 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007553/0.8799, allocations: 8.255 MB / 0.6577 GB, free: 5.922 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008397/0.8883, allocations: 4.688 MB / 0.6623 GB, free: 1.078 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.1781/1.066, allocations: 1.311 MB / 0.6635 GB, free: 76.72 MB / 442.7 MB Notification: Performance of pre-optimization done (n=192): time 4.408e-06/1.067, allocations: 0 / 0.6635 GB, free: 76.72 MB / 442.7 MB Notification: Performance of matching and sorting (n=225): time 0.01793/1.084, allocations: 9.523 MB / 0.6728 GB, free: 75.36 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.975e-05/1.085, allocations: 346.8 kB / 0.6732 GB, free: 74.98 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00298/1.088, allocations: 2.16 MB / 0.6753 GB, free: 74.77 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002065/1.088, allocations: 71.33 kB / 0.6753 GB, free: 74.74 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001355/1.089, allocations: 1.911 MB / 0.6772 GB, free: 74.14 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005176/1.09, allocations: 0.7544 MB / 0.6779 GB, free: 73.75 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001317/1.09, allocations: 51.34 kB / 0.678 GB, free: 73.75 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000113/1.09, allocations: 409 kB / 0.6784 GB, free: 73.45 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001517/1.091, allocations: 1.146 MB / 0.6795 GB, free: 73.44 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002032/1.093, allocations: 1.892 MB / 0.6814 GB, free: 72.65 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001811/1.095, allocations: 1.428 MB / 0.6827 GB, free: 72.63 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.151e-05/1.095, allocations: 7 kB / 0.6828 GB, free: 72.63 MB / 442.7 MB Notification: Performance of matching and sorting (n=336) (initialization): time 0.006511/1.102, allocations: 4.242 MB / 0.6869 GB, free: 72.24 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001554/1.103, allocations: 8.016 MB / 0.6947 GB, free: 63.77 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.669e-05/1.103, allocations: 18.66 kB / 0.6947 GB, free: 63.77 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002392/1.106, allocations: 1.066 MB / 0.6958 GB, free: 63.72 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001872/1.108, allocations: 484.4 kB / 0.6962 GB, free: 63.72 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01285/1.121, allocations: 15.05 MB / 0.7109 GB, free: 55.62 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002817/1.123, allocations: 175.1 kB / 0.7111 GB, free: 55.61 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003458/1.124, allocations: 106.5 kB / 0.7112 GB, free: 55.61 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/1.124, allocations: 5 kB / 0.7112 GB, free: 55.61 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006164/1.13, allocations: 3.959 MB / 0.7151 GB, free: 55.38 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.149e-05/1.13, allocations: 18.78 kB / 0.7151 GB, free: 55.38 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002274/1.132, allocations: 1.057 MB / 0.7161 GB, free: 55.33 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002105/1.135, allocations: 476.5 kB / 0.7166 GB, free: 55.33 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01286/1.147, allocations: 15.04 MB / 0.7313 GB, free: 46.15 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002605/1.15, allocations: 163.4 kB / 0.7314 GB, free: 46.11 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002373/1.15, allocations: 107.7 kB / 0.7315 GB, free: 46.08 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 86 * Number of states: 0 () * Number of discrete variables: 25 ($whenCondition1,$whenCondition4,$whenCondition3,$whenCondition2,$PRE.loadControl.pulseStart,loadControl.pulseStart,$PRE.switch.closerWithArc[1].off,switch.closerWithArc[1].off,$PRE.switch.closerWithArc[1].quenched,switch.closerWithArc[1].quenched,$PRE.switch.closerWithArc[1].tSwitch,switch.closerWithArc[1].tSwitch,$PRE.switch.closerWithArc[2].off,switch.closerWithArc[2].off,$PRE.switch.closerWithArc[2].quenched,switch.closerWithArc[2].quenched,$PRE.switch.closerWithArc[2].tSwitch,switch.closerWithArc[2].tSwitch,$PRE.switch.closerWithArc[3].off,switch.closerWithArc[3].off,$PRE.switch.closerWithArc[3].quenched,switch.closerWithArc[3].quenched,$PRE.switch.closerWithArc[3].tSwitch,switch.closerWithArc[3].tSwitch,voltageController.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (273): * Single equations (assignments): 266 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 22,(3,100.0%) 26,(1,100.0%) 8} * Non-linear torn systems: 3 {1 1,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.002312/1.153, allocations: 1.351 MB / 0.7328 GB, free: 45.36 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005021/1.153, allocations: 281.8 kB / 0.7331 GB, free: 45.22 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005851/1.159, allocations: 3.56 MB / 0.7366 GB, free: 43.82 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.631e-05/1.159, allocations: 20.47 kB / 0.7366 GB, free: 43.82 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.719e-06/1.159, allocations: 3.812 kB / 0.7366 GB, free: 43.82 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.045e-05/1.159, allocations: 14.5 kB / 0.7366 GB, free: 43.82 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01219/1.171, allocations: 7.495 MB / 0.744 GB, free: 40.67 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.211e-05/1.171, allocations: 3.75 kB / 0.744 GB, free: 40.67 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001296/1.173, allocations: 304.8 kB / 0.7442 GB, free: 40.66 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002537/1.175, allocations: 1.098 MB / 0.7453 GB, free: 40.36 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001882/1.175, allocations: 62.02 kB / 0.7454 GB, free: 40.32 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01217/1.188, allocations: 12.64 MB / 0.7577 GB, free: 31.69 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/1.188, allocations: 3.844 kB / 0.7577 GB, free: 31.69 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006994/1.195, allocations: 5.067 MB / 0.7627 GB, free: 29.39 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001975/1.197, allocations: 0.6092 MB / 0.7633 GB, free: 28.98 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005888/1.197, allocations: 63.81 kB / 0.7633 GB, free: 28.94 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001527/1.199, allocations: 135.6 kB / 0.7635 GB, free: 28.91 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005178/1.199, allocations: 238.3 kB / 0.7637 GB, free: 28.87 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001279/1.199, allocations: 65.83 kB / 0.7638 GB, free: 28.86 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002331/1.202, allocations: 1.648 MB / 0.7654 GB, free: 28.21 MB / 442.7 MB Notification: Performance of sort global known variables: time 3e-07/1.202, allocations: 0 / 0.7654 GB, free: 28.21 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004704/1.207, allocations: 1.55 MB / 0.7669 GB, free: 28.07 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 8 (smee.stator.core.Phi.re,smee.stator.core.Phi.im,smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,speed.phi,speed.w,voltageController.I.y,loadInductor.inductor[2].i,loadInductor.inductor[3].i) * Number of discrete variables: 14 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,loadControl.pulseStart,switch.closerWithArc[1].off,switch.closerWithArc[1].quenched,switch.closerWithArc[1].tSwitch,switch.closerWithArc[2].off,switch.closerWithArc[2].quenched,switch.closerWithArc[2].tSwitch,switch.closerWithArc[3].off,switch.closerWithArc[3].quenched,switch.closerWithArc[3].tSwitch) * Number of discrete states: 6 (switch.closerWithArc[1].off,switch.closerWithArc[1].quenched,switch.closerWithArc[3].off,switch.closerWithArc[3].quenched,switch.closerWithArc[2].off,switch.closerWithArc[2].quenched) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (159): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {3 61,1 1,1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006225/1.207, allocations: 453 kB / 0.7673 GB, free: 27.9 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.008992/1.216, allocations: 6.811 MB / 0.774 GB, free: 23.96 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.821e-06/1.216, allocations: 3.094 kB / 0.774 GB, free: 23.96 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003243/1.219, allocations: 2.261 MB / 0.7762 GB, free: 21.91 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003012/1.223, allocations: 0.6239 MB / 0.7768 GB, free: 21.41 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01276/1.235, allocations: 9.486 MB / 0.786 GB, free: 12.78 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002189/1.238, allocations: 2.924 MB / 0.7889 GB, free: 10.54 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.00274/1.24, allocations: 0.7043 MB / 0.7896 GB, free: 10.07 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004794/1.241, allocations: 179.2 kB / 0.7898 GB, free: 9.898 MB / 442.7 MB Notification: Performance of SimCode: time 1.132e-06/1.241, allocations: 0 / 0.7898 GB, free: 9.898 MB / 442.7 MB Notification: Performance of Templates: time 0.2687/1.51, allocations: 53.09 MB / 0.8416 GB, free: 81.39 MB / 458.7 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_LoadDump.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_LoadDump.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_LoadDump.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_LoadDump.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_LoadDump.sim & ./Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_LoadDump -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_LoadDump.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_LoadDump_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/SynchronousMachines/SMEE_LoadDump/SMEE_LoadDump.csv","../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_LoadDump.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches