Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.InductionMachines.IMC_Inverter,fileNamePrefix="Modelica_4_0_0_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_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001413/0.001413, allocations: 109.7 kB / 17.06 MB, free: 6.016 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.001394/0.001394, allocations: 189.4 kB / 18 MB, free: 5.102 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.41/1.41, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001462/0.001462, allocations: 43.92 kB / 350.8 MB, free: 3.727 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2476/0.2491, allocations: 49.44 MB / 400.3 MB, free: 8.406 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.0153/0.2644, allocations: 12.81 MB / 413.1 MB, free: 11.95 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00829/0.2727, allocations: 4.244 MB / 417.3 MB, free: 7.688 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00217/0.275, allocations: 79.75 kB / 417.4 MB, free: 7.609 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00288/0.2779, allocations: 0.9775 MB / 418.4 MB, free: 6.629 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004445/0.2824, allocations: 1.266 MB / 419.6 MB, free: 5.355 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002434/0.2848, allocations: 0.8455 MB / 420.5 MB, free: 4.512 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.005659/0.2905, allocations: 3.886 MB / 424.4 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005068/0.2956, allocations: 3.213 MB / 427.6 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00335/0.299, allocations: 1.83 MB / 429.4 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00334/0.3024, allocations: 2.067 MB / 431.5 MB, free: 9.414 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009425/0.3033, allocations: 0.4961 MB / 432 MB, free: 8.918 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001672/0.305, allocations: 0.6951 MB / 432.7 MB, free: 8.223 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001228/0.3063, allocations: 1.114 MB / 433.8 MB, free: 7.105 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003281/0.3096, allocations: 2.073 MB / 435.9 MB, free: 5.023 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008551/0.3181, allocations: 6.611 MB / 442.5 MB, free: 14.39 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.633e-06/0.3182, allocations: 0 / 442.5 MB, free: 14.39 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.3182, allocations: 0 / 442.5 MB, free: 14.39 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001811/0.3184, allocations: 0 / 442.5 MB, free: 14.39 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.01234/0.3307, allocations: 4.397 MB / 446.9 MB, free: 9.918 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.403e-05/0.3308, allocations: 12.03 kB / 446.9 MB, free: 9.906 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008585/0.3317, allocations: 451.2 kB / 447.3 MB, free: 9.453 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004535/0.3362, allocations: 0.8144 MB / 448.1 MB, free: 8.637 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004974/0.3412, allocations: 2.4 MB / 450.5 MB, free: 6.18 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002506/0.3415, allocations: 246.1 kB / 450.8 MB, free: 5.938 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008668/0.3424, allocations: 308 kB / 451.1 MB, free: 5.637 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009253/0.3516, allocations: 4.227 MB / 455.3 MB, free: 1.359 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.181e-05/0.3518, allocations: 4 kB / 455.3 MB, free: 1.355 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003892/0.3522, allocations: 120 kB / 455.4 MB, free: 1.238 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001782/0.3524, allocations: 154.3 kB / 455.6 MB, free: 1.086 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007427/0.3598, allocations: 3.616 MB / 459.2 MB, free: 13.46 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02258/0.3824, allocations: 13.04 MB / 472.2 MB, free: 96 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00763/0.3901, allocations: 6.908 MB / 479.1 MB, free: 8.289 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002573/0.3927, allocations: 1.339 MB / 480.5 MB, free: 6.949 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00689/0.3996, allocations: 3.731 MB / 484.2 MB, free: 3.125 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.11e-05/0.3997, allocations: 55.5 kB / 484.3 MB, free: 3.059 MB / 398.1 MB Notification: Performance of pre-optimization done (n=120): time 3.657e-06/0.3997, allocations: 0 / 484.3 MB, free: 3.059 MB / 398.1 MB Notification: Performance of matching and sorting (n=123): time 0.01207/0.4118, allocations: 5.424 MB / 489.7 MB, free: 13.44 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.945e-05/0.4119, allocations: 68.34 kB / 489.7 MB, free: 13.36 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002944/0.4149, allocations: 1.705 MB / 491.5 MB, free: 11.65 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001905/0.4151, allocations: 49.7 kB / 491.5 MB, free: 11.59 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001326/0.4164, allocations: 1.434 MB / 492.9 MB, free: 10.14 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005048/0.4169, allocations: 456.2 kB / 493.4 MB, free: 9.695 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004906/0.4174, allocations: 287.4 kB / 493.7 MB, free: 9.41 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000136/0.4176, allocations: 305.1 kB / 494 MB, free: 9.109 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001237/0.4188, allocations: 0.6403 MB / 494.6 MB, free: 8.469 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00161/0.4204, allocations: 1.113 MB / 495.7 MB, free: 7.156 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003054/0.4235, allocations: 1.874 MB / 497.6 MB, free: 5.078 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.208e-05/0.4235, allocations: 4 kB / 497.6 MB, free: 5.074 MB / 414.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.004577/0.4281, allocations: 2.328 MB / 499.9 MB, free: 2.707 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.294e-05/0.4282, allocations: 12 kB / 499.9 MB, free: 2.695 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.768e-05/0.4282, allocations: 19.94 kB / 499.9 MB, free: 2.676 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008042/0.429, allocations: 271.5 kB / 0.4885 GB, free: 2.398 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001487/0.4305, allocations: 363.4 kB / 0.4888 GB, free: 2.043 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007058/0.4376, allocations: 6.201 MB / 0.4949 GB, free: 11.43 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001478/0.4391, allocations: 71.92 kB / 0.495 GB, free: 11.36 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002248/0.4394, allocations: 71.98 kB / 0.495 GB, free: 11.29 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 (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.002105/0.4415, allocations: 1.005 MB / 0.496 GB, free: 10.27 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005461/0.442, allocations: 186.8 kB / 0.4962 GB, free: 10.09 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004831/0.4469, allocations: 2.135 MB / 0.4983 GB, free: 7.887 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.666e-05/0.4469, allocations: 12 kB / 0.4983 GB, free: 7.875 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.265e-05/0.447, allocations: 4 kB / 0.4983 GB, free: 7.871 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.852e-05/0.447, allocations: 7.984 kB / 0.4983 GB, free: 7.863 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009568/0.4566, allocations: 4.822 MB / 0.503 GB, free: 2.902 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.526e-05/0.4566, allocations: 4 kB / 0.503 GB, free: 2.898 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008211/0.4574, allocations: 171.7 kB / 0.5032 GB, free: 2.73 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001315/0.4588, allocations: 448.1 kB / 0.5036 GB, free: 2.277 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001199/0.4589, allocations: 35.98 kB / 0.5036 GB, free: 2.242 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01217/0.4711, allocations: 11.04 MB / 0.5144 GB, free: 6.512 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.4e-06/0.4711, allocations: 4.328 kB / 0.5144 GB, free: 6.508 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005514/0.4767, allocations: 3.022 MB / 0.5174 GB, free: 3.402 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009662/0.4776, allocations: 411.7 kB / 0.5178 GB, free: 2.98 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004403/0.4781, allocations: 39.97 kB / 0.5178 GB, free: 2.941 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001082/0.4792, allocations: 59.95 kB / 0.5179 GB, free: 2.883 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003049/0.4795, allocations: 104.8 kB / 0.518 GB, free: 2.781 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.645e-05/0.4796, allocations: 35.98 kB / 0.518 GB, free: 2.746 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002266/0.4819, allocations: 1.17 MB / 0.5191 GB, free: 1.582 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4819, allocations: 0 / 0.5191 GB, free: 1.582 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002175/0.4841, allocations: 0.5391 MB / 0.5197 GB, free: 1.043 MB / 446.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 (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,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.005926/0.49, allocations: 3.622 MB / 0.5232 GB, free: 13.32 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003831/0.4939, allocations: 2.093 MB / 0.5252 GB, free: 11.17 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/0.4939, allocations: 3.938 kB / 0.5253 GB, free: 11.16 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00265/0.4966, allocations: 1.522 MB / 0.5267 GB, free: 9.578 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00317/0.4998, allocations: 0.4973 MB / 0.5272 GB, free: 9.082 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.268/0.7678, allocations: 19.08 MB / 0.5459 GB, free: 126.5 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002453/0.7703, allocations: 2.276 MB / 0.5481 GB, free: 125.4 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001943/0.7722, allocations: 390.8 kB / 0.5485 GB, free: 125.4 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001812/0.7741, allocations: 1.098 MB / 0.5495 GB, free: 124.5 MB / 462.1 MB Notification: Performance of SimCode: time 7.91e-07/0.7741, allocations: 0 / 0.5495 GB, free: 124.5 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1203/0.8944, allocations: 50.31 MB / 0.5987 GB, free: 77.12 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.42/14.32, allocations: 6.969 kB / 0.5987 GB, free: 77.12 MB / 462.1 MB (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Inverter_fmu --startTime=0 --stopTime=1.5 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Inverter.fmu > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches