Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_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.AIMC_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|loadInertia.phi|loadInertia.w|vfController.x",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|loadInertia.phi|loadInertia.w|vfController.x",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001066/0.001066, allocations: 187 kB / 17.91 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.192/1.192, allocations: 205.1 MB / 223.7 MB, free: 8.484 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.0009728/0.0009726, allocations: 97.09 kB / 271.2 MB, free: 8.438 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008091/0.0008093, allocations: 51.92 kB / 327.2 MB, free: 316 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1795/0.1803, allocations: 46.61 MB / 373.8 MB, free: 45.69 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter): time 0.01053/0.1909, allocations: 12.63 MB / 386.5 MB, free: 35.88 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.006677/0.1976, allocations: 4.229 MB / 390.7 MB, free: 32.39 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001802/0.1995, allocations: 63.09 kB / 390.8 MB, free: 32.38 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002142/0.2017, allocations: 0.854 MB / 391.6 MB, free: 31.68 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002847/0.2045, allocations: 1.144 MB / 392.7 MB, free: 30.53 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001378/0.2059, allocations: 0.7913 MB / 393.5 MB, free: 29.74 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.00335/0.2093, allocations: 4.194 MB / 397.7 MB, free: 25.53 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00207/0.2114, allocations: 2.646 MB / 400.4 MB, free: 22.82 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00136/0.2128, allocations: 1.455 MB / 401.8 MB, free: 21.36 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001459/0.2142, allocations: 1.899 MB / 403.7 MB, free: 19.45 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000344/0.2146, allocations: 292 kB / 404 MB, free: 19.16 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008919/0.2155, allocations: 0.4919 MB / 404.5 MB, free: 18.67 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004952/0.216, allocations: 0.876 MB / 405.4 MB, free: 17.79 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001281/0.2173, allocations: 1.839 MB / 407.2 MB, free: 15.95 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003498/0.2208, allocations: 6.364 MB / 413.6 MB, free: 9.562 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.2208, allocations: 8 kB / 413.6 MB, free: 9.555 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.2208, allocations: 0 / 413.6 MB, free: 9.555 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.944e-05/0.2209, allocations: 0 / 413.6 MB, free: 9.555 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 822 * Number of variables: 822 Notification: Performance of Generate backend data structure: time 0.008034/0.2289, allocations: 4.3 MB / 417.9 MB, free: 5.184 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.284e-05/0.229, allocations: 8.031 kB / 417.9 MB, free: 5.176 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003396/0.2324, allocations: 0.8085 MB / 418.7 MB, free: 4.363 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002887/0.2353, allocations: 2.173 MB / 420.9 MB, free: 2.133 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.99e-05/0.2354, allocations: 234.6 kB / 421.1 MB, free: 1.902 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003331/0.2357, allocations: 323.8 kB / 421.4 MB, free: 1.586 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005745/0.2415, allocations: 4.219 MB / 425.7 MB, free: 13.32 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.037e-05/0.2416, allocations: 4 kB / 425.7 MB, free: 13.31 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002771/0.2419, allocations: 120 kB / 425.8 MB, free: 13.2 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001313/0.242, allocations: 150.3 kB / 425.9 MB, free: 13.05 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005576/0.2476, allocations: 3.605 MB / 429.5 MB, free: 9.434 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0182/0.2658, allocations: 13.18 MB / 442.7 MB, free: 11.92 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005883/0.2717, allocations: 6.903 MB / 449.6 MB, free: 4.113 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002177/0.2739, allocations: 1.371 MB / 451 MB, free: 2.746 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0061/0.28, allocations: 3.719 MB / 454.7 MB, free: 14.93 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.589e-05/0.2801, allocations: 51.55 kB / 454.8 MB, free: 14.88 MB / 346.7 MB Notification: Performance of pre-optimization done (n=119): time 3.046e-06/0.2801, allocations: 7.938 kB / 454.8 MB, free: 14.87 MB / 346.7 MB Notification: Performance of matching and sorting (n=122): time 0.009724/0.2899, allocations: 5.349 MB / 460.1 MB, free: 9.316 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.921e-05/0.2899, allocations: 72.34 kB / 460.2 MB, free: 9.23 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002551/0.2925, allocations: 1.705 MB / 461.9 MB, free: 7.52 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 7.711e-05/0.2926, allocations: 45.7 kB / 461.9 MB, free: 7.469 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008321/0.2934, allocations: 1.399 MB / 463.3 MB, free: 6.051 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002912/0.2937, allocations: 429.8 kB / 463.7 MB, free: 5.625 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000398/0.2941, allocations: 291.3 kB / 464 MB, free: 5.336 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.752e-05/0.2942, allocations: 309 kB / 464.3 MB, free: 5.031 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009823/0.2952, allocations: 0.6403 MB / 465 MB, free: 4.391 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001226/0.2964, allocations: 1.106 MB / 466.1 MB, free: 3.078 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00227/0.2987, allocations: 1.879 MB / 468 MB, free: 0.9961 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.536e-06/0.2987, allocations: 4 kB / 468 MB, free: 0.9922 MB / 346.7 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.003443/0.3022, allocations: 2.315 MB / 470.3 MB, free: 14.64 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.128e-05/0.3022, allocations: 12 kB / 470.3 MB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.35e-05/0.3022, allocations: 16 kB / 470.3 MB, free: 14.61 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006355/0.3029, allocations: 271.4 kB / 470.6 MB, free: 14.33 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001183/0.3041, allocations: 359.4 kB / 470.9 MB, free: 13.98 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004604/0.3087, allocations: 5.689 MB / 476.6 MB, free: 7.891 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001075/0.3098, allocations: 71.86 kB / 476.7 MB, free: 7.82 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001132/0.3099, allocations: 75.92 kB / 476.8 MB, free: 7.746 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 66 * 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 (180): * Single equations (assignments): 176 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(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): 3 systems {(1,1,100.0%), (1,5,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001399/0.3113, allocations: 0.9971 MB / 477.8 MB, free: 6.738 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003199/0.3116, allocations: 177.8 kB / 477.9 MB, free: 6.562 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003391/0.315, allocations: 2.119 MB / 480 MB, free: 4.387 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.947e-06/0.3151, allocations: 16 kB / 480.1 MB, free: 4.371 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.554e-05/0.3151, allocations: 8 kB / 480.1 MB, free: 4.363 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.096e-05/0.3151, allocations: 7.969 kB / 480.1 MB, free: 4.355 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007526/0.3226, allocations: 4.827 MB / 484.9 MB, free: 15.39 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.143e-06/0.3227, allocations: 0 / 484.9 MB, free: 15.39 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007044/0.3234, allocations: 171.8 kB / 485.1 MB, free: 15.22 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001167/0.3246, allocations: 450.7 kB / 485.5 MB, free: 14.77 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.844e-05/0.3247, allocations: 39.92 kB / 485.5 MB, free: 14.73 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008988/0.3337, allocations: 10.08 MB / 495.6 MB, free: 3.984 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.3337, allocations: 0 / 495.6 MB, free: 3.984 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1667/0.5004, allocations: 23.92 MB / 0.5074 GB, free: 114.1 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005456/0.501, allocations: 408.2 kB / 0.5078 GB, free: 114 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001748/0.5012, allocations: 30.72 kB / 0.5078 GB, free: 114 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007552/0.5019, allocations: 68.55 kB / 0.5079 GB, free: 114 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002076/0.5022, allocations: 96 kB / 0.5079 GB, free: 114 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.123e-05/0.5022, allocations: 42.19 kB / 0.508 GB, free: 114 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001618/0.5039, allocations: 1.172 MB / 0.5091 GB, free: 113.9 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5039, allocations: 0.5625 kB / 0.5091 GB, free: 113.9 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002364/0.5062, allocations: 0.7415 MB / 0.5099 GB, free: 113.9 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 7 (aimc.inertiaRotor.w,aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,vfController.x,loadInertia.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 (86): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,5,100.0%), (1,1,100.0%), (1,13,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.0002295/0.5065, allocations: 154.3 kB / 0.51 GB, free: 113.8 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002738/0.5092, allocations: 2.073 MB / 0.512 GB, free: 113.4 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.5092, allocations: 0 / 0.512 GB, free: 113.4 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001765/0.511, allocations: 1.523 MB / 0.5135 GB, free: 112.7 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001727/0.5127, allocations: 491.8 kB / 0.514 GB, free: 112.6 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008262/0.521, allocations: 8.533 MB / 0.5223 GB, free: 107.4 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001358/0.5224, allocations: 2.325 MB / 0.5246 GB, free: 106.3 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001068/0.5235, allocations: 393.5 kB / 0.525 GB, free: 106.2 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002718/0.5237, allocations: 123.5 kB / 0.5251 GB, free: 106.2 MB / 394.7 MB Notification: Performance of SimCode: time 6.61e-07/0.5238, allocations: 2.156 kB / 0.5251 GB, free: 106.2 MB / 394.7 MB Notification: Performance of Templates: time 0.03516/0.5589, allocations: 31.28 MB / 0.5556 GB, free: 77.42 MB / 394.7 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.sim & ./Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_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/AIMC_Inverter/AIMC_Inverter.csv","../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches