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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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 3.2.3+maint.om/package.mo", uses=false) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_Inverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_Inverter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001642/0.001643, allocations: 113.2 kB / 17.73 MB, free: 5.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00179/0.00179, allocations: 188.2 kB / 18.67 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.391/1.391, allocations: 205.1 MB / 224.5 MB, free: 12.24 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001635/0.001635, allocations: 51.92 kB / 328 MB, free: 3.785 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09046/0.0921, allocations: 46.62 MB / 374.7 MB, free: 5.055 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter): time 0.1873/0.2794, allocations: 12.77 MB / 387.4 MB, free: 6.016 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00713/0.2866, allocations: 4.273 MB / 391.7 MB, free: 3.332 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002049/0.2888, allocations: 73.19 kB / 391.8 MB, free: 3.309 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002254/0.291, allocations: 0.9637 MB / 392.7 MB, free: 2.801 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003323/0.2944, allocations: 1.263 MB / 394 MB, free: 1.965 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001731/0.2961, allocations: 0.8577 MB / 394.9 MB, free: 1.41 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.004248/0.3004, allocations: 3.884 MB / 398.7 MB, free: 15.38 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004035/0.3044, allocations: 3.177 MB / 401.9 MB, free: 14.01 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003225/0.3076, allocations: 1.823 MB / 403.7 MB, free: 13.1 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003223/0.3109, allocations: 2.061 MB / 405.8 MB, free: 12.07 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007328/0.3116, allocations: 0.4985 MB / 406.3 MB, free: 12.07 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001584/0.3132, allocations: 0.6936 MB / 407 MB, free: 12 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001117/0.3144, allocations: 1.108 MB / 408.1 MB, free: 11.28 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002594/0.317, allocations: 2.069 MB / 410.2 MB, free: 9.883 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008396/0.3254, allocations: 6.611 MB / 416.8 MB, free: 5.031 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.161e-06/0.3254, allocations: 3.938 kB / 416.8 MB, free: 5.027 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.156e-06/0.3254, allocations: 1.688 kB / 416.8 MB, free: 5.027 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001503/0.3256, allocations: 0 / 416.8 MB, free: 5.027 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: 822 * Number of variables: 822 Notification: Performance of Generate backend data structure: time 0.01283/0.3384, allocations: 4.391 MB / 421.2 MB, free: 1.324 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.957e-05/0.3385, allocations: 12.03 kB / 421.2 MB, free: 1.312 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007495/0.3392, allocations: 443.2 kB / 421.6 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00443/0.3437, allocations: 0.8223 MB / 422.5 MB, free: 44 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004603/0.3483, allocations: 2.253 MB / 424.7 MB, free: 13.73 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002088/0.3485, allocations: 238.2 kB / 424.9 MB, free: 13.5 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005113/0.349, allocations: 312 kB / 425.2 MB, free: 13.2 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007456/0.3565, allocations: 4.227 MB / 429.5 MB, free: 8.918 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.488e-05/0.3566, allocations: 3.938 kB / 429.5 MB, free: 8.914 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003143/0.3569, allocations: 124 kB / 429.6 MB, free: 8.793 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001554/0.3571, allocations: 150.3 kB / 429.7 MB, free: 8.645 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006597/0.3637, allocations: 3.605 MB / 433.3 MB, free: 5.031 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02177/0.3855, allocations: 13.04 MB / 446.4 MB, free: 7.66 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007792/0.3933, allocations: 6.898 MB / 453.3 MB, free: 15.87 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002397/0.3957, allocations: 1.363 MB / 454.6 MB, free: 14.5 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006629/0.4024, allocations: 3.712 MB / 458.4 MB, free: 10.69 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.213e-05/0.4025, allocations: 47.56 kB / 458.4 MB, free: 10.64 MB / 382.1 MB Notification: Performance of pre-optimization done (n=119): time 3.296e-06/0.4025, allocations: 4 kB / 458.4 MB, free: 10.63 MB / 382.1 MB Notification: Performance of matching and sorting (n=122): time 0.01165/0.4141, allocations: 5.412 MB / 463.8 MB, free: 5.027 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.606e-05/0.4142, allocations: 64.41 kB / 463.9 MB, free: 4.953 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002796/0.417, allocations: 1.706 MB / 465.6 MB, free: 3.242 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002033/0.4173, allocations: 45.7 kB / 465.6 MB, free: 3.191 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001251/0.4185, allocations: 1.442 MB / 467.1 MB, free: 1.734 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004788/0.419, allocations: 452.2 kB / 467.5 MB, free: 1.289 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004937/0.4195, allocations: 287.5 kB / 467.8 MB, free: 1.004 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001378/0.4197, allocations: 309.1 kB / 468.1 MB, free: 0.6992 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001193/0.4209, allocations: 0.6403 MB / 468.7 MB, free: 60 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001571/0.4224, allocations: 1.11 MB / 469.9 MB, free: 14.74 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002842/0.4253, allocations: 1.879 MB / 471.7 MB, free: 12.66 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.969e-06/0.4253, allocations: 4 kB / 471.7 MB, free: 12.66 MB / 398.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.004249/0.4296, allocations: 2.324 MB / 474.1 MB, free: 10.29 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.74e-05/0.4296, allocations: 12 kB / 474.1 MB, free: 10.28 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.538e-05/0.4297, allocations: 19.92 kB / 474.1 MB, free: 10.26 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000743/0.4304, allocations: 271.5 kB / 474.4 MB, free: 9.984 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001303/0.4317, allocations: 355.4 kB / 474.7 MB, free: 9.637 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006335/0.4381, allocations: 6.198 MB / 480.9 MB, free: 3.023 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001302/0.4394, allocations: 76.06 kB / 481 MB, free: 2.949 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001248/0.4395, allocations: 71.98 kB / 481 MB, free: 2.879 MB / 398.1 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.001799/0.4413, allocations: 0.9969 MB / 482 MB, free: 1.871 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002912/0.4416, allocations: 186.8 kB / 482.2 MB, free: 1.688 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003893/0.4455, allocations: 2.115 MB / 484.3 MB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.157e-05/0.4456, allocations: 16 kB / 484.4 MB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.122e-05/0.4456, allocations: 8 kB / 484.4 MB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.363e-05/0.4456, allocations: 7.969 kB / 484.4 MB, free: 15.47 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008165/0.4538, allocations: 4.819 MB / 489.2 MB, free: 10.52 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.246e-06/0.4538, allocations: 4.125 kB / 489.2 MB, free: 10.51 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007554/0.4546, allocations: 171.7 kB / 489.4 MB, free: 10.34 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001217/0.4558, allocations: 452.3 kB / 489.8 MB, free: 9.887 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.442e-05/0.4559, allocations: 31.98 kB / 489.8 MB, free: 9.855 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01203/0.4679, allocations: 11.03 MB / 0.4891 GB, free: 14.13 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.637e-06/0.468, allocations: 7.969 kB / 0.4891 GB, free: 14.12 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005534/0.4735, allocations: 2.993 MB / 0.4921 GB, free: 11.04 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001023/0.4746, allocations: 419.7 kB / 0.4925 GB, free: 10.61 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004636/0.475, allocations: 32 kB / 0.4925 GB, free: 10.57 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001065/0.4761, allocations: 67.94 kB / 0.4925 GB, free: 10.51 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002717/0.4764, allocations: 96.75 kB / 0.4926 GB, free: 10.41 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.249e-05/0.4765, allocations: 35.98 kB / 0.4927 GB, free: 10.38 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002181/0.4787, allocations: 1.174 MB / 0.4938 GB, free: 9.211 MB / 430.1 MB Notification: Performance of sort global known variables: time 4.71e-07/0.4787, allocations: 4 kB / 0.4938 GB, free: 9.207 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.00227/0.481, allocations: 0.5391 MB / 0.4944 GB, free: 8.668 MB / 430.1 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.005663/0.4867, allocations: 3.604 MB / 0.4979 GB, free: 4.961 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003656/0.4903, allocations: 2.081 MB / 0.4999 GB, free: 2.824 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.958e-06/0.4903, allocations: 0 / 0.4999 GB, free: 2.824 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002583/0.4929, allocations: 1.541 MB / 0.5014 GB, free: 1.215 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002486/0.4954, allocations: 0.5026 MB / 0.5019 GB, free: 0.7109 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03498/0.5304, allocations: 19.1 MB / 0.5206 GB, free: 12.87 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003075/0.5336, allocations: 2.277 MB / 0.5228 GB, free: 10.57 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001307/0.5349, allocations: 383.8 kB / 0.5231 GB, free: 10.19 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001641/0.5365, allocations: 1.101 MB / 0.5242 GB, free: 9.086 MB / 462.1 MB Notification: Performance of SimCode: time 9.12e-07/0.5366, allocations: 0 / 0.5242 GB, free: 9.086 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.307/0.8436, allocations: 50.28 MB / 0.5733 GB, free: 151.4 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.15/14, allocations: 0 / 0.5733 GB, free: 151.4 MB / 478.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_Inverter_fmu --startTime=0 --stopTime=1.5 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_Inverter.fmu > 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/AIMC_Inverter/AIMC_Inverter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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