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.0009068/0.0009068, allocations: 95.56 kB / 16.3 MB, free: 5.656 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.0009062/0.0009063, allocations: 187.4 kB / 17.2 MB, free: 5.59 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.248/1.248, allocations: 223.2 MB / 241.1 MB, free: 14.55 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002283/0.0002285, allocations: 8.625 kB / 300.7 MB, free: 6.227 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09071/0.09095, allocations: 50.41 MB / 351.2 MB, free: 3.801 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.01099/0.102, allocations: 10.31 MB / 361.5 MB, free: 9.441 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.007095/0.1091, allocations: 4.041 MB / 365.5 MB, free: 5.391 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001796/0.1109, allocations: 63.75 kB / 365.6 MB, free: 5.328 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002591/0.1135, allocations: 0.7579 MB / 366.3 MB, free: 4.566 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003594/0.1172, allocations: 1.11 MB / 367.4 MB, free: 3.453 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001776/0.119, allocations: 0.5838 MB / 368 MB, free: 2.871 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004586/0.1235, allocations: 2.67 MB / 370.7 MB, free: 200 kB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1622/0.2858, allocations: 2.208 MB / 372.9 MB, free: 10.1 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001862/0.2877, allocations: 1.204 MB / 374.1 MB, free: 10.1 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002038/0.2897, allocations: 1.435 MB / 375.5 MB, free: 10.09 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004028/0.2901, allocations: 199.4 kB / 375.7 MB, free: 10.09 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001046/0.2912, allocations: 367.8 kB / 376.1 MB, free: 10.09 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007887/0.292, allocations: 0.7075 MB / 376.8 MB, free: 10.09 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001022/0.293, allocations: 0.7152 MB / 377.5 MB, free: 10.06 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005309/0.2983, allocations: 5.364 MB / 382.9 MB, free: 8.977 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.826e-06/0.2984, allocations: 0 / 382.9 MB, free: 8.977 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.246e-06/0.2984, allocations: 1.031 kB / 382.9 MB, free: 8.977 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001386/0.2985, allocations: 3.656 kB / 382.9 MB, free: 8.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.00996/0.3085, allocations: 3.669 MB / 386.6 MB, free: 6.941 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.691e-05/0.3085, allocations: 12.62 kB / 386.6 MB, free: 6.938 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005061/0.3136, allocations: 0.8066 MB / 387.4 MB, free: 6.613 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004569/0.3182, allocations: 2.242 MB / 389.6 MB, free: 5.816 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001753/0.3184, allocations: 234.5 kB / 389.8 MB, free: 5.805 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006267/0.319, allocations: 314.8 kB / 390.2 MB, free: 5.797 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007171/0.3262, allocations: 4.182 MB / 394.3 MB, free: 4.848 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.816e-05/0.3263, allocations: 4.938 kB / 394.3 MB, free: 4.848 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002916/0.3266, allocations: 131.4 kB / 394.5 MB, free: 4.844 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001301/0.3267, allocations: 153.3 kB / 394.6 MB, free: 4.824 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005931/0.3327, allocations: 3.601 MB / 398.2 MB, free: 3.23 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02041/0.3531, allocations: 13.2 MB / 411.4 MB, free: 6.898 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00654/0.3597, allocations: 6.893 MB / 418.3 MB, free: 15.11 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005805/0.3655, allocations: 3.179 MB / 421.5 MB, free: 11.89 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.938e-05/0.3656, allocations: 43.88 kB / 421.5 MB, free: 11.84 MB / 334.1 MB Notification: Performance of pre-optimization done (n=131): time 3.206e-06/0.3656, allocations: 0 / 421.5 MB, free: 11.84 MB / 334.1 MB Notification: Performance of matching and sorting (n=135): time 0.01213/0.3778, allocations: 5.783 MB / 427.3 MB, free: 5.879 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.379e-05/0.3779, allocations: 67.33 kB / 427.4 MB, free: 5.801 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002631/0.3805, allocations: 1.638 MB / 429 MB, free: 4.156 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001194/0.3806, allocations: 49.7 kB / 429.1 MB, free: 4.102 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000933/0.3816, allocations: 1.38 MB / 430.4 MB, free: 2.711 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003517/0.3819, allocations: 472 kB / 430.9 MB, free: 2.254 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.886e-05/0.382, allocations: 39.94 kB / 430.9 MB, free: 2.215 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001473/0.3822, allocations: 373.9 kB / 431.3 MB, free: 1.844 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001097/0.3833, allocations: 0.6871 MB / 432 MB, free: 1.156 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001419/0.3847, allocations: 1.133 MB / 433.1 MB, free: 15.84 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001318/0.386, allocations: 0.8965 MB / 434 MB, free: 14.95 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.693e-06/0.3861, allocations: 4 kB / 434 MB, free: 14.94 MB / 350.1 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.003693/0.3897, allocations: 2.405 MB / 436.4 MB, free: 12.5 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.215e-05/0.3898, allocations: 12 kB / 436.4 MB, free: 12.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.041e-05/0.3898, allocations: 12 kB / 436.5 MB, free: 12.47 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000652/0.3905, allocations: 268.7 kB / 436.7 MB, free: 12.2 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001368/0.3918, allocations: 379.4 kB / 437.1 MB, free: 11.83 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005146/0.397, allocations: 5.757 MB / 442.9 MB, free: 5.68 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001427/0.3985, allocations: 79.88 kB / 442.9 MB, free: 5.602 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001198/0.3986, allocations: 67.98 kB / 443 MB, free: 5.535 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 61 * 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 (188): * Single equations (assignments): 184 * 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%) 5,(1,100.0%) 1,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001986/0.4006, allocations: 1.001 MB / 444 MB, free: 4.523 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002985/0.4009, allocations: 177.8 kB / 444.2 MB, free: 4.348 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003896/0.4048, allocations: 2.275 MB / 446.4 MB, free: 2.008 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.274e-05/0.4048, allocations: 12 kB / 446.5 MB, free: 1.996 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.456e-06/0.4048, allocations: 8 kB / 446.5 MB, free: 1.988 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.382e-05/0.4048, allocations: 7.969 kB / 446.5 MB, free: 1.98 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008095/0.4129, allocations: 5.098 MB / 451.6 MB, free: 12.76 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.326e-06/0.413, allocations: 4.125 kB / 451.6 MB, free: 12.76 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008399/0.4138, allocations: 208 kB / 451.8 MB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001094/0.4149, allocations: 439.6 kB / 452.2 MB, free: 12.11 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.407e-05/0.415, allocations: 35.98 kB / 452.2 MB, free: 12.08 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009372/0.4244, allocations: 10.21 MB / 462.5 MB, free: 1.219 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.548e-06/0.4245, allocations: 4.031 kB / 462.5 MB, free: 1.215 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005068/0.4295, allocations: 3.335 MB / 465.8 MB, free: 13.73 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009465/0.4305, allocations: 422.7 kB / 466.2 MB, free: 13.3 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002334/0.4307, allocations: 31.98 kB / 466.2 MB, free: 13.27 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008265/0.4316, allocations: 75.95 kB / 466.3 MB, free: 13.19 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002382/0.4318, allocations: 105.1 kB / 466.4 MB, free: 13.09 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.529e-05/0.4319, allocations: 39.98 kB / 466.5 MB, free: 13.05 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001691/0.4336, allocations: 1.126 MB / 467.6 MB, free: 11.93 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4336, allocations: 0 / 467.6 MB, free: 11.93 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001991/0.4356, allocations: 0.543 MB / 468.1 MB, free: 11.39 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (98): * Single equations (assignments): 93 * 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%) 8,(1,100.0%) 1,(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.0003207/0.4359, allocations: 176.2 kB / 468.3 MB, free: 11.21 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003364/0.4393, allocations: 2.176 MB / 470.5 MB, free: 8.973 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.4393, allocations: 8.062 kB / 470.5 MB, free: 8.965 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002267/0.4416, allocations: 1.581 MB / 472.1 MB, free: 7.32 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0023/0.4439, allocations: 489.9 kB / 472.5 MB, free: 6.848 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01048/0.4544, allocations: 6.7 MB / 479.2 MB, free: 100 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002034/0.4565, allocations: 2.344 MB / 481.6 MB, free: 13.73 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001575/0.4581, allocations: 395.9 kB / 482 MB, free: 13.34 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002917/0.4584, allocations: 119.4 kB / 482.1 MB, free: 13.22 MB / 398.1 MB Notification: Performance of SimCode: time 8.92e-07/0.4584, allocations: 0 / 482.1 MB, free: 13.22 MB / 398.1 MB Notification: Performance of Templates: time 0.04461/0.503, allocations: 25.45 MB / 0.4956 GB, free: 4.094 MB / 414.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","../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