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.001222/0.001222, allocations: 106.5 kB / 17.73 MB, free: 5.355 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.001217/0.001217, allocations: 187 kB / 18.66 MB, free: 4.434 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.344/1.344, allocations: 205.1 MB / 224.5 MB, free: 12.25 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.001936/0.001936, allocations: 43.92 kB / 328 MB, free: 3.801 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09768/0.09963, allocations: 46.62 MB / 374.7 MB, free: 5.07 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter): time 0.2022/0.3019, allocations: 12.77 MB / 387.4 MB, free: 6.023 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.008391/0.3103, allocations: 4.267 MB / 391.7 MB, free: 3.34 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003114/0.3135, allocations: 69.06 kB / 391.8 MB, free: 3.32 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003237/0.3168, allocations: 0.977 MB / 392.7 MB, free: 2.801 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004891/0.3217, allocations: 1.26 MB / 394 MB, free: 1.969 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002785/0.3245, allocations: 0.8573 MB / 394.9 MB, free: 1.418 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.005988/0.3305, allocations: 3.885 MB / 398.7 MB, free: 15.39 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005054/0.3356, allocations: 3.176 MB / 401.9 MB, free: 14.02 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003938/0.3396, allocations: 1.843 MB / 403.8 MB, free: 13.1 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004714/0.3443, allocations: 2.058 MB / 405.8 MB, free: 12.07 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001565/0.3459, allocations: 0.4991 MB / 406.3 MB, free: 12.07 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002842/0.3488, allocations: 0.7002 MB / 407 MB, free: 11.99 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001556/0.3504, allocations: 1.104 MB / 408.1 MB, free: 11.27 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004644/0.355, allocations: 2.074 MB / 410.2 MB, free: 9.875 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009237/0.3643, allocations: 6.576 MB / 416.8 MB, free: 5.055 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.592e-06/0.3643, allocations: 3.938 kB / 416.8 MB, free: 5.051 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3644, allocations: 1.375 kB / 416.8 MB, free: 5.051 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0002061/0.3646, allocations: 0 / 416.8 MB, free: 5.051 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.01437/0.3789, allocations: 4.309 MB / 421.1 MB, free: 1.445 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.854e-05/0.379, allocations: 12.03 kB / 421.1 MB, free: 1.434 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008114/0.3798, allocations: 451.1 kB / 421.5 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004627/0.3845, allocations: 0.7969 MB / 422.3 MB, free: 184 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005363/0.3899, allocations: 2.24 MB / 424.6 MB, free: 13.88 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002428/0.3901, allocations: 238.2 kB / 424.8 MB, free: 13.65 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007507/0.3909, allocations: 319.9 kB / 425.1 MB, free: 13.34 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008437/0.3993, allocations: 4.219 MB / 429.3 MB, free: 9.066 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.86e-05/0.3994, allocations: 3.906 kB / 429.3 MB, free: 9.062 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003354/0.3998, allocations: 128 kB / 429.5 MB, free: 8.938 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001513/0.3999, allocations: 150.3 kB / 429.6 MB, free: 8.789 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006775/0.4067, allocations: 3.601 MB / 433.2 MB, free: 5.18 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02274/0.4295, allocations: 13.01 MB / 446.2 MB, free: 7.832 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00744/0.437, allocations: 6.912 MB / 453.1 MB, free: 24 kB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002473/0.4395, allocations: 1.347 MB / 454.5 MB, free: 14.67 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007184/0.4467, allocations: 3.703 MB / 458.2 MB, free: 10.87 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.88e-05/0.4468, allocations: 43.56 kB / 458.2 MB, free: 10.82 MB / 382.1 MB Notification: Performance of pre-optimization done (n=119): time 4.95e-06/0.4468, allocations: 0 / 458.2 MB, free: 10.82 MB / 382.1 MB Notification: Performance of matching and sorting (n=122): time 0.01609/0.4629, allocations: 5.364 MB / 463.6 MB, free: 5.258 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.666e-05/0.463, allocations: 64.41 kB / 463.7 MB, free: 5.184 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004698/0.4677, allocations: 1.705 MB / 465.4 MB, free: 3.473 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002625/0.4681, allocations: 49.7 kB / 465.4 MB, free: 3.418 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001654/0.4697, allocations: 1.403 MB / 466.8 MB, free: 1.996 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007045/0.4705, allocations: 429.9 kB / 467.2 MB, free: 1.57 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007681/0.4712, allocations: 279.3 kB / 467.5 MB, free: 1.293 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001712/0.4714, allocations: 309.1 kB / 467.8 MB, free: 0.9883 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001965/0.4734, allocations: 0.6364 MB / 468.4 MB, free: 360 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002496/0.4759, allocations: 1.118 MB / 469.6 MB, free: 15.02 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004779/0.4807, allocations: 1.871 MB / 471.4 MB, free: 12.95 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.897e-05/0.4808, allocations: 4 kB / 471.4 MB, free: 12.95 MB / 398.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.007312/0.4881, allocations: 2.323 MB / 473.8 MB, free: 10.58 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.826e-05/0.4882, allocations: 12 kB / 473.8 MB, free: 10.57 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.262e-05/0.4883, allocations: 19.94 kB / 473.8 MB, free: 10.55 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001289/0.4896, allocations: 267.5 kB / 474.1 MB, free: 10.28 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002404/0.492, allocations: 359.4 kB / 474.4 MB, free: 9.926 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009671/0.5017, allocations: 6.198 MB / 480.6 MB, free: 3.316 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002463/0.5042, allocations: 79.88 kB / 480.7 MB, free: 3.238 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003482/0.5046, allocations: 67.98 kB / 480.7 MB, free: 3.172 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.00305/0.5077, allocations: 1.009 MB / 481.8 MB, free: 2.152 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005243/0.5082, allocations: 173.8 kB / 481.9 MB, free: 1.98 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004209/0.5124, allocations: 2.119 MB / 484 MB, free: 15.79 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.509e-05/0.5125, allocations: 15.98 kB / 484.1 MB, free: 15.78 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.057e-05/0.5125, allocations: 4 kB / 484.1 MB, free: 15.77 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.356e-05/0.5125, allocations: 3.984 kB / 484.1 MB, free: 15.77 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009556/0.5221, allocations: 4.819 MB / 488.9 MB, free: 10.81 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-05/0.5221, allocations: 0 / 488.9 MB, free: 10.81 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008176/0.5229, allocations: 167.8 kB / 489.1 MB, free: 10.65 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001325/0.5243, allocations: 456.2 kB / 489.5 MB, free: 10.19 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001393/0.5244, allocations: 35.98 kB / 489.5 MB, free: 10.15 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01115/0.5356, allocations: 11.02 MB / 0.4888 GB, free: 14.44 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.502e-06/0.5356, allocations: 7.969 kB / 0.4888 GB, free: 14.43 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005339/0.541, allocations: 2.984 MB / 0.4917 GB, free: 11.35 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001234/0.5423, allocations: 414.7 kB / 0.4921 GB, free: 10.93 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005194/0.5428, allocations: 32 kB / 0.4922 GB, free: 10.89 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001196/0.544, allocations: 63.94 kB / 0.4922 GB, free: 10.83 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003021/0.5443, allocations: 104.7 kB / 0.4923 GB, free: 10.73 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001062/0.5445, allocations: 35.98 kB / 0.4924 GB, free: 10.7 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002201/0.5467, allocations: 1.178 MB / 0.4935 GB, free: 9.523 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.5467, allocations: 0 / 0.4935 GB, free: 9.523 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002531/0.5492, allocations: 0.5392 MB / 0.494 GB, free: 8.984 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.00572/0.5549, allocations: 3.595 MB / 0.4975 GB, free: 5.285 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00416/0.5591, allocations: 2.089 MB / 0.4996 GB, free: 3.141 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.733e-06/0.5592, allocations: 0 / 0.4996 GB, free: 3.141 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002581/0.5618, allocations: 1.534 MB / 0.5011 GB, free: 1.539 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00325/0.565, allocations: 0.4939 MB / 0.5016 GB, free: 1.043 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03638/0.6015, allocations: 19 MB / 0.5201 GB, free: 13.31 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003127/0.6046, allocations: 2.277 MB / 0.5223 GB, free: 11 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001345/0.606, allocations: 383.8 kB / 0.5227 GB, free: 10.62 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001417/0.6074, allocations: 1.105 MB / 0.5238 GB, free: 9.52 MB / 462.1 MB Notification: Performance of SimCode: time 8.52e-07/0.6074, allocations: 0 / 0.5238 GB, free: 9.52 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3003/0.9078, allocations: 50.54 MB / 0.5732 GB, free: 151.8 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.8/13.7, allocations: 0 / 0.5732 GB, free: 151.8 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