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.0009709/0.000971, allocations: 187 kB / 17.92 MB, free: 3.855 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.165/1.165, allocations: 205.1 MB / 223.8 MB, free: 8.48 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.0008098/0.0008098, allocations: 102 kB / 271.2 MB, free: 8.453 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007594/0.0007596, allocations: 39.94 kB / 327.2 MB, free: 332 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1883/0.1891, allocations: 46.62 MB / 373.8 MB, free: 45.64 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter): time 0.01534/0.2044, allocations: 19.96 MB / 393.8 MB, free: 29.5 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.008571/0.213, allocations: 5.889 MB / 399.7 MB, free: 23.58 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003036/0.2161, allocations: 107.5 kB / 399.8 MB, free: 23.48 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003105/0.2193, allocations: 1.143 MB / 400.9 MB, free: 22.33 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004056/0.2233, allocations: 1.738 MB / 402.7 MB, free: 20.58 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001872/0.2252, allocations: 1.133 MB / 403.8 MB, free: 19.45 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.00474/0.23, allocations: 6.746 MB / 410.5 MB, free: 12.68 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003464/0.2335, allocations: 4.483 MB / 415 MB, free: 8.105 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001776/0.2352, allocations: 2.37 MB / 417.4 MB, free: 5.727 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002087/0.2373, allocations: 3.191 MB / 420.6 MB, free: 2.523 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005251/0.2379, allocations: 476 kB / 421.1 MB, free: 2.059 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001189/0.2391, allocations: 0.7652 MB / 421.8 MB, free: 1.293 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009321/0.24, allocations: 1.6 MB / 423.4 MB, free: 15.69 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002376/0.2424, allocations: 3.009 MB / 426.4 MB, free: 12.66 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007178/0.2496, allocations: 9.958 MB / 436.4 MB, free: 2.676 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.2496, allocations: 0 / 436.4 MB, free: 2.676 MB / 314.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.2496, allocations: 3.938 kB / 436.4 MB, free: 2.672 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001426/0.2498, allocations: 0 / 436.4 MB, free: 2.672 MB / 314.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.01224/0.262, allocations: 6.57 MB / 443 MB, free: 12.02 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.2621, allocations: 12.03 kB / 443 MB, free: 12 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003778/0.2658, allocations: 1.009 MB / 444 MB, free: 10.99 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00513/0.271, allocations: 3.279 MB / 447.3 MB, free: 7.633 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002785/0.2713, allocations: 390.8 kB / 447.6 MB, free: 7.25 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006305/0.2719, allocations: 0.5076 MB / 448.1 MB, free: 6.742 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00953/0.2814, allocations: 6.767 MB / 454.9 MB, free: 15.9 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.746e-05/0.2816, allocations: 11.91 kB / 454.9 MB, free: 15.89 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004021/0.282, allocations: 204 kB / 455.1 MB, free: 15.69 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001903/0.2822, allocations: 246.2 kB / 455.4 MB, free: 15.45 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008549/0.2907, allocations: 5.74 MB / 461.1 MB, free: 9.703 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02794/0.3187, allocations: 21.1 MB / 482.2 MB, free: 4.105 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007398/0.3261, allocations: 8.552 MB / 490.8 MB, free: 10.61 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002916/0.329, allocations: 2.105 MB / 492.9 MB, free: 8.492 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009012/0.3381, allocations: 5.95 MB / 498.8 MB, free: 2.402 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.886e-05/0.3381, allocations: 52.56 kB / 498.9 MB, free: 2.344 MB / 378.7 MB Notification: Performance of pre-optimization done (n=205): time 2.836e-06/0.3381, allocations: 4 kB / 498.9 MB, free: 2.34 MB / 378.7 MB Notification: Performance of matching and sorting (n=222): time 0.0174/0.3555, allocations: 10.26 MB / 0.4972 GB, free: 7.855 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.075e-05/0.3556, allocations: 77.41 kB / 0.4973 GB, free: 7.766 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003414/0.359, allocations: 2.904 MB / 0.5001 GB, free: 4.852 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001098/0.3591, allocations: 61.7 kB / 0.5002 GB, free: 4.785 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001332/0.3605, allocations: 2.361 MB / 0.5025 GB, free: 2.398 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005149/0.361, allocations: 0.7625 MB / 0.5032 GB, free: 1.625 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007173/0.3617, allocations: 0.5099 MB / 0.5037 GB, free: 1.105 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.179e-05/0.3618, allocations: 305.1 kB / 0.504 GB, free: 0.8047 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.135/0.4968, allocations: 1.272 MB / 0.5052 GB, free: 118.3 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002211/0.4991, allocations: 2.178 MB / 0.5074 GB, free: 117 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004197/0.5033, allocations: 3.667 MB / 0.511 GB, free: 114.7 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-05/0.5033, allocations: 11.12 kB / 0.511 GB, free: 114.7 MB / 394.7 MB Notification: Performance of matching and sorting (n=373) (initialization): time 0.006296/0.5096, allocations: 4.448 MB / 0.5153 GB, free: 113 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.083e-05/0.5096, allocations: 17.38 kB / 0.5153 GB, free: 113 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.278e-05/0.5097, allocations: 28.06 kB / 0.5154 GB, free: 113 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001047/0.5107, allocations: 0.5123 MB / 0.5159 GB, free: 112.8 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002239/0.513, allocations: 0.6936 MB / 0.5165 GB, free: 112.7 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005908/0.5189, allocations: 9.335 MB / 0.5256 GB, free: 104.9 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001926/0.5208, allocations: 178.6 kB / 0.5258 GB, free: 104.9 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001573/0.521, allocations: 132.3 kB / 0.5259 GB, free: 104.8 MB / 394.7 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 (348): * Single equations (assignments): 341 * 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,3,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.001888/0.5229, allocations: 1.511 MB / 0.5274 GB, free: 104 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003639/0.5233, allocations: 317.3 kB / 0.5277 GB, free: 104 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005032/0.5283, allocations: 3.872 MB / 0.5315 GB, free: 102.3 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.255e-05/0.5283, allocations: 29.17 kB / 0.5315 GB, free: 102.3 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.688e-06/0.5284, allocations: 7.344 kB / 0.5315 GB, free: 102.3 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.492e-05/0.5284, allocations: 9.797 kB / 0.5315 GB, free: 102.3 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01029/0.5387, allocations: 8.487 MB / 0.5398 GB, free: 94.65 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.105e-06/0.5387, allocations: 11.88 kB / 0.5398 GB, free: 94.64 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001398/0.5401, allocations: 383.6 kB / 0.5402 GB, free: 94.26 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001531/0.5417, allocations: 0.718 MB / 0.5409 GB, free: 93.53 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001279/0.5418, allocations: 67.97 kB / 0.541 GB, free: 93.46 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009343/0.5512, allocations: 15.2 MB / 0.5558 GB, free: 77.33 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/0.5512, allocations: 4 kB / 0.5558 GB, free: 77.32 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04313/0.5943, allocations: 41.54 MB / 0.5964 GB, free: 34.41 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001033/0.5954, allocations: 0.6537 MB / 0.597 GB, free: 33.73 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003128/0.5957, allocations: 60.14 kB / 0.5971 GB, free: 33.67 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00134/0.5971, allocations: 131.9 kB / 0.5972 GB, free: 33.54 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003448/0.5974, allocations: 165.6 kB / 0.5974 GB, free: 33.38 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001157/0.5975, allocations: 67.98 kB / 0.5974 GB, free: 33.31 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.00213/0.5997, allocations: 1.963 MB / 0.5994 GB, free: 31.35 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5997, allocations: 0 / 0.5994 GB, free: 31.35 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003167/0.6028, allocations: 1.286 MB / 0.6006 GB, free: 30.07 MB / 394.7 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 (185): * Single equations (assignments): 177 * 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,3,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.0003964/0.6033, allocations: 242.6 kB / 0.6008 GB, free: 29.83 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.004457/0.6077, allocations: 3.951 MB / 0.6047 GB, free: 25.79 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.6077, allocations: 4 kB / 0.6047 GB, free: 25.78 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002937/0.6107, allocations: 2.65 MB / 0.6073 GB, free: 23.04 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002855/0.6135, allocations: 0.8079 MB / 0.6081 GB, free: 22.24 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01627/0.6298, allocations: 14.41 MB / 0.6222 GB, free: 7.684 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002583/0.6325, allocations: 3.377 MB / 0.6255 GB, free: 4.27 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.002372/0.6348, allocations: 0.7773 MB / 0.6262 GB, free: 3.488 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005896/0.6354, allocations: 231.4 kB / 0.6264 GB, free: 3.262 MB / 394.7 MB Notification: Performance of SimCode: time 6.51e-07/0.6355, allocations: 3.938 kB / 0.6264 GB, free: 3.258 MB / 394.7 MB Notification: Performance of Templates: time 0.2203/0.8558, allocations: 54.59 MB / 0.6797 GB, free: 118.9 MB / 426.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/jenkins/ws/OpenModelicaLibraryTestingWork@2/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