Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_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: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Inverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Inverter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001366/0.001366, allocations: 106.9 kB / 17.33 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00148/0.00148, allocations: 205.8 kB / 18.27 MB, free: 5.074 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.367/1.367, allocations: 227.4 MB / 246.4 MB, free: 9.152 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001387/0.001387, allocations: 58.22 kB / 306.6 MB, free: 0.625 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09613/0.09754, allocations: 50.53 MB / 357.1 MB, free: 14.08 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.01466/0.1122, allocations: 13.29 MB / 370.4 MB, free: 0.7227 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1692/0.2815, allocations: 4.414 MB / 374.8 MB, free: 9.895 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002055/0.2836, allocations: 75.25 kB / 374.9 MB, free: 9.895 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002665/0.2863, allocations: 0.8799 MB / 375.8 MB, free: 9.785 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003618/0.29, allocations: 1.12 MB / 376.9 MB, free: 9.484 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001996/0.292, allocations: 0.8151 MB / 377.7 MB, free: 9.23 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.005021/0.297, allocations: 4.125 MB / 381.8 MB, free: 7.305 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003578/0.3006, allocations: 3.229 MB / 385 MB, free: 5.953 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002933/0.3036, allocations: 1.722 MB / 386.8 MB, free: 5.105 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003207/0.3068, allocations: 2.054 MB / 388.8 MB, free: 4.137 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001006/0.3078, allocations: 0.4941 MB / 389.3 MB, free: 4.137 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002198/0.31, allocations: 0.7271 MB / 390 MB, free: 4.062 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009452/0.311, allocations: 1.102 MB / 391.1 MB, free: 3.359 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002478/0.3135, allocations: 2.074 MB / 393.2 MB, free: 1.977 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006338/0.3198, allocations: 6.572 MB / 399.8 MB, free: 13.83 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.3198, allocations: 0 / 399.8 MB, free: 13.83 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.324e-06/0.3199, allocations: 3.125 kB / 399.8 MB, free: 13.83 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001496/0.32, allocations: 0 / 399.8 MB, free: 13.83 MB / 318.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.01202/0.332, allocations: 4.322 MB / 404.1 MB, free: 10.93 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.924e-05/0.3321, allocations: 9.406 kB / 404.1 MB, free: 10.93 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000711/0.3328, allocations: 454.3 kB / 404.6 MB, free: 10.48 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004244/0.3371, allocations: 0.806 MB / 405.4 MB, free: 9.672 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00444/0.3415, allocations: 2.294 MB / 407.7 MB, free: 7.348 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001998/0.3418, allocations: 237.5 kB / 407.9 MB, free: 7.117 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006899/0.3425, allocations: 315.8 kB / 408.2 MB, free: 6.809 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007709/0.3502, allocations: 4.229 MB / 412.4 MB, free: 2.535 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.773e-05/0.3503, allocations: 4 kB / 412.4 MB, free: 2.531 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002841/0.3506, allocations: 122.7 kB / 412.6 MB, free: 2.414 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001413/0.3507, allocations: 150.3 kB / 412.7 MB, free: 2.266 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006333/0.3571, allocations: 3.616 MB / 416.3 MB, free: 14.64 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01992/0.377, allocations: 13.26 MB / 429.6 MB, free: 1.137 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006796/0.3838, allocations: 7.164 MB / 436.7 MB, free: 9.012 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002687/0.3866, allocations: 1.588 MB / 438.3 MB, free: 7.441 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007535/0.3941, allocations: 4.214 MB / 442.6 MB, free: 3.117 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.486e-05/0.3942, allocations: 43.56 kB / 442.6 MB, free: 3.066 MB / 350.1 MB Notification: Performance of pre-optimization done (n=120): time 3.898e-06/0.3942, allocations: 0 / 442.6 MB, free: 3.066 MB / 350.1 MB Notification: Performance of matching and sorting (n=123): time 0.01235/0.4066, allocations: 5.56 MB / 448.2 MB, free: 13.31 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.558e-05/0.4067, allocations: 64.41 kB / 448.2 MB, free: 13.23 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004083/0.4108, allocations: 1.719 MB / 449.9 MB, free: 11.51 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001584/0.4109, allocations: 45.7 kB / 450 MB, free: 11.46 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001355/0.4123, allocations: 1.414 MB / 451.4 MB, free: 10.03 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004925/0.4128, allocations: 434.2 kB / 451.8 MB, free: 9.609 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006101/0.4134, allocations: 283.3 kB / 452.1 MB, free: 9.328 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001349/0.4136, allocations: 317 kB / 452.4 MB, free: 9.016 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001282/0.4149, allocations: 0.6481 MB / 453.1 MB, free: 8.367 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001661/0.4165, allocations: 1.121 MB / 454.2 MB, free: 7.043 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002871/0.4194, allocations: 1.898 MB / 456.1 MB, free: 4.945 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.75e-05/0.4195, allocations: 4 kB / 456.1 MB, free: 4.941 MB / 366.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.004579/0.424, allocations: 2.405 MB / 458.5 MB, free: 2.496 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.501e-05/0.4241, allocations: 20.22 kB / 458.5 MB, free: 2.477 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.38e-05/0.4241, allocations: 12 kB / 458.5 MB, free: 2.465 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00102/0.4252, allocations: 322.4 kB / 458.8 MB, free: 2.141 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001296/0.4265, allocations: 351.4 kB / 459.2 MB, free: 1.797 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007133/0.4336, allocations: 6.63 MB / 465.8 MB, free: 10.75 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001953/0.4356, allocations: 80 kB / 465.9 MB, free: 10.67 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002602/0.4359, allocations: 67.98 kB / 465.9 MB, free: 10.61 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * 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 (177): * Single equations (assignments): 173 * 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,8,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002336/0.4382, allocations: 1.001 MB / 466.9 MB, free: 9.594 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006714/0.4389, allocations: 181.8 kB / 467.1 MB, free: 9.414 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004848/0.4438, allocations: 2.217 MB / 469.3 MB, free: 7.141 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.436e-05/0.4438, allocations: 12 kB / 469.4 MB, free: 7.129 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.084e-05/0.4438, allocations: 11.94 kB / 469.4 MB, free: 7.117 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.508e-05/0.4438, allocations: 7.984 kB / 469.4 MB, free: 7.109 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01018/0.454, allocations: 4.944 MB / 474.3 MB, free: 2.055 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.38e-05/0.4541, allocations: 4 kB / 474.3 MB, free: 2.051 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007635/0.4548, allocations: 164 kB / 474.5 MB, free: 1.891 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00138/0.4562, allocations: 0.4993 MB / 475 MB, free: 1.379 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001167/0.4564, allocations: 35.98 kB / 475 MB, free: 1.344 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01153/0.4679, allocations: 11.46 MB / 486.5 MB, free: 5.188 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.089e-06/0.4679, allocations: 4.031 kB / 486.5 MB, free: 5.184 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005488/0.4734, allocations: 3.106 MB / 489.6 MB, free: 1.992 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001208/0.4747, allocations: 410.7 kB / 490 MB, free: 1.57 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006154/0.4753, allocations: 32 kB / 490 MB, free: 1.539 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001232/0.4765, allocations: 67.94 kB / 490.1 MB, free: 1.473 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002983/0.4769, allocations: 96.75 kB / 490.2 MB, free: 1.379 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001127/0.477, allocations: 43.98 kB / 490.2 MB, free: 1.336 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.00252/0.4795, allocations: 1.182 MB / 491.4 MB, free: 164 kB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4795, allocations: 0 / 491.4 MB, free: 164 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.002762/0.4823, allocations: 0.5509 MB / 492 MB, free: 15.61 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (83): * Single equations (assignments): 78 * 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,8,100.0%), (1,1,100.0%), (1,8,100.0%), (1,13,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.005862/0.4882, allocations: 3.712 MB / 495.7 MB, free: 11.8 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.005057/0.4932, allocations: 2.452 MB / 498.1 MB, free: 9.289 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 8.506e-06/0.4933, allocations: 4.062 kB / 498.1 MB, free: 9.285 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002787/0.4961, allocations: 1.561 MB / 499.7 MB, free: 7.656 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003882/0.5, allocations: 0.5143 MB / 0.4885 GB, free: 7.156 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0471/0.5471, allocations: 22.5 MB / 0.5105 GB, free: 15.06 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003018/0.5502, allocations: 2.285 MB / 0.5127 GB, free: 12.75 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001538/0.5517, allocations: 383.8 kB / 0.513 GB, free: 12.37 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001683/0.5534, allocations: 1.109 MB / 0.5141 GB, free: 11.26 MB / 446.1 MB Notification: Performance of SimCode: time 1.243e-06/0.5534, allocations: 0 / 0.5141 GB, free: 11.26 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2524/0.8058, allocations: 49.58 MB / 0.5626 GB, free: 130.2 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001924/0.8061, allocations: 278.2 kB / 0.5628 GB, free: 129.8 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.033/3.839, allocations: 3.234 kB / 0.5628 GB, free: 129.8 MB / 446.1 MB (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Inverter_fmu --startTime=0 --stopTime=1.5 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Inverter.fmu > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Inverter/IMC_Inverter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches