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.0007862/0.0007863, allocations: 97.06 kB / 17.3 MB, free: 6.344 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.000891/0.000891, allocations: 177.1 kB / 18.2 MB, free: 5.531 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.355/1.355, allocations: 205.4 MB / 224.4 MB, free: 13.06 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.0004387/0.0004387, allocations: 12 kB / 281.5 MB, free: 3.305 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0848/0.08525, allocations: 47.57 MB / 329.1 MB, free: 3.66 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter): time 0.01184/0.09713, allocations: 11.99 MB / 341.1 MB, free: 7.605 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.007383/0.1045, allocations: 4.179 MB / 345.2 MB, free: 3.41 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001472/0.106, allocations: 63.75 kB / 345.3 MB, free: 3.348 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002067/0.1081, allocations: 0.8395 MB / 346.1 MB, free: 2.504 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003148/0.1113, allocations: 1.15 MB / 347.3 MB, free: 1.348 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001649/0.113, allocations: 0.7836 MB / 348.1 MB, free: 0.5625 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.004393/0.1174, allocations: 4.153 MB / 352.2 MB, free: 12.39 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002891/0.1203, allocations: 2.623 MB / 354.8 MB, free: 9.699 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001655/0.1219, allocations: 1.264 MB / 356.1 MB, free: 8.43 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001787/0.1237, allocations: 1.657 MB / 357.8 MB, free: 6.766 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002869/0.124, allocations: 204 kB / 358 MB, free: 6.566 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008488/0.1249, allocations: 411.7 kB / 358.4 MB, free: 6.164 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006245/0.1255, allocations: 0.751 MB / 359.1 MB, free: 5.41 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001512/0.127, allocations: 1.712 MB / 360.8 MB, free: 3.684 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004983/0.132, allocations: 6.159 MB / 367 MB, free: 13.5 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.132, allocations: 4 kB / 367 MB, free: 13.5 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.1321, allocations: 0 / 367 MB, free: 13.5 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.809e-05/0.1321, allocations: 0 / 367 MB, free: 13.5 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.008472/0.1406, allocations: 3.638 MB / 370.6 MB, free: 9.793 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.1407, allocations: 8.031 kB / 370.6 MB, free: 9.785 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006003/0.1413, allocations: 463.1 kB / 371.1 MB, free: 9.32 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003976/0.1453, allocations: 0.8047 MB / 371.9 MB, free: 8.512 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003211/0.1485, allocations: 2.169 MB / 374.1 MB, free: 6.285 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001539/0.1487, allocations: 238.4 kB / 374.3 MB, free: 6.051 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004957/0.1492, allocations: 315.9 kB / 374.6 MB, free: 5.742 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006694/0.1559, allocations: 4.23 MB / 378.8 MB, free: 1.461 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.835e-05/0.1559, allocations: 7.906 kB / 378.8 MB, free: 1.453 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002795/0.1562, allocations: 128 kB / 379 MB, free: 1.328 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002194/0.1565, allocations: 154.3 kB / 379.1 MB, free: 1.176 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1456/0.3021, allocations: 3.614 MB / 382.7 MB, free: 47.66 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01806/0.3201, allocations: 13.24 MB / 396 MB, free: 40.29 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005213/0.3254, allocations: 6.919 MB / 402.9 MB, free: 33.66 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00191/0.3273, allocations: 1.384 MB / 404.3 MB, free: 32.99 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005191/0.3325, allocations: 3.726 MB / 408 MB, free: 30.28 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.621e-05/0.3326, allocations: 44.16 kB / 408 MB, free: 30.23 MB / 318.1 MB Notification: Performance of pre-optimization done (n=119): time 2.585e-06/0.3326, allocations: 0 / 408 MB, free: 30.23 MB / 318.1 MB Notification: Performance of matching and sorting (n=122): time 0.009659/0.3423, allocations: 5.432 MB / 413.5 MB, free: 26.66 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.084e-05/0.3424, allocations: 64.41 kB / 413.5 MB, free: 26.59 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002262/0.3446, allocations: 1.705 MB / 415.2 MB, free: 24.88 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001074/0.3447, allocations: 46.69 kB / 415.3 MB, free: 24.82 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006779/0.3454, allocations: 1.411 MB / 416.7 MB, free: 23.4 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00031/0.3458, allocations: 421.7 kB / 417.1 MB, free: 22.99 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001621/0.3459, allocations: 129.6 kB / 417.2 MB, free: 22.86 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.174e-05/0.346, allocations: 301.1 kB / 417.5 MB, free: 22.56 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009215/0.3469, allocations: 0.6557 MB / 418.2 MB, free: 21.91 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009869/0.3479, allocations: 1.126 MB / 419.3 MB, free: 20.58 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00193/0.3499, allocations: 1.887 MB / 421.2 MB, free: 18.49 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.855e-06/0.3499, allocations: 4 kB / 421.2 MB, free: 18.49 MB / 318.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.003021/0.3529, allocations: 2.352 MB / 423.6 MB, free: 16.1 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.06e-05/0.3529, allocations: 8 kB / 423.6 MB, free: 16.09 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.598e-05/0.353, allocations: 16 kB / 423.6 MB, free: 16.07 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005705/0.3535, allocations: 269.5 kB / 423.8 MB, free: 15.8 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001129/0.3547, allocations: 363.4 kB / 424.2 MB, free: 15.45 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003542/0.3582, allocations: 5.703 MB / 429.9 MB, free: 9.359 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001171/0.3594, allocations: 80.03 kB / 430 MB, free: 9.281 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.662e-05/0.3595, allocations: 71.98 kB / 430 MB, free: 9.211 MB / 318.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.001315/0.3608, allocations: 0.9931 MB / 431 MB, free: 8.207 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002173/0.3611, allocations: 185.8 kB / 431.2 MB, free: 8.023 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002921/0.364, allocations: 2.127 MB / 433.3 MB, free: 5.824 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.845e-06/0.364, allocations: 16 kB / 433.4 MB, free: 5.809 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.995e-06/0.364, allocations: 4 kB / 433.4 MB, free: 5.805 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.106e-05/0.364, allocations: 7.969 kB / 433.4 MB, free: 5.797 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00556/0.3696, allocations: 4.84 MB / 438.2 MB, free: 0.8438 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.322e-06/0.3696, allocations: 3.984 kB / 438.2 MB, free: 0.8398 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006409/0.3703, allocations: 176 kB / 438.4 MB, free: 0.668 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009205/0.3712, allocations: 458 kB / 438.8 MB, free: 216 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.607e-05/0.3713, allocations: 35.98 kB / 438.9 MB, free: 180 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009241/0.3805, allocations: 10.09 MB / 449 MB, free: 5.445 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.3806, allocations: 0 / 449 MB, free: 5.445 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004688/0.3853, allocations: 3.032 MB / 452 MB, free: 2.32 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009704/0.3862, allocations: 406.8 kB / 452.4 MB, free: 1.902 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002256/0.3865, allocations: 32 kB / 452.4 MB, free: 1.871 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008194/0.3873, allocations: 75.94 kB / 452.5 MB, free: 1.797 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002495/0.3876, allocations: 92.8 kB / 452.6 MB, free: 1.707 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.915e-05/0.3877, allocations: 39.98 kB / 452.6 MB, free: 1.668 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.001667/0.3893, allocations: 1.174 MB / 453.8 MB, free: 0.5 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.3893, allocations: 4 kB / 453.8 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.00188/0.3912, allocations: 0.5352 MB / 454.3 MB, free: 15.96 MB / 350.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.004778/0.396, allocations: 3.62 MB / 458 MB, free: 12.25 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.003141/0.3992, allocations: 2.091 MB / 460 MB, free: 10.11 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.3992, allocations: 0 / 460 MB, free: 10.11 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00216/0.4014, allocations: 1.535 MB / 461.6 MB, free: 8.504 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002627/0.404, allocations: 495.5 kB / 462.1 MB, free: 8.02 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03623/0.4402, allocations: 22.47 MB / 484.5 MB, free: 15.95 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001921/0.4422, allocations: 2.285 MB / 486.8 MB, free: 13.63 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001315/0.4435, allocations: 383.8 kB / 487.2 MB, free: 13.25 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001277/0.4448, allocations: 1.097 MB / 488.3 MB, free: 12.16 MB / 382.1 MB Notification: Performance of SimCode: time 1.162e-06/0.4448, allocations: 0 / 488.3 MB, free: 12.16 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07148/0.5163, allocations: 47.24 MB / 0.523 GB, free: 12.84 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001807/0.5165, allocations: 253.2 kB / 0.5232 GB, free: 12.57 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.716/3.233, allocations: 0 / 0.5232 GB, free: 12.57 MB / 430.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","../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