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: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|loadInertia.phi|loadInertia.w|vfController.x",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|loadInertia.phi|loadInertia.w|vfController.x",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008754/0.0008753, allocations: 100.4 kB / 16.96 MB, free: 6.109 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.001051/0.001051, allocations: 182.7 kB / 17.84 MB, free: 5.73 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.625/1.625, allocations: 205.4 MB / 224 MB, free: 13.15 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.0005179/0.0005179, allocations: 12 kB / 280.8 MB, free: 3.727 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.117/0.1176, allocations: 47.58 MB / 328.4 MB, free: 4.07 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter): time 0.01253/0.1301, allocations: 11.21 MB / 339.6 MB, free: 8.816 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.009728/0.1399, allocations: 3.967 MB / 343.5 MB, free: 4.836 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002674/0.1427, allocations: 63.75 kB / 343.6 MB, free: 4.773 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003624/0.1463, allocations: 0.7146 MB / 344.3 MB, free: 4.055 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005468/0.1518, allocations: 1.041 MB / 345.4 MB, free: 3.008 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002682/0.1545, allocations: 0.5925 MB / 346 MB, free: 2.414 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.006938/0.1615, allocations: 3.895 MB / 349.8 MB, free: 14.5 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005197/0.1667, allocations: 2.178 MB / 352 MB, free: 12.29 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003416/0.1701, allocations: 1.241 MB / 353.3 MB, free: 11.04 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003934/0.1741, allocations: 1.595 MB / 354.9 MB, free: 9.441 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001137/0.1753, allocations: 204 kB / 355.1 MB, free: 9.242 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002571/0.1779, allocations: 387.8 kB / 355.4 MB, free: 8.863 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00146/0.1794, allocations: 0.7435 MB / 356.2 MB, free: 8.117 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001988/0.1814, allocations: 0.7226 MB / 356.9 MB, free: 7.387 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006989/0.1884, allocations: 5.388 MB / 362.3 MB, free: 1.984 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.602e-06/0.1884, allocations: 8 kB / 362.3 MB, free: 1.977 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.735e-06/0.1884, allocations: 0 / 362.3 MB, free: 1.977 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001907/0.1886, allocations: 0 / 362.3 MB, free: 1.977 MB / 302.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.01037/0.199, allocations: 3.669 MB / 366 MB, free: 14.24 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.219e-05/0.1991, allocations: 8.031 kB / 366 MB, free: 14.23 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004766/0.2038, allocations: 0.8116 MB / 366.8 MB, free: 13.41 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004898/0.2088, allocations: 2.118 MB / 368.9 MB, free: 11.24 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002045/0.209, allocations: 234.2 kB / 369.1 MB, free: 11.01 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007101/0.2097, allocations: 319.9 kB / 369.4 MB, free: 10.7 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009711/0.2194, allocations: 4.207 MB / 373.7 MB, free: 6.438 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.659e-05/0.2196, allocations: 7.953 kB / 373.7 MB, free: 6.43 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003085/0.2199, allocations: 128 kB / 373.8 MB, free: 6.305 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001868/0.2201, allocations: 146.3 kB / 373.9 MB, free: 6.16 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00765/0.2278, allocations: 3.593 MB / 377.5 MB, free: 2.559 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2491/0.4769, allocations: 13.24 MB / 390.8 MB, free: 42.89 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005975/0.4829, allocations: 6.898 MB / 397.7 MB, free: 36.65 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002103/0.4851, allocations: 1.382 MB / 399 MB, free: 36.06 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006978/0.4921, allocations: 3.726 MB / 402.8 MB, free: 33.37 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.699e-05/0.4921, allocations: 44.59 kB / 402.8 MB, free: 33.32 MB / 318.1 MB Notification: Performance of pre-optimization done (n=119): time 5.28e-06/0.4921, allocations: 9.422 kB / 402.8 MB, free: 33.32 MB / 318.1 MB Notification: Performance of matching and sorting (n=122): time 0.009931/0.5021, allocations: 5.462 MB / 408.3 MB, free: 29.78 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.409e-05/0.5021, allocations: 67.84 kB / 408.4 MB, free: 29.71 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002353/0.5045, allocations: 1.693 MB / 410 MB, free: 28.79 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.512e-05/0.5046, allocations: 48.98 kB / 410.1 MB, free: 28.75 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008883/0.5055, allocations: 1.407 MB / 411.5 MB, free: 27.51 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002863/0.5058, allocations: 422.4 kB / 411.9 MB, free: 27.15 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.386e-05/0.5059, allocations: 31.06 kB / 411.9 MB, free: 27.13 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001403/0.506, allocations: 368.6 kB / 412.3 MB, free: 26.78 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009301/0.5069, allocations: 0.6451 MB / 412.9 MB, free: 26.44 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001225/0.5082, allocations: 1.114 MB / 414.1 MB, free: 25.49 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001225/0.5094, allocations: 0.8575 MB / 414.9 MB, free: 25.02 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.172e-06/0.5094, allocations: 3.688 kB / 414.9 MB, free: 25.02 MB / 318.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.002836/0.5123, allocations: 2.324 MB / 417.2 MB, free: 22.68 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.317e-05/0.5123, allocations: 12 kB / 417.3 MB, free: 22.67 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.677e-05/0.5123, allocations: 12 kB / 417.3 MB, free: 22.66 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000588/0.5129, allocations: 276 kB / 417.5 MB, free: 22.38 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001136/0.5141, allocations: 363.4 kB / 417.9 MB, free: 22.03 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004211/0.5183, allocations: 5.689 MB / 423.6 MB, free: 15.96 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001173/0.5195, allocations: 84.09 kB / 423.7 MB, free: 15.88 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001275/0.5196, allocations: 67.98 kB / 423.7 MB, free: 15.81 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 (linear and non-linear blocks): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 5,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002051/0.5217, allocations: 0.9971 MB / 424.7 MB, free: 14.8 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002391/0.5219, allocations: 181.8 kB / 424.9 MB, free: 14.62 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003096/0.525, allocations: 2.133 MB / 427 MB, free: 12.43 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.937e-06/0.5251, allocations: 12 kB / 427.1 MB, free: 12.41 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.307e-06/0.5251, allocations: 8 kB / 427.1 MB, free: 12.41 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.218e-05/0.5251, allocations: 7.984 kB / 427.1 MB, free: 12.4 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006132/0.5312, allocations: 4.835 MB / 431.9 MB, free: 7.445 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.863e-06/0.5313, allocations: 4 kB / 431.9 MB, free: 7.441 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006763/0.5319, allocations: 172 kB / 432.1 MB, free: 7.273 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009372/0.5329, allocations: 454.5 kB / 432.5 MB, free: 6.816 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.612e-05/0.533, allocations: 39.92 kB / 432.6 MB, free: 6.777 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008936/0.5419, allocations: 10.07 MB / 442.6 MB, free: 12.05 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.5419, allocations: 0 / 442.6 MB, free: 12.05 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004903/0.5469, allocations: 3.006 MB / 445.6 MB, free: 8.961 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00107/0.548, allocations: 406.8 kB / 446 MB, free: 8.543 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002211/0.5482, allocations: 40.11 kB / 446.1 MB, free: 8.504 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007687/0.549, allocations: 71.95 kB / 446.1 MB, free: 8.434 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002812/0.5492, allocations: 104.8 kB / 446.2 MB, free: 8.332 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.655e-05/0.5493, allocations: 35.98 kB / 446.3 MB, free: 8.297 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.001941/0.5513, allocations: 1.162 MB / 447.4 MB, free: 7.141 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5513, allocations: 0 / 447.4 MB, free: 7.141 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.002258/0.5536, allocations: 0.5378 MB / 448 MB, free: 6.605 MB / 334.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 (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 5,(1,100.0%) 1,(1,100.0%) 13,(1,100.0%) 8,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003579/0.5539, allocations: 153.4 kB / 448.1 MB, free: 6.445 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.003676/0.5576, allocations: 2.088 MB / 450.2 MB, free: 4.309 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 8.646e-06/0.5576, allocations: 4 kB / 450.2 MB, free: 4.305 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002465/0.5601, allocations: 1.523 MB / 451.7 MB, free: 2.715 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002308/0.5624, allocations: 497.5 kB / 452.2 MB, free: 2.227 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01079/0.5732, allocations: 6.653 MB / 458.9 MB, free: 11.52 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002178/0.5755, allocations: 2.281 MB / 461.2 MB, free: 9.215 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.001626/0.5771, allocations: 387.8 kB / 461.5 MB, free: 8.832 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003474/0.5775, allocations: 119.4 kB / 461.7 MB, free: 8.715 MB / 350.1 MB Notification: Performance of SimCode: time 7.71e-07/0.5775, allocations: 0 / 461.7 MB, free: 8.715 MB / 350.1 MB Notification: Performance of Templates: time 0.05048/0.6279, allocations: 25.5 MB / 487.2 MB, free: 15.19 MB / 382.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.makefile (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 & ./Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/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