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.001403/0.001403, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001546/0.001546, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.46/1.46, allocations: 227.4 MB / 246.8 MB, free: 10.6 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001866/0.001866, allocations: 71.69 kB / 307 MB, free: 0.5703 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0962/0.09808, allocations: 50.54 MB / 357.6 MB, free: 14.04 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.01562/0.1137, allocations: 13.44 MB / 371 MB, free: 0.5234 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1592/0.273, allocations: 4.494 MB / 375.5 MB, free: 10.02 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001986/0.275, allocations: 86.75 kB / 375.6 MB, free: 10.01 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002958/0.278, allocations: 0.9819 MB / 376.6 MB, free: 9.867 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004199/0.2822, allocations: 1.251 MB / 377.8 MB, free: 9.465 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002246/0.2845, allocations: 0.8946 MB / 378.7 MB, free: 9.086 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004596/0.2891, allocations: 3.9 MB / 382.6 MB, free: 7.168 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003474/0.2926, allocations: 3.231 MB / 385.8 MB, free: 5.809 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002923/0.2955, allocations: 1.843 MB / 387.7 MB, free: 4.934 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003414/0.299, allocations: 2.179 MB / 389.9 MB, free: 3.949 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008265/0.2998, allocations: 0.4987 MB / 390.4 MB, free: 3.949 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001933/0.3017, allocations: 0.7306 MB / 391.1 MB, free: 3.875 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008598/0.3026, allocations: 1.107 MB / 392.2 MB, free: 3.168 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002201/0.3048, allocations: 2.086 MB / 394.3 MB, free: 1.777 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006395/0.3112, allocations: 6.589 MB / 400.9 MB, free: 13.46 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.634e-06/0.3113, allocations: 4 kB / 400.9 MB, free: 13.45 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3113, allocations: 0 / 400.9 MB, free: 13.45 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001431/0.3114, allocations: 0 / 400.9 MB, free: 13.45 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.01202/0.3235, allocations: 4.34 MB / 405.2 MB, free: 10.25 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.364e-05/0.3235, allocations: 12.03 kB / 405.2 MB, free: 10.24 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004268/0.3278, allocations: 0.7827 MB / 406 MB, free: 9.461 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004362/0.3322, allocations: 2.341 MB / 408.3 MB, free: 7.09 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001908/0.3324, allocations: 237.9 kB / 408.6 MB, free: 6.859 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004961/0.3329, allocations: 311.8 kB / 408.9 MB, free: 6.555 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007601/0.3405, allocations: 4.232 MB / 413.1 MB, free: 2.277 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.057e-05/0.3406, allocations: 0 / 413.1 MB, free: 2.277 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002992/0.3409, allocations: 130.3 kB / 413.2 MB, free: 2.152 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000163/0.3411, allocations: 154.3 kB / 413.4 MB, free: 2 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006425/0.3475, allocations: 3.613 MB / 417 MB, free: 14.38 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02084/0.3684, allocations: 13.28 MB / 430.3 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007581/0.376, allocations: 7.161 MB / 437.4 MB, free: 8.734 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003004/0.379, allocations: 1.585 MB / 439 MB, free: 7.16 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007222/0.3863, allocations: 4.226 MB / 443.3 MB, free: 2.824 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.093e-05/0.3863, allocations: 43.56 kB / 443.3 MB, free: 2.773 MB / 350.1 MB Notification: Performance of pre-optimization done (n=120): time 2.725e-06/0.3863, allocations: 0 / 443.3 MB, free: 2.773 MB / 350.1 MB Notification: Performance of matching and sorting (n=123): time 0.01185/0.3982, allocations: 5.563 MB / 448.9 MB, free: 13.02 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.921e-05/0.3983, allocations: 68.41 kB / 448.9 MB, free: 12.94 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002858/0.4012, allocations: 1.722 MB / 450.7 MB, free: 11.21 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001134/0.4013, allocations: 45.7 kB / 450.7 MB, free: 11.16 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001252/0.4026, allocations: 1.412 MB / 452.1 MB, free: 9.734 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004028/0.403, allocations: 436.5 kB / 452.5 MB, free: 9.312 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004638/0.4034, allocations: 283.3 kB / 452.8 MB, free: 9.031 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001378/0.4036, allocations: 305.1 kB / 453.1 MB, free: 8.73 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001198/0.4048, allocations: 0.6636 MB / 453.8 MB, free: 8.066 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001564/0.4064, allocations: 1.117 MB / 454.9 MB, free: 6.746 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002898/0.4093, allocations: 1.894 MB / 456.8 MB, free: 4.652 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.866e-06/0.4093, allocations: 4 kB / 456.8 MB, free: 4.648 MB / 366.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.004401/0.4137, allocations: 2.409 MB / 459.2 MB, free: 2.199 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.869e-05/0.4137, allocations: 12 kB / 459.2 MB, free: 2.188 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.53e-05/0.4138, allocations: 19.94 kB / 459.2 MB, free: 2.168 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008145/0.4146, allocations: 327.4 kB / 459.6 MB, free: 1.836 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001253/0.4159, allocations: 351.4 kB / 459.9 MB, free: 1.492 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006715/0.4226, allocations: 6.619 MB / 466.5 MB, free: 10.46 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001427/0.424, allocations: 83.8 kB / 466.6 MB, free: 10.38 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000122/0.4242, allocations: 67.98 kB / 466.7 MB, free: 10.31 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.001848/0.426, allocations: 1.005 MB / 467.7 MB, free: 9.293 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003288/0.4264, allocations: 181.8 kB / 467.8 MB, free: 9.113 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004053/0.4304, allocations: 2.217 MB / 470.1 MB, free: 6.836 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.32e-05/0.4304, allocations: 12 kB / 470.1 MB, free: 6.824 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.144e-05/0.4305, allocations: 8 kB / 470.1 MB, free: 6.816 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.322e-05/0.4305, allocations: 3.984 kB / 470.1 MB, free: 6.812 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008119/0.4386, allocations: 4.951 MB / 475 MB, free: 1.75 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/0.4386, allocations: 0 / 475 MB, free: 1.75 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007572/0.4394, allocations: 172.1 kB / 475.2 MB, free: 1.582 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001302/0.4407, allocations: 0.4917 MB / 475.7 MB, free: 1.078 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.802e-05/0.4408, allocations: 47.91 kB / 475.7 MB, free: 1.031 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0118/0.4526, allocations: 11.47 MB / 487.2 MB, free: 4.871 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.4527, allocations: 4.094 kB / 487.2 MB, free: 4.867 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005394/0.4581, allocations: 3.102 MB / 490.3 MB, free: 1.672 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000967/0.4591, allocations: 414.7 kB / 490.7 MB, free: 1.246 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000247/0.4593, allocations: 35.98 kB / 490.8 MB, free: 1.211 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008672/0.4602, allocations: 59.95 kB / 490.8 MB, free: 1.152 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002793/0.4605, allocations: 104.7 kB / 490.9 MB, free: 1.051 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.158e-05/0.4606, allocations: 39.98 kB / 491 MB, free: 1.012 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001802/0.4624, allocations: 1.182 MB / 492.1 MB, free: 15.84 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4624, allocations: 4 kB / 492.1 MB, free: 15.83 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001975/0.4644, allocations: 0.547 MB / 492.7 MB, free: 15.29 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.0003373/0.4647, allocations: 166 kB / 492.9 MB, free: 15.11 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004632/0.4694, allocations: 2.46 MB / 495.3 MB, free: 12.6 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.4694, allocations: 0 / 495.3 MB, free: 12.6 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002372/0.4718, allocations: 1.55 MB / 496.9 MB, free: 10.98 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002144/0.4739, allocations: 0.5264 MB / 497.4 MB, free: 10.47 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009869/0.4838, allocations: 5.539 MB / 0.4911 GB, free: 4.891 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00221/0.486, allocations: 2.289 MB / 0.4934 GB, free: 2.574 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001377/0.4874, allocations: 383.9 kB / 0.4937 GB, free: 2.195 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003008/0.4877, allocations: 119.4 kB / 0.4939 GB, free: 2.078 MB / 414.1 MB Notification: Performance of SimCode: time 6.71e-07/0.4877, allocations: 0 / 0.4939 GB, free: 2.078 MB / 414.1 MB Notification: Performance of Templates: time 0.05229/0.54, allocations: 28 MB / 0.5212 GB, free: 6.41 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 -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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Inverter/IMC_Inverter.csv","/var/lib/jenkins/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