Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.InductionMachines.IMC_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_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_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_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001064/0.001064, allocations: 85.58 kB / 16.31 MB, free: 6.449 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.00138/0.00138, allocations: 180.7 kB / 17.21 MB, free: 6.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.435/1.435, allocations: 223.2 MB / 241.2 MB, free: 5.266 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002306/0.0002307, allocations: 5.531 kB / 300.8 MB, free: 5.547 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08856/0.0888, allocations: 50.42 MB / 351.3 MB, free: 11.39 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.01154/0.1004, allocations: 11.28 MB / 362.5 MB, free: 64 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.007419/0.1078, allocations: 3.919 MB / 366.5 MB, free: 12.13 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001225/0.1091, allocations: 71.75 kB / 366.5 MB, free: 12.06 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001747/0.1108, allocations: 0.7263 MB / 367.2 MB, free: 11.33 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002789/0.1137, allocations: 1.057 MB / 368.3 MB, free: 10.27 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001404/0.1151, allocations: 0.5811 MB / 368.9 MB, free: 9.691 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004281/0.1194, allocations: 3.88 MB / 372.8 MB, free: 5.793 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002651/0.122, allocations: 2.206 MB / 375 MB, free: 3.547 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00156/0.1236, allocations: 1.237 MB / 376.2 MB, free: 2.305 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001823/0.1254, allocations: 1.583 MB / 377.8 MB, free: 0.7148 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003232/0.1258, allocations: 208 kB / 378 MB, free: 0.5117 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008884/0.1267, allocations: 387.8 kB / 378.4 MB, free: 136 kB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006705/0.1273, allocations: 0.7396 MB / 379.1 MB, free: 15.39 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000675/0.128, allocations: 0.7149 MB / 379.8 MB, free: 14.66 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004569/0.1326, allocations: 5.407 MB / 385.2 MB, free: 9.246 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.1326, allocations: 0 / 385.2 MB, free: 9.246 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.1326, allocations: 4 kB / 385.2 MB, free: 9.242 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.673e-05/0.1327, allocations: 0 / 385.2 MB, free: 9.242 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.008501/0.1412, allocations: 3.684 MB / 388.9 MB, free: 5.488 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/0.1413, allocations: 8.031 kB / 388.9 MB, free: 5.48 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004073/0.1454, allocations: 0.8077 MB / 389.7 MB, free: 4.668 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003636/0.149, allocations: 2.231 MB / 392 MB, free: 2.379 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001832/0.1492, allocations: 238.2 kB / 392.2 MB, free: 2.145 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004477/0.1497, allocations: 307.9 kB / 392.5 MB, free: 1.844 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007379/0.1571, allocations: 4.211 MB / 396.7 MB, free: 13.58 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.288e-05/0.1571, allocations: 7.984 kB / 396.7 MB, free: 13.57 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002767/0.1574, allocations: 124 kB / 396.8 MB, free: 13.45 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001495/0.1576, allocations: 146.3 kB / 397 MB, free: 13.31 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006134/0.1637, allocations: 3.605 MB / 400.6 MB, free: 9.695 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01845/0.1822, allocations: 13.23 MB / 413.8 MB, free: 12.14 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006274/0.1885, allocations: 6.912 MB / 420.7 MB, free: 4.328 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002094/0.1906, allocations: 1.382 MB / 422.1 MB, free: 2.945 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1711/0.3618, allocations: 3.743 MB / 425.9 MB, free: 60.12 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.939e-05/0.3618, allocations: 45.12 kB / 425.9 MB, free: 60.08 MB / 350.1 MB Notification: Performance of pre-optimization done (n=120): time 3.125e-06/0.3618, allocations: 0 / 425.9 MB, free: 60.08 MB / 350.1 MB Notification: Performance of matching and sorting (n=123): time 0.008961/0.3708, allocations: 5.487 MB / 431.4 MB, free: 58.74 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.759e-05/0.3709, allocations: 64.75 kB / 431.5 MB, free: 58.68 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002369/0.3732, allocations: 1.689 MB / 433.1 MB, free: 58.49 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.859e-05/0.3733, allocations: 49.42 kB / 433.2 MB, free: 58.46 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007494/0.3741, allocations: 1.395 MB / 434.6 MB, free: 57.79 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002495/0.3743, allocations: 441.5 kB / 435 MB, free: 57.51 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.381e-05/0.3744, allocations: 30.53 kB / 435 MB, free: 57.51 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.416e-05/0.3745, allocations: 368.8 kB / 435.4 MB, free: 57.21 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001085/0.3756, allocations: 0.645 MB / 436 MB, free: 57.21 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001295/0.3769, allocations: 1.12 MB / 437.2 MB, free: 56.67 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001183/0.3781, allocations: 0.8544 MB / 438 MB, free: 56.62 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.306e-06/0.3781, allocations: 5.5 kB / 438 MB, free: 56.62 MB / 350.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.003314/0.3815, allocations: 2.335 MB / 440.4 MB, free: 55.83 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.389e-05/0.3815, allocations: 15.08 kB / 440.4 MB, free: 55.83 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.861e-05/0.3815, allocations: 15.28 kB / 440.4 MB, free: 55.83 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005974/0.3821, allocations: 269.6 kB / 440.7 MB, free: 55.73 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001223/0.3834, allocations: 356.4 kB / 441 MB, free: 55.7 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00377/0.3871, allocations: 5.684 MB / 446.7 MB, free: 50.78 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001045/0.3882, allocations: 83.08 kB / 446.8 MB, free: 50.75 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.296e-05/0.3883, allocations: 67.11 kB / 446.8 MB, free: 50.73 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * 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.001364/0.3897, allocations: 0.9979 MB / 447.8 MB, free: 50.17 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001985/0.3899, allocations: 184.9 kB / 448 MB, free: 50.07 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003095/0.393, allocations: 2.147 MB / 450.2 MB, free: 49.01 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.707e-06/0.393, allocations: 11.84 kB / 450.2 MB, free: 49.01 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.393, allocations: 3.938 kB / 450.2 MB, free: 49.01 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.173e-05/0.393, allocations: 11.34 kB / 450.2 MB, free: 49.01 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005647/0.3987, allocations: 4.828 MB / 455 MB, free: 46.46 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.971e-06/0.3987, allocations: 4.594 kB / 455 MB, free: 46.46 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006993/0.3994, allocations: 169 kB / 455.2 MB, free: 46.42 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009166/0.4003, allocations: 457.3 kB / 455.6 MB, free: 46.17 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.444e-05/0.4004, allocations: 37.92 kB / 455.7 MB, free: 46.14 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006775/0.4072, allocations: 10.08 MB / 465.8 MB, free: 36.53 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.4072, allocations: 4.75 kB / 465.8 MB, free: 36.53 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003623/0.4109, allocations: 3.007 MB / 468.8 MB, free: 33.43 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005445/0.4114, allocations: 410.7 kB / 469.2 MB, free: 33.01 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002077/0.4116, allocations: 39.94 kB / 469.2 MB, free: 32.97 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007344/0.4124, allocations: 71.95 kB / 469.3 MB, free: 32.9 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001539/0.4125, allocations: 93.64 kB / 469.4 MB, free: 32.81 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.507e-05/0.4126, allocations: 40.11 kB / 469.4 MB, free: 32.77 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001298/0.4139, allocations: 1.154 MB / 470.6 MB, free: 31.62 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4139, allocations: 0 / 470.6 MB, free: 31.62 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001665/0.4156, allocations: 0.5455 MB / 471.1 MB, free: 31.08 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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%) 8,(1,100.0%) 13,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000229/0.4158, allocations: 163.2 kB / 471.3 MB, free: 30.91 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002476/0.4183, allocations: 2.093 MB / 473.4 MB, free: 28.77 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.4183, allocations: 0 / 473.4 MB, free: 28.77 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001709/0.4201, allocations: 1.536 MB / 474.9 MB, free: 27.17 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001774/0.4218, allocations: 499.1 kB / 475.4 MB, free: 26.7 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007164/0.429, allocations: 6.631 MB / 482 MB, free: 20.03 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001403/0.4304, allocations: 2.28 MB / 484.3 MB, free: 17.73 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.001154/0.4316, allocations: 387.7 kB / 484.7 MB, free: 17.34 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002696/0.4319, allocations: 123.4 kB / 484.8 MB, free: 17.22 MB / 350.1 MB Notification: Performance of SimCode: time 3.91e-07/0.4319, allocations: 7.938 kB / 484.8 MB, free: 17.21 MB / 350.1 MB Notification: Performance of Templates: time 0.03739/0.4693, allocations: 25.55 MB / 0.4984 GB, free: 7.961 MB / 366.1 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.sim & ./Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Inverter/IMC_Inverter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches