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.001297/0.001297, allocations: 107.1 kB / 17.15 MB, free: 6.309 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.001303/0.001303, allocations: 198 kB / 18.07 MB, free: 5.41 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.329/1.329, allocations: 205.1 MB / 223.9 MB, free: 12.47 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.001346/0.001346, allocations: 51.92 kB / 280.1 MB, free: 3.488 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09994/0.1013, allocations: 46.64 MB / 326.7 MB, free: 4.789 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter): time 0.01565/0.117, allocations: 12.62 MB / 339.3 MB, free: 8.098 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01032/0.1274, allocations: 4.237 MB / 343.6 MB, free: 3.844 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003404/0.1309, allocations: 63.75 kB / 343.6 MB, free: 3.781 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004639/0.1355, allocations: 0.8434 MB / 344.5 MB, free: 2.934 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006964/0.1425, allocations: 1.143 MB / 345.6 MB, free: 1.785 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003681/0.1462, allocations: 0.7953 MB / 346.4 MB, free: 0.9883 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.008638/0.1549, allocations: 4.168 MB / 350.6 MB, free: 12.8 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006374/0.1613, allocations: 2.634 MB / 353.2 MB, free: 10.1 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003398/0.1647, allocations: 1.452 MB / 354.7 MB, free: 8.641 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004291/0.169, allocations: 1.891 MB / 356.6 MB, free: 6.742 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001504/0.1706, allocations: 292 kB / 356.8 MB, free: 6.457 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003041/0.1736, allocations: 495.7 kB / 357.3 MB, free: 5.973 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001994/0.1756, allocations: 0.8798 MB / 358.2 MB, free: 5.09 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005162/0.1808, allocations: 1.839 MB / 360 MB, free: 3.242 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01072/0.1916, allocations: 6.372 MB / 366.4 MB, free: 12.85 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.144e-06/0.1916, allocations: 0 / 366.4 MB, free: 12.85 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1916, allocations: 0 / 366.4 MB, free: 12.85 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0002453/0.1919, allocations: 4 kB / 366.4 MB, free: 12.85 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.01914/0.211, allocations: 4.3 MB / 370.7 MB, free: 8.477 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.122e-05/0.2111, allocations: 8.031 kB / 370.7 MB, free: 8.469 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001918/0.213, allocations: 447.2 kB / 371.2 MB, free: 8.02 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005584/0.2186, allocations: 0.8085 MB / 372 MB, free: 7.207 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00562/0.2243, allocations: 2.177 MB / 374.2 MB, free: 4.973 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002649/0.2246, allocations: 234.4 kB / 374.4 MB, free: 4.742 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001204/0.2258, allocations: 315.9 kB / 374.7 MB, free: 4.434 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01132/0.2371, allocations: 4.219 MB / 378.9 MB, free: 168 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001384/0.2373, allocations: 4 kB / 378.9 MB, free: 164 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008138/0.2381, allocations: 128 kB / 379 MB, free: 36 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.1884/0.4265, allocations: 143.3 kB / 379.2 MB, free: 49.17 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008797/0.4354, allocations: 3.597 MB / 382.8 MB, free: 48.63 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02551/0.4609, allocations: 13.19 MB / 396 MB, free: 40.83 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006005/0.467, allocations: 6.898 MB / 402.9 MB, free: 34.22 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00207/0.469, allocations: 1.376 MB / 404.2 MB, free: 33.55 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006/0.4751, allocations: 3.71 MB / 408 MB, free: 30.84 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.432e-05/0.4751, allocations: 47.44 kB / 408 MB, free: 30.79 MB / 318.1 MB Notification: Performance of pre-optimization done (n=119): time 2.926e-06/0.4751, allocations: 0.6562 kB / 408 MB, free: 30.79 MB / 318.1 MB Notification: Performance of matching and sorting (n=122): time 0.009353/0.4845, allocations: 5.359 MB / 413.4 MB, free: 26.4 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.659e-05/0.4846, allocations: 64.41 kB / 413.4 MB, free: 26.32 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002497/0.4871, allocations: 1.713 MB / 415.1 MB, free: 24.61 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.776e-05/0.4872, allocations: 45.7 kB / 415.2 MB, free: 24.55 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006513/0.4878, allocations: 1.403 MB / 416.6 MB, free: 23.14 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002487/0.4881, allocations: 429.4 kB / 417 MB, free: 22.72 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004019/0.4885, allocations: 283.3 kB / 417.3 MB, free: 22.44 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.082e-05/0.4885, allocations: 305.1 kB / 417.6 MB, free: 22.14 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009249/0.4895, allocations: 0.6402 MB / 418.2 MB, free: 21.5 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001055/0.4905, allocations: 1.118 MB / 419.3 MB, free: 20.18 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002023/0.4926, allocations: 1.866 MB / 421.2 MB, free: 18.11 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.246e-05/0.4926, allocations: 4 kB / 421.2 MB, free: 18.11 MB / 318.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.003324/0.4959, allocations: 2.327 MB / 423.5 MB, free: 15.74 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.298e-05/0.496, allocations: 18.03 kB / 423.5 MB, free: 15.72 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.345e-05/0.496, allocations: 12 kB / 423.6 MB, free: 15.71 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006515/0.4967, allocations: 274.2 kB / 423.8 MB, free: 15.43 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001169/0.4978, allocations: 355.5 kB / 424.2 MB, free: 15.09 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003878/0.5017, allocations: 5.696 MB / 429.9 MB, free: 9.008 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001234/0.503, allocations: 76.22 kB / 429.9 MB, free: 8.934 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001265/0.5031, allocations: 67.98 kB / 430 MB, free: 8.867 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.001564/0.5047, allocations: 1.001 MB / 431 MB, free: 7.855 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003785/0.5051, allocations: 173.8 kB / 431.2 MB, free: 7.684 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003237/0.5083, allocations: 2.127 MB / 433.3 MB, free: 5.488 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.939e-06/0.5083, allocations: 15.98 kB / 433.3 MB, free: 5.473 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.233e-05/0.5084, allocations: 4 kB / 433.3 MB, free: 5.469 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.169e-05/0.5084, allocations: 7.984 kB / 433.3 MB, free: 5.461 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007007/0.5154, allocations: 4.813 MB / 438.1 MB, free: 0.5312 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.282e-06/0.5154, allocations: 0 / 438.1 MB, free: 0.5312 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006487/0.5161, allocations: 167.8 kB / 438.3 MB, free: 376 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001051/0.5171, allocations: 456.6 kB / 438.8 MB, free: 15.91 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.497e-05/0.5172, allocations: 35.98 kB / 438.8 MB, free: 15.88 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00937/0.5266, allocations: 10.09 MB / 448.9 MB, free: 5.148 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.5266, allocations: 0 / 448.9 MB, free: 5.148 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004938/0.5316, allocations: 2.994 MB / 451.9 MB, free: 2.059 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009334/0.5326, allocations: 406.8 kB / 452.3 MB, free: 1.641 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004515/0.533, allocations: 28 kB / 452.3 MB, free: 1.613 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009983/0.534, allocations: 67.94 kB / 452.4 MB, free: 1.547 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002729/0.5343, allocations: 100.7 kB / 452.5 MB, free: 1.449 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.433e-05/0.5344, allocations: 39.98 kB / 452.5 MB, free: 1.41 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.002006/0.5364, allocations: 1.178 MB / 453.7 MB, free: 244 kB / 334.1 MB Notification: Performance of sort global known variables: time 2.134e-06/0.5364, allocations: 0 / 453.7 MB, free: 244 kB / 334.1 MB Notification: Performance of remove unused functions: time 0.002187/0.5386, allocations: 0.539 MB / 454.2 MB, free: 15.7 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.00512/0.5438, allocations: 3.59 MB / 457.8 MB, free: 12.02 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.003336/0.5471, allocations: 2.069 MB / 459.9 MB, free: 9.895 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 7.294e-06/0.5471, allocations: 4 kB / 459.9 MB, free: 9.891 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002247/0.5494, allocations: 1.518 MB / 461.4 MB, free: 8.309 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002673/0.5521, allocations: 498.8 kB / 461.9 MB, free: 7.82 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04223/0.5943, allocations: 22.28 MB / 484.2 MB, free: 15.95 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003086/0.5974, allocations: 2.28 MB / 486.4 MB, free: 13.64 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.00145/0.5989, allocations: 387.8 kB / 486.8 MB, free: 13.25 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00151/0.6004, allocations: 1.097 MB / 487.9 MB, free: 12.16 MB / 382.1 MB Notification: Performance of SimCode: time 3.246e-06/0.6005, allocations: 0 / 487.9 MB, free: 12.16 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1269/0.7273, allocations: 47.84 MB / 0.5232 GB, free: 12.2 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002724/0.7277, allocations: 261.8 kB / 0.5235 GB, free: 11.93 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.689/3.416, allocations: 4 kB / 0.5235 GB, free: 11.93 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