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/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.001302/0.001302, allocations: 115.8 kB / 18.4 MB, free: 4.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001136/0.001136, allocations: 203.4 kB / 19.35 MB, free: 3.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.315/1.315, allocations: 227.4 MB / 247.5 MB, free: 10.38 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001145/0.001145, allocations: 61.66 kB / 308.4 MB, free: 15.89 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09834/0.0995, allocations: 50.54 MB / 358.9 MB, free: 13.34 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.1784/0.278, allocations: 13.43 MB / 372.3 MB, free: 11.27 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.007689/0.2857, allocations: 4.504 MB / 376.8 MB, free: 11.11 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001799/0.2875, allocations: 81.56 kB / 376.9 MB, free: 11.11 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002619/0.2902, allocations: 0.9891 MB / 377.9 MB, free: 10.74 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003648/0.2939, allocations: 1.25 MB / 379.2 MB, free: 10.16 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001979/0.2958, allocations: 0.8824 MB / 380.1 MB, free: 9.719 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004378/0.3002, allocations: 3.935 MB / 384 MB, free: 7.777 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003378/0.3036, allocations: 3.236 MB / 387.2 MB, free: 6.418 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002779/0.3064, allocations: 1.845 MB / 389.1 MB, free: 5.547 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002851/0.3093, allocations: 2.188 MB / 391.3 MB, free: 4.562 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007227/0.31, allocations: 0.5016 MB / 391.8 MB, free: 4.562 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001602/0.3116, allocations: 0.7188 MB / 392.5 MB, free: 4.488 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007835/0.3124, allocations: 1.103 MB / 393.6 MB, free: 3.785 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002144/0.3146, allocations: 2.082 MB / 395.7 MB, free: 2.395 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005971/0.3205, allocations: 6.628 MB / 402.3 MB, free: 13.86 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.732e-06/0.3206, allocations: 8 kB / 402.3 MB, free: 13.85 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3206, allocations: 0 / 402.3 MB, free: 13.85 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001631/0.3208, allocations: 0 / 402.3 MB, free: 13.85 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.01236/0.3331, allocations: 4.339 MB / 406.6 MB, free: 10.44 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.506e-05/0.3332, allocations: 8.031 kB / 406.6 MB, free: 10.43 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004432/0.3376, allocations: 0.8 MB / 407.4 MB, free: 9.629 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004996/0.3426, allocations: 2.402 MB / 409.8 MB, free: 7.199 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000163/0.3428, allocations: 234.6 kB / 410.1 MB, free: 6.969 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004867/0.3433, allocations: 313.9 kB / 410.4 MB, free: 6.664 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006886/0.3502, allocations: 4.225 MB / 414.6 MB, free: 2.395 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.301e-05/0.3503, allocations: 4 kB / 414.6 MB, free: 2.391 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002788/0.3506, allocations: 127.3 kB / 414.7 MB, free: 2.27 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000142/0.3507, allocations: 150.3 kB / 414.9 MB, free: 2.121 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00592/0.3566, allocations: 3.609 MB / 418.5 MB, free: 14.5 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0188/0.3755, allocations: 13.1 MB / 431.6 MB, free: 1.156 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006475/0.382, allocations: 7.166 MB / 438.8 MB, free: 9.035 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002591/0.3846, allocations: 1.587 MB / 440.3 MB, free: 7.457 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006699/0.3913, allocations: 4.192 MB / 444.5 MB, free: 3.156 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.416e-05/0.3913, allocations: 51.5 kB / 444.6 MB, free: 3.098 MB / 350.1 MB Notification: Performance of pre-optimization done (n=120): time 2.846e-06/0.3914, allocations: 0 / 444.6 MB, free: 3.098 MB / 350.1 MB Notification: Performance of matching and sorting (n=123): time 0.0103/0.4017, allocations: 5.545 MB / 450.1 MB, free: 13.36 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.913e-05/0.4017, allocations: 68.34 kB / 450.2 MB, free: 13.28 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002247/0.404, allocations: 1.722 MB / 451.9 MB, free: 11.55 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.881e-05/0.4041, allocations: 49.7 kB / 452 MB, free: 11.5 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008997/0.405, allocations: 1.412 MB / 453.4 MB, free: 10.07 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003012/0.4053, allocations: 429.3 kB / 453.8 MB, free: 9.656 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004286/0.4057, allocations: 287.3 kB / 454.1 MB, free: 9.371 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.525e-05/0.4058, allocations: 301.1 kB / 454.4 MB, free: 9.074 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001052/0.4069, allocations: 0.6559 MB / 455 MB, free: 8.418 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001335/0.4082, allocations: 1.125 MB / 456.2 MB, free: 7.09 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002476/0.4107, allocations: 1.898 MB / 458.1 MB, free: 4.992 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.079e-05/0.4107, allocations: 4 kB / 458.1 MB, free: 4.988 MB / 366.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.003904/0.4146, allocations: 2.409 MB / 460.5 MB, free: 2.539 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.383e-05/0.4147, allocations: 11.94 kB / 460.5 MB, free: 2.527 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.027e-05/0.4147, allocations: 16 kB / 460.5 MB, free: 2.512 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007616/0.4155, allocations: 319.4 kB / 460.8 MB, free: 2.188 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001247/0.4167, allocations: 343.4 kB / 461.1 MB, free: 1.852 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006015/0.4228, allocations: 6.623 MB / 467.8 MB, free: 10.81 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001321/0.4241, allocations: 79.92 kB / 467.8 MB, free: 10.73 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000108/0.4242, allocations: 68 kB / 467.9 MB, free: 10.67 MB / 382.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 (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.001601/0.4258, allocations: 1.009 MB / 468.9 MB, free: 9.648 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002956/0.4261, allocations: 181.8 kB / 469.1 MB, free: 9.469 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003594/0.4297, allocations: 2.213 MB / 471.3 MB, free: 7.195 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.145e-05/0.4298, allocations: 12 kB / 471.3 MB, free: 7.184 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.042e-05/0.4298, allocations: 8 kB / 471.3 MB, free: 7.176 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.363e-05/0.4298, allocations: 7.969 kB / 471.3 MB, free: 7.168 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007642/0.4374, allocations: 4.941 MB / 476.3 MB, free: 2.117 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.043e-06/0.4375, allocations: 4 kB / 476.3 MB, free: 2.113 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000738/0.4382, allocations: 163.8 kB / 476.4 MB, free: 1.953 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001223/0.4395, allocations: 0.496 MB / 476.9 MB, free: 1.441 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.623e-05/0.4396, allocations: 35.98 kB / 477 MB, free: 1.406 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01019/0.4498, allocations: 11.46 MB / 488.4 MB, free: 5.254 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.538e-06/0.4498, allocations: 4.031 kB / 488.4 MB, free: 5.25 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004687/0.4545, allocations: 3.099 MB / 491.5 MB, free: 2.062 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008676/0.4554, allocations: 410.7 kB / 491.9 MB, free: 1.641 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002223/0.4556, allocations: 35.98 kB / 492 MB, free: 1.605 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008325/0.4564, allocations: 63.95 kB / 492 MB, free: 1.543 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000218/0.4566, allocations: 96.73 kB / 492.1 MB, free: 1.449 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.986e-05/0.4567, allocations: 43.98 kB / 492.2 MB, free: 1.406 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001741/0.4585, allocations: 1.178 MB / 493.4 MB, free: 240 kB / 398.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.4585, allocations: 0 / 493.4 MB, free: 240 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.00187/0.4604, allocations: 0.543 MB / 493.9 MB, free: 15.69 MB / 414.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 (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.0002981/0.4607, allocations: 165.8 kB / 494.1 MB, free: 15.52 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003104/0.4638, allocations: 2.139 MB / 496.2 MB, free: 13.32 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.4638, allocations: 0 / 496.2 MB, free: 13.32 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00216/0.466, allocations: 1.561 MB / 497.8 MB, free: 11.7 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001937/0.4679, allocations: 0.5019 MB / 498.3 MB, free: 11.2 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008603/0.4765, allocations: 5.505 MB / 0.492 GB, free: 5.66 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00212/0.4787, allocations: 2.285 MB / 0.4942 GB, free: 3.348 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001264/0.48, allocations: 379.9 kB / 0.4945 GB, free: 2.973 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003138/0.4803, allocations: 123.4 kB / 0.4947 GB, free: 2.852 MB / 414.1 MB Notification: Performance of SimCode: time 9.22e-07/0.4803, allocations: 0 / 0.4947 GB, free: 2.852 MB / 414.1 MB Notification: Performance of Templates: time 0.04892/0.5292, allocations: 28.02 MB / 0.522 GB, free: 7.156 MB / 446.1 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 -s gbode -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/jenkins1/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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches