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.001053/0.001053, allocations: 112.2 kB / 17.28 MB, free: 6.199 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.001013/0.001014, allocations: 189.3 kB / 18.2 MB, free: 5.277 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.333/1.333, allocations: 205.1 MB / 224.1 MB, free: 12.36 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.001994/0.001995, allocations: 47.92 kB / 280.2 MB, free: 3.48 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1036/0.1056, allocations: 46.64 MB / 326.8 MB, free: 4.77 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter): time 0.01474/0.1204, allocations: 12.63 MB / 339.4 MB, free: 8.078 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.008734/0.1292, allocations: 4.198 MB / 343.6 MB, free: 3.863 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002499/0.1318, allocations: 59.75 kB / 343.7 MB, free: 3.805 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002595/0.1344, allocations: 0.8629 MB / 344.5 MB, free: 2.938 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003797/0.1382, allocations: 1.135 MB / 345.7 MB, free: 1.797 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001879/0.1401, allocations: 0.7914 MB / 346.5 MB, free: 1.004 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.004832/0.1449, allocations: 4.032 MB / 350.5 MB, free: 12.95 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003319/0.1483, allocations: 3.169 MB / 353.7 MB, free: 9.711 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002305/0.1506, allocations: 1.713 MB / 355.4 MB, free: 7.992 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002247/0.1528, allocations: 2.035 MB / 357.4 MB, free: 5.949 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005859/0.1534, allocations: 0.4961 MB / 357.9 MB, free: 5.453 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001312/0.1548, allocations: 0.7029 MB / 358.6 MB, free: 4.75 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009485/0.1557, allocations: 1.099 MB / 359.7 MB, free: 3.648 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002053/0.1578, allocations: 2.066 MB / 361.8 MB, free: 1.574 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006055/0.1639, allocations: 6.52 MB / 368.3 MB, free: 11.04 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.1639, allocations: 0 / 368.3 MB, free: 11.04 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1639, allocations: 0 / 368.3 MB, free: 11.04 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001331/0.164, allocations: 3.984 kB / 368.3 MB, free: 11.03 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.01081/0.1749, allocations: 4.285 MB / 372.6 MB, free: 6.676 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.914e-05/0.1749, allocations: 12.03 kB / 372.6 MB, free: 6.664 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004168/0.1791, allocations: 0.8085 MB / 373.4 MB, free: 5.852 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003557/0.1827, allocations: 2.177 MB / 375.6 MB, free: 3.617 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001772/0.1829, allocations: 234.6 kB / 375.8 MB, free: 3.387 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004551/0.1833, allocations: 315.8 kB / 376.1 MB, free: 3.078 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1906/0.374, allocations: 4.219 MB / 380.3 MB, free: 48.06 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.44e-05/0.3741, allocations: 9.5 kB / 380.3 MB, free: 48.06 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003109/0.3744, allocations: 127.4 kB / 380.5 MB, free: 48.06 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001513/0.3746, allocations: 151.5 kB / 380.6 MB, free: 48.05 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006447/0.381, allocations: 3.599 MB / 384.2 MB, free: 46.86 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01691/0.3979, allocations: 13.18 MB / 397.4 MB, free: 38.69 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005029/0.403, allocations: 6.906 MB / 404.3 MB, free: 32.07 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001636/0.4047, allocations: 1.367 MB / 405.7 MB, free: 31.41 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004614/0.4093, allocations: 3.719 MB / 409.4 MB, free: 28.69 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.224e-05/0.4093, allocations: 50.56 kB / 409.4 MB, free: 28.64 MB / 318.1 MB Notification: Performance of pre-optimization done (n=119): time 2.214e-06/0.4093, allocations: 0.5469 kB / 409.4 MB, free: 28.64 MB / 318.1 MB Notification: Performance of matching and sorting (n=122): time 0.008298/0.4176, allocations: 5.358 MB / 414.8 MB, free: 25.07 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.636e-05/0.4177, allocations: 68.41 kB / 414.9 MB, free: 25 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001763/0.4195, allocations: 1.709 MB / 416.6 MB, free: 23.28 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.61e-05/0.4195, allocations: 46.69 kB / 416.6 MB, free: 23.23 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005496/0.4201, allocations: 1.398 MB / 418 MB, free: 21.82 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00021/0.4203, allocations: 429.5 kB / 418.4 MB, free: 21.4 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003351/0.4207, allocations: 283.3 kB / 418.7 MB, free: 21.12 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 3.672e-05/0.4207, allocations: 305.1 kB / 419 MB, free: 20.82 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008195/0.4215, allocations: 0.6442 MB / 419.7 MB, free: 20.18 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009979/0.4225, allocations: 1.118 MB / 420.8 MB, free: 18.86 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001837/0.4244, allocations: 1.868 MB / 422.6 MB, free: 16.79 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.553e-06/0.4244, allocations: 8 kB / 422.7 MB, free: 16.78 MB / 318.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.002741/0.4271, allocations: 2.317 MB / 425 MB, free: 14.42 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.138e-05/0.4272, allocations: 12 kB / 425 MB, free: 14.41 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.543e-05/0.4272, allocations: 19.94 kB / 425 MB, free: 14.39 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005546/0.4278, allocations: 265.9 kB / 425.3 MB, free: 14.12 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00115/0.4289, allocations: 359.4 kB / 425.6 MB, free: 13.77 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003848/0.4328, allocations: 6.207 MB / 431.8 MB, free: 7.164 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001184/0.434, allocations: 75.86 kB / 431.9 MB, free: 7.09 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.124e-05/0.4341, allocations: 68.09 kB / 432 MB, free: 7.023 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.001402/0.4355, allocations: 1.001 MB / 433 MB, free: 6.012 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002384/0.4357, allocations: 181.8 kB / 433.1 MB, free: 5.832 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002942/0.4387, allocations: 2.119 MB / 435.3 MB, free: 3.652 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.666e-06/0.4387, allocations: 12 kB / 435.3 MB, free: 3.641 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.664e-06/0.4387, allocations: 12 kB / 435.3 MB, free: 3.629 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.35e-05/0.4387, allocations: 3.984 kB / 435.3 MB, free: 3.625 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006283/0.445, allocations: 4.819 MB / 440.1 MB, free: 14.69 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/0.445, allocations: 4 kB / 440.1 MB, free: 14.69 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007347/0.4458, allocations: 167.8 kB / 440.3 MB, free: 14.52 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001136/0.4469, allocations: 460.3 kB / 440.7 MB, free: 14.06 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.457e-05/0.447, allocations: 35.98 kB / 440.8 MB, free: 14.03 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01067/0.4577, allocations: 11.02 MB / 451.8 MB, free: 2.336 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.132e-06/0.4578, allocations: 7.969 kB / 451.8 MB, free: 2.328 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005238/0.463, allocations: 2.997 MB / 454.8 MB, free: 15.24 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009488/0.464, allocations: 402.8 kB / 455.2 MB, free: 14.83 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000245/0.4642, allocations: 40.17 kB / 455.2 MB, free: 14.79 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008354/0.4651, allocations: 59.95 kB / 455.3 MB, free: 14.73 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002678/0.4654, allocations: 104.7 kB / 455.4 MB, free: 14.63 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.633e-05/0.4654, allocations: 39.98 kB / 455.4 MB, free: 14.59 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001746/0.4672, allocations: 1.174 MB / 456.6 MB, free: 13.42 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4672, allocations: 0 / 456.6 MB, free: 13.42 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002203/0.4694, allocations: 0.5352 MB / 457.1 MB, free: 12.89 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.0003577/0.4698, allocations: 157.5 kB / 457.3 MB, free: 12.73 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.004455/0.4742, allocations: 2.404 MB / 459.7 MB, free: 10.28 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.4743, allocations: 0 / 459.7 MB, free: 10.28 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002247/0.4765, allocations: 1.529 MB / 461.2 MB, free: 8.688 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002106/0.4786, allocations: 0.4984 MB / 461.7 MB, free: 8.188 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01048/0.4891, allocations: 6.832 MB / 468.5 MB, free: 1.316 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00205/0.4912, allocations: 2.291 MB / 470.8 MB, free: 15 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.001451/0.4927, allocations: 383.8 kB / 471.2 MB, free: 14.62 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003026/0.493, allocations: 123.4 kB / 471.3 MB, free: 14.5 MB / 366.1 MB Notification: Performance of SimCode: time 8.61e-07/0.493, allocations: 0 / 471.3 MB, free: 14.5 MB / 366.1 MB Notification: Performance of Templates: time 0.04749/0.5405, allocations: 27.42 MB / 498.7 MB, free: 3.078 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