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.001454/0.001454, allocations: 113.8 kB / 17.28 MB, free: 6.219 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.00134/0.00134, allocations: 189.3 kB / 18.2 MB, free: 5.301 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.632/1.632, allocations: 205.1 MB / 224.1 MB, free: 12.44 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.001201/0.001201, allocations: 51.92 kB / 280.3 MB, free: 3.379 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1094/0.1106, allocations: 46.62 MB / 326.9 MB, free: 4.688 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter): time 0.01556/0.1263, allocations: 12.62 MB / 339.5 MB, free: 8 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.009976/0.1363, allocations: 4.202 MB / 343.7 MB, free: 3.781 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003048/0.1395, allocations: 67.75 kB / 343.8 MB, free: 3.715 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003065/0.1426, allocations: 0.8512 MB / 344.6 MB, free: 2.859 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004663/0.1472, allocations: 1.142 MB / 345.8 MB, free: 1.711 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00182/0.1491, allocations: 0.7992 MB / 346.6 MB, free: 0.9102 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.005565/0.1547, allocations: 4.024 MB / 350.6 MB, free: 12.87 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003937/0.1586, allocations: 3.165 MB / 353.8 MB, free: 9.629 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003038/0.1617, allocations: 1.713 MB / 355.5 MB, free: 7.91 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00259/0.1643, allocations: 2.039 MB / 357.5 MB, free: 5.863 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006663/0.1649, allocations: 0.4922 MB / 358 MB, free: 5.371 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00135/0.1663, allocations: 0.7068 MB / 358.7 MB, free: 4.664 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008746/0.1672, allocations: 1.091 MB / 359.8 MB, free: 3.57 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002158/0.1694, allocations: 2.077 MB / 361.9 MB, free: 1.484 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006995/0.1764, allocations: 6.512 MB / 368.4 MB, free: 10.95 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.126e-05/0.1764, allocations: 0 / 368.4 MB, free: 10.95 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.314e-06/0.1764, allocations: 7.875 kB / 368.4 MB, free: 10.95 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001426/0.1766, allocations: 0 / 368.4 MB, free: 10.95 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.01254/0.1891, allocations: 4.292 MB / 372.7 MB, free: 6.582 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.128e-05/0.1892, allocations: 8.031 kB / 372.7 MB, free: 6.574 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006719/0.1899, allocations: 451.2 kB / 373.1 MB, free: 6.121 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004336/0.1942, allocations: 0.8085 MB / 373.9 MB, free: 5.309 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004023/0.1982, allocations: 2.177 MB / 376.1 MB, free: 3.074 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002061/0.1985, allocations: 234.4 kB / 376.4 MB, free: 2.844 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004709/0.1989, allocations: 315.9 kB / 376.7 MB, free: 2.535 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.236/0.435, allocations: 4.211 MB / 380.9 MB, free: 48.14 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-05/0.4351, allocations: 4.938 kB / 380.9 MB, free: 48.14 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003448/0.4355, allocations: 129.1 kB / 381 MB, free: 48.14 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002548/0.4357, allocations: 149.6 kB / 381.2 MB, free: 48.13 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007163/0.4429, allocations: 3.6 MB / 384.8 MB, free: 46.73 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01934/0.4623, allocations: 13.19 MB / 397.9 MB, free: 38.54 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005457/0.4678, allocations: 6.9 MB / 404.8 MB, free: 31.93 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001732/0.4695, allocations: 1.365 MB / 406.2 MB, free: 31.26 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005328/0.4749, allocations: 3.722 MB / 409.9 MB, free: 28.54 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.878e-05/0.4749, allocations: 46.78 kB / 410 MB, free: 28.5 MB / 318.1 MB Notification: Performance of pre-optimization done (n=119): time 2.855e-06/0.4749, allocations: 3.984 kB / 410 MB, free: 28.49 MB / 318.1 MB Notification: Performance of matching and sorting (n=122): time 0.008959/0.4839, allocations: 5.362 MB / 415.3 MB, free: 24.45 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.727e-05/0.484, allocations: 64.41 kB / 415.4 MB, free: 24.37 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001999/0.486, allocations: 1.706 MB / 417.1 MB, free: 22.66 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.167e-05/0.4861, allocations: 49.7 kB / 417.2 MB, free: 22.61 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005759/0.4866, allocations: 1.402 MB / 418.6 MB, free: 21.19 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001982/0.4868, allocations: 433.5 kB / 419 MB, free: 20.77 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003336/0.4872, allocations: 283.3 kB / 419.3 MB, free: 20.49 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 3.634e-05/0.4872, allocations: 305.1 kB / 419.6 MB, free: 20.19 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001042/0.4883, allocations: 0.6442 MB / 420.2 MB, free: 19.55 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00101/0.4893, allocations: 1.118 MB / 421.3 MB, free: 18.22 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001967/0.4913, allocations: 1.866 MB / 423.2 MB, free: 16.16 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.113e-06/0.4913, allocations: 5.75 kB / 423.2 MB, free: 16.15 MB / 318.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.003123/0.4944, allocations: 2.315 MB / 425.5 MB, free: 13.8 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.571e-05/0.4945, allocations: 16.22 kB / 425.5 MB, free: 13.78 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.69e-05/0.4945, allocations: 16 kB / 425.5 MB, free: 13.77 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006471/0.4951, allocations: 271.3 kB / 425.8 MB, free: 13.49 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001195/0.4964, allocations: 355.4 kB / 426.2 MB, free: 13.14 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004123/0.5005, allocations: 6.209 MB / 432.4 MB, free: 6.535 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001291/0.5018, allocations: 75.86 kB / 432.4 MB, free: 6.461 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.762e-05/0.5019, allocations: 64 kB / 432.5 MB, free: 6.398 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.001369/0.5033, allocations: 1.009 MB / 433.5 MB, free: 5.379 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002298/0.5035, allocations: 177.8 kB / 433.7 MB, free: 5.203 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002896/0.5064, allocations: 2.115 MB / 435.8 MB, free: 3.02 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.186e-06/0.5064, allocations: 12 kB / 435.8 MB, free: 3.008 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.5065, allocations: 8 kB / 435.8 MB, free: 3 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.091e-05/0.5065, allocations: 7.984 kB / 435.8 MB, free: 2.992 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006681/0.5132, allocations: 4.821 MB / 440.6 MB, free: 14.06 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.721e-05/0.5132, allocations: 4 kB / 440.6 MB, free: 14.05 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007346/0.5139, allocations: 167.7 kB / 440.8 MB, free: 13.89 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001148/0.5151, allocations: 448.5 kB / 441.2 MB, free: 13.44 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.779e-05/0.5152, allocations: 35.98 kB / 441.3 MB, free: 13.41 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01152/0.5267, allocations: 11.04 MB / 452.3 MB, free: 1.695 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.683e-06/0.5268, allocations: 3.984 kB / 452.3 MB, free: 1.691 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005624/0.5324, allocations: 2.991 MB / 455.3 MB, free: 14.61 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009707/0.5334, allocations: 402.8 kB / 455.7 MB, free: 14.19 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002226/0.5337, allocations: 31.98 kB / 455.7 MB, free: 14.16 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007964/0.5345, allocations: 67.94 kB / 455.8 MB, free: 14.09 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002759/0.5348, allocations: 104.7 kB / 455.9 MB, free: 13.99 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.526e-05/0.5348, allocations: 35.98 kB / 455.9 MB, free: 13.96 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001773/0.5366, allocations: 1.178 MB / 457.1 MB, free: 12.79 MB / 350.1 MB Notification: Performance of sort global known variables: time 5.11e-07/0.5366, allocations: 0 / 457.1 MB, free: 12.79 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002107/0.5387, allocations: 0.5377 MB / 457.7 MB, free: 12.25 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.005056/0.5438, allocations: 3.595 MB / 461.3 MB, free: 8.562 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.004337/0.5482, allocations: 2.407 MB / 463.7 MB, free: 6.113 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.5482, allocations: 384 / 463.7 MB, free: 6.113 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002337/0.5505, allocations: 1.525 MB / 465.2 MB, free: 4.523 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002343/0.5529, allocations: 0.5028 MB / 465.7 MB, free: 4.02 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03877/0.5917, allocations: 22.28 MB / 488 MB, free: 12.14 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002128/0.5938, allocations: 2.281 MB / 490.3 MB, free: 9.828 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001339/0.5952, allocations: 379.8 kB / 490.6 MB, free: 9.453 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001377/0.5966, allocations: 1.101 MB / 491.7 MB, free: 8.352 MB / 382.1 MB Notification: Performance of SimCode: time 9.02e-07/0.5966, allocations: 4 kB / 491.7 MB, free: 8.348 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4452/1.042, allocations: 48.89 MB / 0.5279 GB, free: 7.371 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003678/1.042, allocations: 246.3 kB / 0.5282 GB, free: 7.117 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.343/4.385, allocations: 0 / 0.5282 GB, free: 7.117 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