Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter.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,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|loadInertiaE.phi|loadInertiaE.w|loadInertiaM.phi|loadInertiaM.w|smrE.is.1.|smrE.is.2.|smrE.idq_rr.1.|smrE.idq_rr.2.|smrE.idq_sr.1.|smrE.idq_sr.2.|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|vfController.x",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|loadInertiaE.phi|loadInertiaE.w|loadInertiaM.phi|loadInertiaM.w|smrE.is.1.|smrE.is.2.|smrE.idq_rr.1.|smrE.idq_rr.2.|smrE.idq_sr.1.|smrE.idq_sr.2.|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|vfController.x",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009365/0.0009366, allocations: 184.1 kB / 18.04 MB, free: 3.754 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.313/1.313, allocations: 205.4 MB / 224.2 MB, free: 8.961 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.0007993/0.0007994, allocations: 85.55 kB / 272.5 MB, free: 8.262 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002899/0.0002899, allocations: 8 kB / 329.5 MB, free: 15.26 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2129/0.2132, allocations: 47.57 MB / 377 MB, free: 45.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1314/0.3447, allocations: 125.5 MB / 0.4907 GB, free: 2.984 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002395/0.345, allocations: 91.94 kB / 0.4908 GB, free: 2.895 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4228/0.7678, allocations: 115.7 MB / 0.6038 GB, free: 14.64 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.096e-06/0.7679, allocations: 4 kB / 0.6038 GB, free: 14.64 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0004671/0.7683, allocations: 131.8 kB / 0.604 GB, free: 14.51 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1347 * Number of variables: 1347 Notification: Performance of Generate backend data structure: time 0.01539/0.7838, allocations: 5.314 MB / 0.6092 GB, free: 9.109 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/0.7838, allocations: 8.031 kB / 0.6092 GB, free: 9.102 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005348/0.7892, allocations: 0.9582 MB / 0.6101 GB, free: 8.137 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008874/0.7981, allocations: 3.86 MB / 0.6139 GB, free: 4.199 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003361/0.7984, allocations: 386.7 kB / 0.6142 GB, free: 3.82 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001685/0.8001, allocations: 0.5003 MB / 0.6147 GB, free: 3.32 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01506/0.8152, allocations: 6.733 MB / 0.6213 GB, free: 12.39 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001949/0.8154, allocations: 15.84 kB / 0.6213 GB, free: 12.37 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009827/0.8164, allocations: 223.9 kB / 0.6215 GB, free: 12.15 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002289/0.8167, allocations: 230.2 kB / 0.6218 GB, free: 11.93 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0114/0.8281, allocations: 5.447 MB / 0.6271 GB, free: 6.469 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03537/0.8635, allocations: 21.16 MB / 0.6477 GB, free: 0.8047 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1768/1.04, allocations: 8.602 MB / 0.6561 GB, free: 52.57 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002948/1.043, allocations: 2.091 MB / 0.6582 GB, free: 52.54 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009454/1.053, allocations: 6.037 MB / 0.6641 GB, free: 51.73 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.054e-05/1.053, allocations: 52.97 kB / 0.6641 GB, free: 51.69 MB / 410.7 MB Notification: Performance of pre-optimization done (n=210): time 4.478e-06/1.053, allocations: 0 / 0.6641 GB, free: 51.69 MB / 410.7 MB Notification: Performance of matching and sorting (n=234): time 0.02123/1.074, allocations: 11.83 MB / 0.6757 GB, free: 49.75 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.33e-05/1.074, allocations: 75.47 kB / 0.6758 GB, free: 49.68 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003971/1.078, allocations: 2.851 MB / 0.6785 GB, free: 49.43 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002422/1.078, allocations: 68.86 kB / 0.6786 GB, free: 49.4 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001185/1.08, allocations: 2.343 MB / 0.6809 GB, free: 48.64 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005528/1.08, allocations: 0.8125 MB / 0.6817 GB, free: 48.14 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001413/1.08, allocations: 61.22 kB / 0.6817 GB, free: 48.14 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001266/1.08, allocations: 426.8 kB / 0.6822 GB, free: 47.83 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001833/1.082, allocations: 1.325 MB / 0.6834 GB, free: 47.82 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00239/1.085, allocations: 2.216 MB / 0.6856 GB, free: 46.8 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005059/1.09, allocations: 3.775 MB / 0.6893 GB, free: 45.74 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.568e-05/1.09, allocations: 7.875 kB / 0.6893 GB, free: 45.74 MB / 410.7 MB Notification: Performance of matching and sorting (n=381) (initialization): time 0.007299/1.097, allocations: 4.645 MB / 0.6938 GB, free: 45.3 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.566e-05/1.097, allocations: 26.5 kB / 0.6939 GB, free: 45.29 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.02e-05/1.097, allocations: 25.38 kB / 0.6939 GB, free: 45.29 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00146/1.099, allocations: 0.7198 MB / 0.6946 GB, free: 45.24 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002354/1.101, allocations: 0.6969 MB / 0.6953 GB, free: 45.24 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007531/1.109, allocations: 9.405 MB / 0.7045 GB, free: 40.06 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00269/1.111, allocations: 190 kB / 0.7046 GB, free: 40.06 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003467/1.112, allocations: 133.9 kB / 0.7048 GB, free: 40.06 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 125 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (345): * Single equations (assignments): 339 * 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 {(6,72.2%) 22,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002623/1.114, allocations: 1.521 MB / 0.7063 GB, free: 39.47 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000544/1.115, allocations: 322.4 kB / 0.7066 GB, free: 39.31 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006181/1.121, allocations: 4.158 MB / 0.7106 GB, free: 37.55 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.519e-05/1.121, allocations: 24.53 kB / 0.7106 GB, free: 37.55 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.454e-05/1.121, allocations: 13.31 kB / 0.7107 GB, free: 37.55 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.097e-05/1.121, allocations: 14.95 kB / 0.7107 GB, free: 37.55 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01295/1.134, allocations: 8.803 MB / 0.7193 GB, free: 33.91 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.281e-05/1.134, allocations: 3.719 kB / 0.7193 GB, free: 33.91 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001581/1.136, allocations: 387.7 kB / 0.7196 GB, free: 33.89 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0023/1.138, allocations: 0.9487 MB / 0.7206 GB, free: 33.62 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001895/1.138, allocations: 61.53 kB / 0.7206 GB, free: 33.59 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0119/1.15, allocations: 15.51 MB / 0.7358 GB, free: 21.56 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/1.15, allocations: 8.375 kB / 0.7358 GB, free: 21.56 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008188/1.158, allocations: 5.893 MB / 0.7415 GB, free: 18.96 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0017/1.16, allocations: 0.6721 MB / 0.7422 GB, free: 18.53 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008358/1.161, allocations: 57.31 kB / 0.7422 GB, free: 18.49 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001641/1.163, allocations: 147.7 kB / 0.7424 GB, free: 18.46 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004057/1.163, allocations: 180 kB / 0.7426 GB, free: 18.44 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001471/1.163, allocations: 69.64 kB / 0.7426 GB, free: 18.42 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002654/1.166, allocations: 1.925 MB / 0.7445 GB, free: 17.69 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.6e-07/1.166, allocations: 0.5 kB / 0.7445 GB, free: 17.69 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003237/1.169, allocations: 1.018 MB / 0.7455 GB, free: 17.59 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 13 (vfController.x,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,smrE.inertiaRotor.w,smrE.idq_sr[1],smrE.idq_sr[2],smrE.idq_dr[1],smrE.idq_dr[2],loadInertiaM.phi,loadInertiaE.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (180): * Single equations (assignments): 173 * 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 {(6,72.2%) 22,(1,100.0%) 5,(1,100.0%) 1,(2,100.0%) 4,(1,100.0%) 1,(1,100.0%) 8,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007656/1.17, allocations: 455.2 kB / 0.7459 GB, free: 17.43 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005492/1.175, allocations: 4.116 MB / 0.7499 GB, free: 14.63 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/1.175, allocations: 8.062 kB / 0.75 GB, free: 14.62 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00368/1.179, allocations: 2.763 MB / 0.7527 GB, free: 12.11 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005996/1.185, allocations: 0.8027 MB / 0.7534 GB, free: 11.48 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01798/1.203, allocations: 11.47 MB / 0.7646 GB, free: 1 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003525/1.207, allocations: 3.319 MB / 0.7679 GB, free: 14.41 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.00286/1.21, allocations: 0.7512 MB / 0.7686 GB, free: 13.89 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006042/1.21, allocations: 218.1 kB / 0.7688 GB, free: 13.7 MB / 426.7 MB Notification: Performance of SimCode: time 6.91e-07/1.21, allocations: 0 / 0.7688 GB, free: 13.7 MB / 426.7 MB Notification: Performance of Templates: time 0.2669/1.477, allocations: 49.84 MB / 0.8175 GB, free: 80.5 MB / 442.7 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter.sim & ./Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_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/SMR_Inverter.csv","../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches