Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_Inverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.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.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|vfController.x",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_Inverter") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.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.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|vfController.x",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_Inverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001114/0.001114, allocations: 100.7 kB / 17.32 MB, free: 5.984 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001363/0.001363, allocations: 209.8 kB / 18.26 MB, free: 5.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.35/1.35, allocations: 227.4 MB / 246.4 MB, free: 10.79 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001189/0.001189, allocations: 63.5 kB / 306.5 MB, free: 0.9414 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09003/0.09123, allocations: 50.53 MB / 357 MB, free: 14.41 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_Inverter): time 0.1844/0.2756, allocations: 20.63 MB / 377.6 MB, free: 9.906 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01054/0.2862, allocations: 6.077 MB / 383.7 MB, free: 7.715 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003793/0.2901, allocations: 131.2 kB / 383.8 MB, free: 7.68 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004097/0.2942, allocations: 1.178 MB / 385 MB, free: 7.09 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006544/0.3007, allocations: 1.714 MB / 386.7 MB, free: 5.988 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003685/0.3044, allocations: 1.143 MB / 387.9 MB, free: 5.219 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.009006/0.3135, allocations: 6.296 MB / 394.2 MB, free: 2.016 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008193/0.3217, allocations: 5.454 MB / 399.6 MB, free: 15.68 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004315/0.326, allocations: 2.772 MB / 402.4 MB, free: 14.25 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005613/0.3316, allocations: 3.409 MB / 405.8 MB, free: 11.88 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002032/0.3337, allocations: 0.7773 MB / 406.6 MB, free: 11.1 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003743/0.3374, allocations: 1.101 MB / 407.7 MB, free: 9.996 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00223/0.3397, allocations: 1.94 MB / 409.6 MB, free: 8.051 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00441/0.3441, allocations: 3.361 MB / 413 MB, free: 4.676 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01011/0.3542, allocations: 10.25 MB / 423.2 MB, free: 10.39 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.3543, allocations: 0 / 423.2 MB, free: 10.39 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.785e-06/0.3543, allocations: 0 / 423.2 MB, free: 10.39 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0002353/0.3545, allocations: 0 / 423.2 MB, free: 10.39 MB / 334.1 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.01459/0.3691, allocations: 6.615 MB / 429.8 MB, free: 3.699 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.278e-05/0.3692, allocations: 8.031 kB / 429.8 MB, free: 3.691 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00445/0.3736, allocations: 1.017 MB / 430.9 MB, free: 2.668 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005512/0.3791, allocations: 3.454 MB / 434.3 MB, free: 15.14 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003093/0.3795, allocations: 395 kB / 434.7 MB, free: 14.75 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007091/0.3802, allocations: 0.4998 MB / 435.2 MB, free: 14.25 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0116/0.3918, allocations: 6.771 MB / 442 MB, free: 7.41 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001157/0.3919, allocations: 15.89 kB / 442 MB, free: 7.395 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004592/0.3924, allocations: 208 kB / 442.2 MB, free: 7.191 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002124/0.3926, allocations: 246.2 kB / 442.4 MB, free: 6.949 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01011/0.4027, allocations: 5.751 MB / 448.2 MB, free: 1.188 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03848/0.4413, allocations: 21.18 MB / 469.4 MB, free: 11.5 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009078/0.4504, allocations: 8.812 MB / 478.2 MB, free: 1.684 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003973/0.4544, allocations: 2.225 MB / 480.4 MB, free: 15.45 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01179/0.4662, allocations: 6.214 MB / 486.6 MB, free: 9.035 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.103e-05/0.4663, allocations: 56.56 kB / 486.7 MB, free: 8.973 MB / 398.1 MB Notification: Performance of pre-optimization done (n=205): time 4.128e-06/0.4663, allocations: 3.938 kB / 486.7 MB, free: 8.969 MB / 398.1 MB Notification: Performance of matching and sorting (n=222): time 0.02141/0.4877, allocations: 10.41 MB / 497.1 MB, free: 14.3 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.237e-05/0.4878, allocations: 73.41 kB / 497.2 MB, free: 14.22 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005287/0.4931, allocations: 2.929 MB / 0.4884 GB, free: 11.28 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002199/0.4933, allocations: 69.7 kB / 0.4884 GB, free: 11.21 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002149/0.4955, allocations: 2.361 MB / 0.4907 GB, free: 8.82 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009263/0.4964, allocations: 0.7663 MB / 0.4915 GB, free: 8.043 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001018/0.4974, allocations: 0.5138 MB / 0.492 GB, free: 7.52 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000138/0.4976, allocations: 305.1 kB / 0.4923 GB, free: 7.219 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002231/0.4998, allocations: 1.275 MB / 0.4935 GB, free: 5.941 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00267/0.5025, allocations: 2.167 MB / 0.4956 GB, free: 3.375 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005092/0.5076, allocations: 3.676 MB / 0.4992 GB, free: 15.3 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.447e-05/0.5077, allocations: 11.94 kB / 0.4992 GB, free: 15.29 MB / 430.1 MB Notification: Performance of matching and sorting (n=373) (initialization): time 0.007556/0.5152, allocations: 4.462 MB / 0.5036 GB, free: 10.76 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.042e-05/0.5153, allocations: 22.66 kB / 0.5036 GB, free: 10.74 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.833e-05/0.5153, allocations: 28 kB / 0.5036 GB, free: 10.71 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001253/0.5166, allocations: 0.545 MB / 0.5042 GB, free: 10.15 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002434/0.519, allocations: 0.6786 MB / 0.5048 GB, free: 9.469 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009121/0.5282, allocations: 10.34 MB / 0.5149 GB, free: 14.43 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00267/0.5309, allocations: 183.6 kB / 0.5151 GB, free: 14.25 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004055/0.5313, allocations: 128 kB / 0.5152 GB, free: 14.12 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 129 * 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): 338 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(3,11,100.0%), (1,6,100.0%), (1,1,100.0%), (1,1,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003071/0.5344, allocations: 1.518 MB / 0.5167 GB, free: 12.6 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009092/0.5353, allocations: 324 kB / 0.517 GB, free: 12.28 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007343/0.5426, allocations: 3.895 MB / 0.5208 GB, free: 8.285 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-05/0.5427, allocations: 20 kB / 0.5208 GB, free: 8.266 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.501e-05/0.5427, allocations: 12 kB / 0.5209 GB, free: 8.254 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.656e-05/0.5428, allocations: 19.89 kB / 0.5209 GB, free: 8.234 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2238/0.7665, allocations: 8.519 MB / 0.5292 GB, free: 137 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.96e-05/0.7667, allocations: 4.219 kB / 0.5292 GB, free: 137 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003179/0.7698, allocations: 376.9 kB / 0.5296 GB, free: 137 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003365/0.7732, allocations: 0.7462 MB / 0.5303 GB, free: 136.9 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000405/0.7737, allocations: 61.8 kB / 0.5303 GB, free: 136.9 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02105/0.7947, allocations: 16.77 MB / 0.5467 GB, free: 124.2 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.987e-06/0.7948, allocations: 3.875 kB / 0.5467 GB, free: 124.2 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01666/0.8115, allocations: 5.573 MB / 0.5522 GB, free: 121.8 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003065/0.8146, allocations: 0.6503 MB / 0.5528 GB, free: 121.5 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008499/0.8155, allocations: 52 kB / 0.5529 GB, free: 121.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00284/0.8183, allocations: 136.4 kB / 0.553 GB, free: 121.4 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008008/0.8191, allocations: 167.4 kB / 0.5531 GB, free: 121.4 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002524/0.8194, allocations: 63.27 kB / 0.5532 GB, free: 121.4 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.005374/0.8248, allocations: 1.982 MB / 0.5551 GB, free: 120.7 MB / 446.1 MB Notification: Performance of sort global known variables: time 6.91e-07/0.8248, allocations: 0 / 0.5551 GB, free: 120.7 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.007431/0.8323, allocations: 0.9451 MB / 0.5561 GB, free: 120.6 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (182): * Single equations (assignments): 174 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(1,5,100.0%), (3,11,100.0%), (1,6,100.0%), (1,1,100.0%), (2,1,100.0%), (1,1,100.0%), (1,8,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001335/0.8337, allocations: 276.2 kB / 0.5563 GB, free: 120.4 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01989/0.8536, allocations: 5.387 MB / 0.5616 GB, free: 118.5 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.393e-05/0.8536, allocations: 0 / 0.5616 GB, free: 118.5 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00725/0.8609, allocations: 2.673 MB / 0.5642 GB, free: 117 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008602/0.8695, allocations: 0.8647 MB / 0.565 GB, free: 116.7 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02812/0.8977, allocations: 11.73 MB / 0.5765 GB, free: 109.8 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005352/0.9031, allocations: 3.301 MB / 0.5797 GB, free: 107.6 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.005218/0.9083, allocations: 0.7551 MB / 0.5805 GB, free: 107 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001276/0.9096, allocations: 221.5 kB / 0.5807 GB, free: 106.8 MB / 446.1 MB Notification: Performance of SimCode: time 1.153e-06/0.9097, allocations: 7.938 kB / 0.5807 GB, free: 106.8 MB / 446.1 MB Notification: Performance of Templates: time 0.1205/1.03, allocations: 47.66 MB / 0.6272 GB, free: 60.28 MB / 446.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_Inverter.makefile (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_Inverter.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_Inverter.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_Inverter.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_Inverter.sim & ./Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_Inverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_Inverter.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_Inverter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/SynchronousMachines/SMR_Inverter/SMR_Inverter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_Inverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches