Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001761/0.001761, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.37/1.37, allocations: 226.7 MB / 245.5 MB, free: 6.984 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009625/0.0009625, allocations: 102.8 kB / 296.7 MB, free: 6.461 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008821/0.0008822, allocations: 48.11 kB / 356.6 MB, free: 10.57 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1791/0.18, allocations: 50.45 MB / 407.1 MB, free: 27.8 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.009846/0.1899, allocations: 13.27 MB / 420.3 MB, free: 14.48 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.006239/0.1962, allocations: 4.454 MB / 424.8 MB, free: 10.02 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001586/0.1978, allocations: 75.69 kB / 424.9 MB, free: 9.945 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001947/0.1998, allocations: 0.8746 MB / 425.7 MB, free: 9.066 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002534/0.2023, allocations: 1.127 MB / 426.9 MB, free: 7.934 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001435/0.2038, allocations: 0.8255 MB / 427.7 MB, free: 7.109 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003247/0.207, allocations: 4.291 MB / 432 MB, free: 2.805 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00222/0.2093, allocations: 2.69 MB / 434.7 MB, free: 44 kB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001683/0.211, allocations: 1.467 MB / 436.1 MB, free: 14.57 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001977/0.2129, allocations: 1.903 MB / 438 MB, free: 12.66 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004307/0.2134, allocations: 292 kB / 438.3 MB, free: 12.38 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001167/0.2146, allocations: 0.5192 MB / 438.8 MB, free: 11.86 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007633/0.2153, allocations: 0.8837 MB / 439.7 MB, free: 10.97 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001915/0.2173, allocations: 1.843 MB / 441.6 MB, free: 9.117 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005546/0.2228, allocations: 6.418 MB / 448 MB, free: 2.68 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.2229, allocations: 3.938 kB / 448 MB, free: 2.676 MB / 314.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.2229, allocations: 0 / 448 MB, free: 2.676 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001189/0.223, allocations: 0 / 448 MB, free: 2.676 MB / 314.7 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.01045/0.2334, allocations: 4.328 MB / 452.3 MB, free: 14.28 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.631e-05/0.2335, allocations: 8.031 kB / 452.3 MB, free: 14.27 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003874/0.2374, allocations: 0.8008 MB / 453.1 MB, free: 13.46 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003957/0.2413, allocations: 2.306 MB / 455.4 MB, free: 11.1 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001678/0.2415, allocations: 234.4 kB / 455.7 MB, free: 10.87 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004668/0.242, allocations: 311.9 kB / 456 MB, free: 10.56 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006566/0.2486, allocations: 4.227 MB / 460.2 MB, free: 6.285 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.752e-05/0.2487, allocations: 3.938 kB / 460.2 MB, free: 6.281 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002625/0.2489, allocations: 124 kB / 460.3 MB, free: 6.16 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001257/0.2491, allocations: 150.3 kB / 460.5 MB, free: 6.012 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00576/0.2548, allocations: 3.609 MB / 464.1 MB, free: 2.395 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01948/0.2743, allocations: 13.28 MB / 477.4 MB, free: 4.766 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006318/0.2807, allocations: 7.148 MB / 484.5 MB, free: 12.66 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002742/0.2834, allocations: 1.59 MB / 486.1 MB, free: 11.07 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006534/0.29, allocations: 4.205 MB / 490.3 MB, free: 6.715 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.147e-05/0.2901, allocations: 43.56 kB / 490.3 MB, free: 6.664 MB / 362.7 MB Notification: Performance of pre-optimization done (n=120): time 3.366e-06/0.2901, allocations: 0 / 490.3 MB, free: 6.664 MB / 362.7 MB Notification: Performance of matching and sorting (n=123): time 0.0106/0.3007, allocations: 5.568 MB / 495.9 MB, free: 0.8984 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.654e-05/0.3007, allocations: 64.41 kB / 496 MB, free: 0.8203 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002196/0.3029, allocations: 1.718 MB / 497.7 MB, free: 15.1 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.982e-05/0.303, allocations: 45.7 kB / 497.7 MB, free: 15.05 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008313/0.3039, allocations: 1.411 MB / 499.2 MB, free: 13.62 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002846/0.3042, allocations: 437.7 kB / 499.6 MB, free: 13.18 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004071/0.3046, allocations: 283.3 kB / 499.9 MB, free: 12.9 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.342e-05/0.3047, allocations: 305.1 kB / 0.4884 GB, free: 12.6 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00102/0.3057, allocations: 0.6598 MB / 0.4891 GB, free: 11.94 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001255/0.307, allocations: 1.125 MB / 0.4902 GB, free: 10.62 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002396/0.3094, allocations: 1.894 MB / 0.492 GB, free: 8.523 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.304e-06/0.3094, allocations: 8 kB / 0.492 GB, free: 8.516 MB / 378.7 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.003875/0.3133, allocations: 2.394 MB / 0.4944 GB, free: 6.082 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.992e-05/0.3133, allocations: 18.75 kB / 0.4944 GB, free: 6.066 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.051e-05/0.3133, allocations: 16 kB / 0.4944 GB, free: 6.051 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007753/0.3141, allocations: 315.4 kB / 0.4947 GB, free: 5.73 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001259/0.3154, allocations: 347.5 kB / 0.495 GB, free: 5.391 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1635/0.4789, allocations: 6.115 MB / 0.501 GB, free: 87.69 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00152/0.4804, allocations: 76.66 kB / 0.5011 GB, free: 87.69 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001241/0.4806, allocations: 71.84 kB / 0.5011 GB, free: 87.69 MB / 378.7 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 (177): * Single equations (assignments): 173 * 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,8,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001835/0.4824, allocations: 1.002 MB / 0.5021 GB, free: 87.57 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002824/0.4827, allocations: 183.9 kB / 0.5023 GB, free: 87.57 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003647/0.4864, allocations: 2.214 MB / 0.5045 GB, free: 86.59 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.908e-06/0.4864, allocations: 12.38 kB / 0.5045 GB, free: 86.59 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.024e-05/0.4864, allocations: 9.875 kB / 0.5045 GB, free: 86.59 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.111e-05/0.4864, allocations: 8.875 kB / 0.5045 GB, free: 86.59 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006417/0.4928, allocations: 4.938 MB / 0.5093 GB, free: 84.26 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.571e-06/0.4929, allocations: 3.969 kB / 0.5093 GB, free: 84.26 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006693/0.4935, allocations: 164.4 kB / 0.5095 GB, free: 84.25 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001191/0.4947, allocations: 0.4915 MB / 0.51 GB, free: 84.09 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.198e-05/0.4948, allocations: 44.06 kB / 0.51 GB, free: 84.07 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00786/0.5027, allocations: 10.52 MB / 0.5203 GB, free: 75.43 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/0.5027, allocations: 0 / 0.5203 GB, free: 75.43 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02714/0.5299, allocations: 25.12 MB / 0.5448 GB, free: 52.73 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007832/0.5307, allocations: 410.9 kB / 0.5452 GB, free: 52.3 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002935/0.531, allocations: 35.98 kB / 0.5452 GB, free: 52.27 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000946/0.532, allocations: 75.52 kB / 0.5453 GB, free: 52.2 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002587/0.5322, allocations: 92.8 kB / 0.5454 GB, free: 52.11 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.088e-05/0.5323, allocations: 39.98 kB / 0.5454 GB, free: 52.07 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001532/0.5339, allocations: 1.182 MB / 0.5466 GB, free: 50.9 MB / 378.7 MB Notification: Performance of sort global known variables: time 2e-07/0.5339, allocations: 0 / 0.5466 GB, free: 50.9 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002435/0.5363, allocations: 0.761 MB / 0.5473 GB, free: 50.14 MB / 378.7 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 (83): * Single equations (assignments): 78 * 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,8,100.0%), (1,1,100.0%), (1,8,100.0%), (1,13,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.0002946/0.5366, allocations: 169.7 kB / 0.5475 GB, free: 49.98 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002738/0.5394, allocations: 2.123 MB / 0.5495 GB, free: 47.8 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.5394, allocations: 4 kB / 0.5496 GB, free: 47.79 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001844/0.5412, allocations: 1.549 MB / 0.5511 GB, free: 46.18 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002035/0.5433, allocations: 495.2 kB / 0.5515 GB, free: 45.7 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009323/0.5526, allocations: 8.536 MB / 0.5599 GB, free: 37.07 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001722/0.5544, allocations: 2.329 MB / 0.5621 GB, free: 34.72 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001275/0.5556, allocations: 391.8 kB / 0.5625 GB, free: 34.33 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003318/0.556, allocations: 119.4 kB / 0.5626 GB, free: 34.21 MB / 378.7 MB Notification: Performance of SimCode: time 5.91e-07/0.556, allocations: 4 kB / 0.5626 GB, free: 34.21 MB / 378.7 MB Notification: Performance of Templates: time 0.04366/0.5997, allocations: 32.1 MB / 0.594 GB, free: 2.418 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.makefile (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.sim & ./Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Inverter/IMC_Inverter.csv","../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches