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.001254/0.001254, allocations: 121.7 kB / 17.79 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001298/0.001298, allocations: 200.6 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.411/1.411, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00133/0.00133, allocations: 59.89 kB / 358.2 MB, free: 13.4 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.277/0.2783, allocations: 50.55 MB / 408.8 MB, free: 1.527 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.0142/0.2926, allocations: 13.44 MB / 422.2 MB, free: 4.023 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00814/0.3008, allocations: 4.499 MB / 426.7 MB, free: 15.51 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001947/0.3028, allocations: 79.69 kB / 426.8 MB, free: 15.43 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002474/0.3052, allocations: 1.002 MB / 427.8 MB, free: 14.43 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003348/0.3087, allocations: 1.246 MB / 429 MB, free: 13.18 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001935/0.3106, allocations: 0.8877 MB / 429.9 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004617/0.3152, allocations: 3.918 MB / 433.8 MB, free: 8.359 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003523/0.3188, allocations: 3.232 MB / 437.1 MB, free: 5.051 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002621/0.3214, allocations: 1.854 MB / 438.9 MB, free: 3.191 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003096/0.3245, allocations: 2.199 MB / 441.1 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006612/0.3252, allocations: 0.4961 MB / 441.6 MB, free: 500 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001364/0.3266, allocations: 0.7185 MB / 442.3 MB, free: 15.77 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008992/0.3275, allocations: 1.102 MB / 443.4 MB, free: 14.66 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002433/0.3299, allocations: 2.085 MB / 445.5 MB, free: 12.57 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006707/0.3367, allocations: 6.625 MB / 452.2 MB, free: 5.926 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.663e-06/0.3367, allocations: 3.984 kB / 452.2 MB, free: 5.922 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.3367, allocations: 4 kB / 452.2 MB, free: 5.918 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.000115/0.3368, allocations: 0 / 452.2 MB, free: 5.918 MB / 366.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.01116/0.348, allocations: 4.331 MB / 456.5 MB, free: 1.516 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.805e-05/0.3481, allocations: 15.97 kB / 456.5 MB, free: 1.5 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005933/0.3487, allocations: 455.2 kB / 457 MB, free: 1.043 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00407/0.3528, allocations: 0.8008 MB / 457.8 MB, free: 244 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004773/0.3575, allocations: 2.403 MB / 460.2 MB, free: 13.78 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001781/0.3577, allocations: 230.2 kB / 460.4 MB, free: 13.55 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005465/0.3583, allocations: 315.9 kB / 460.7 MB, free: 13.24 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00689/0.3652, allocations: 4.223 MB / 464.9 MB, free: 8.969 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.524e-05/0.3653, allocations: 0 / 464.9 MB, free: 8.969 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002818/0.3656, allocations: 132 kB / 465 MB, free: 8.84 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001288/0.3657, allocations: 150.3 kB / 465.2 MB, free: 8.691 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005802/0.3715, allocations: 3.612 MB / 468.8 MB, free: 5.07 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01965/0.3912, allocations: 13.1 MB / 481.9 MB, free: 7.621 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00688/0.3981, allocations: 7.169 MB / 489.1 MB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002943/0.4011, allocations: 1.624 MB / 490.7 MB, free: 13.88 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007094/0.4082, allocations: 4.194 MB / 494.9 MB, free: 9.527 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.064e-05/0.4083, allocations: 51.56 kB / 494.9 MB, free: 9.465 MB / 414.1 MB Notification: Performance of pre-optimization done (n=120): time 2.735e-06/0.4083, allocations: 0 / 494.9 MB, free: 9.465 MB / 414.1 MB Notification: Performance of matching and sorting (n=123): time 0.01124/0.4195, allocations: 5.549 MB / 0.4888 GB, free: 3.719 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.4e-05/0.4196, allocations: 68.41 kB / 0.4888 GB, free: 3.641 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003081/0.4227, allocations: 1.715 MB / 0.4905 GB, free: 1.922 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 9.19e-05/0.4228, allocations: 49.7 kB / 0.4905 GB, free: 1.867 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001032/0.4238, allocations: 1.418 MB / 0.4919 GB, free: 440 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000373/0.4242, allocations: 437.8 kB / 0.4923 GB, free: 15.99 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004754/0.4247, allocations: 283.3 kB / 0.4926 GB, free: 15.71 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.798e-05/0.4248, allocations: 301.1 kB / 0.4929 GB, free: 15.42 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001101/0.4259, allocations: 0.6598 MB / 0.4935 GB, free: 14.76 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00136/0.4273, allocations: 1.125 MB / 0.4946 GB, free: 13.43 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002634/0.4299, allocations: 1.89 MB / 0.4965 GB, free: 11.34 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.346e-05/0.43, allocations: 4 kB / 0.4965 GB, free: 11.34 MB / 430.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.003996/0.434, allocations: 2.413 MB / 0.4988 GB, free: 8.887 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.691e-05/0.434, allocations: 12 kB / 0.4989 GB, free: 8.875 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.544e-05/0.434, allocations: 16 kB / 0.4989 GB, free: 8.859 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007975/0.4348, allocations: 311.4 kB / 0.4992 GB, free: 8.543 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001282/0.4361, allocations: 355.4 kB / 0.4995 GB, free: 8.195 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006116/0.4423, allocations: 6.615 MB / 0.506 GB, free: 1.16 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001372/0.4437, allocations: 87.89 kB / 0.5061 GB, free: 1.074 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001769/0.4438, allocations: 68 kB / 0.5061 GB, free: 1.008 MB / 430.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.001774/0.4456, allocations: 1.001 MB / 0.5071 GB, free: 15.99 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004334/0.4461, allocations: 181.8 kB / 0.5073 GB, free: 15.81 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00385/0.4499, allocations: 2.213 MB / 0.5094 GB, free: 13.54 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.465e-05/0.45, allocations: 12 kB / 0.5094 GB, free: 13.52 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.75e-05/0.45, allocations: 8 kB / 0.5095 GB, free: 13.52 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.456e-05/0.45, allocations: 7.969 kB / 0.5095 GB, free: 13.51 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008655/0.4587, allocations: 4.944 MB / 0.5143 GB, free: 8.43 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.634e-06/0.4587, allocations: 3.938 kB / 0.5143 GB, free: 8.426 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007209/0.4594, allocations: 163.8 kB / 0.5144 GB, free: 8.266 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001268/0.4607, allocations: 492 kB / 0.5149 GB, free: 7.77 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.716e-05/0.4608, allocations: 35.98 kB / 0.515 GB, free: 7.734 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01068/0.4715, allocations: 11.48 MB / 0.5262 GB, free: 11.55 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.4715, allocations: 0 / 0.5262 GB, free: 11.55 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005139/0.4767, allocations: 3.1 MB / 0.5292 GB, free: 8.359 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009502/0.4777, allocations: 414.6 kB / 0.5296 GB, free: 7.934 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003792/0.4781, allocations: 32 kB / 0.5296 GB, free: 7.902 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001012/0.4791, allocations: 71.88 kB / 0.5297 GB, free: 7.832 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002496/0.4793, allocations: 96.8 kB / 0.5298 GB, free: 7.738 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.264e-05/0.4794, allocations: 32 kB / 0.5298 GB, free: 7.707 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.00207/0.4815, allocations: 1.186 MB / 0.531 GB, free: 6.527 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.4815, allocations: 0 / 0.531 GB, free: 6.527 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002023/0.4836, allocations: 0.547 MB / 0.5315 GB, free: 5.98 MB / 462.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.005371/0.4889, allocations: 3.707 MB / 0.5351 GB, free: 2.176 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.2124/0.7014, allocations: 2.132 MB / 0.5372 GB, free: 126.7 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 8.676e-06/0.7014, allocations: 0.5312 kB / 0.5372 GB, free: 126.7 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00276/0.7042, allocations: 1.547 MB / 0.5387 GB, free: 126.1 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002563/0.7068, allocations: 0.5247 MB / 0.5392 GB, free: 126.1 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02362/0.7304, allocations: 19.21 MB / 0.558 GB, free: 114.9 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001432/0.7319, allocations: 2.285 MB / 0.5602 GB, free: 112.7 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0012/0.7331, allocations: 375.9 kB / 0.5606 GB, free: 112.3 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001005/0.7341, allocations: 1.108 MB / 0.5617 GB, free: 111.2 MB / 462.1 MB Notification: Performance of SimCode: time 6.61e-07/0.7341, allocations: 0 / 0.5617 GB, free: 111.2 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07427/0.8084, allocations: 51.18 MB / 0.6116 GB, free: 60.56 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.76/13.57, allocations: 8.953 kB / 0.6116 GB, free: 60.55 MB / 462.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