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.001511/0.001511, allocations: 106.8 kB / 17.21 MB, free: 6.27 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001732/0.001732, allocations: 213.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.403/1.403, allocations: 227.4 MB / 246.3 MB, free: 10.86 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001308/0.001308, allocations: 60.44 kB / 306.3 MB, free: 1.035 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08993/0.09126, allocations: 50.53 MB / 356.8 MB, free: 14.51 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.01369/0.105, allocations: 13.3 MB / 370.1 MB, free: 1.141 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1627/0.2677, allocations: 4.448 MB / 374.6 MB, free: 9.805 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00161/0.2694, allocations: 82.34 kB / 374.6 MB, free: 9.801 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002573/0.272, allocations: 0.8607 MB / 375.5 MB, free: 9.777 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003235/0.2753, allocations: 1.138 MB / 376.6 MB, free: 9.473 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001874/0.2772, allocations: 0.8195 MB / 377.5 MB, free: 9.309 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004854/0.282, allocations: 4.251 MB / 381.7 MB, free: 7.512 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003053/0.2851, allocations: 2.696 MB / 384.4 MB, free: 6.355 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002063/0.2872, allocations: 1.455 MB / 385.9 MB, free: 5.715 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00232/0.2895, allocations: 1.908 MB / 387.8 MB, free: 4.875 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005415/0.2901, allocations: 291.9 kB / 388 MB, free: 4.875 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001358/0.2914, allocations: 0.517 MB / 388.6 MB, free: 4.797 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007198/0.2922, allocations: 0.8781 MB / 389.4 MB, free: 4.312 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001687/0.2939, allocations: 1.852 MB / 391.3 MB, free: 3.141 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004579/0.2985, allocations: 6.416 MB / 397.7 MB, free: 15 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.2985, allocations: 5.344 kB / 397.7 MB, free: 15 MB / 318.1 MB Notification: Performance of FrontEnd: time 9.52e-07/0.2985, allocations: 0 / 397.7 MB, free: 15 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.395e-05/0.2986, allocations: 4 kB / 397.7 MB, free: 15 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.0101/0.3087, allocations: 4.338 MB / 402.1 MB, free: 12.09 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.3088, allocations: 9.062 kB / 402.1 MB, free: 12.09 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004131/0.3129, allocations: 0.7997 MB / 402.9 MB, free: 11.71 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003638/0.3165, allocations: 2.296 MB / 405.2 MB, free: 9.605 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000157/0.3167, allocations: 234.8 kB / 405.4 MB, free: 9.375 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000443/0.3172, allocations: 318.1 kB / 405.7 MB, free: 9.066 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007391/0.3246, allocations: 4.218 MB / 409.9 MB, free: 4.805 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.487e-05/0.3247, allocations: 4 kB / 409.9 MB, free: 4.801 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002946/0.325, allocations: 128 kB / 410 MB, free: 4.676 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001522/0.3251, allocations: 158.2 kB / 410.2 MB, free: 4.52 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006506/0.3316, allocations: 3.612 MB / 413.8 MB, free: 0.8984 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02005/0.3517, allocations: 13.25 MB / 427.1 MB, free: 3.402 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006494/0.3582, allocations: 7.175 MB / 434.2 MB, free: 11.27 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00274/0.361, allocations: 1.589 MB / 435.8 MB, free: 9.691 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006672/0.3677, allocations: 4.21 MB / 440 MB, free: 5.371 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.66e-05/0.3677, allocations: 47.56 kB / 440.1 MB, free: 5.316 MB / 350.1 MB Notification: Performance of pre-optimization done (n=120): time 2.655e-06/0.3678, allocations: 3.938 kB / 440.1 MB, free: 5.312 MB / 350.1 MB Notification: Performance of matching and sorting (n=123): time 0.01104/0.3788, allocations: 5.552 MB / 445.6 MB, free: 15.57 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.138e-05/0.3789, allocations: 72.39 kB / 445.7 MB, free: 15.48 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002692/0.3816, allocations: 1.715 MB / 447.4 MB, free: 13.76 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001071/0.3817, allocations: 45.7 kB / 447.5 MB, free: 13.71 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000947/0.3826, allocations: 1.419 MB / 448.9 MB, free: 12.28 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003727/0.383, allocations: 434.2 kB / 449.3 MB, free: 11.86 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004516/0.3835, allocations: 283.3 kB / 449.6 MB, free: 11.58 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 8.114e-05/0.3836, allocations: 301.1 kB / 449.9 MB, free: 11.28 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001156/0.3847, allocations: 0.6637 MB / 450.6 MB, free: 10.62 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001438/0.3862, allocations: 1.121 MB / 451.7 MB, free: 9.293 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002942/0.3891, allocations: 1.89 MB / 453.6 MB, free: 7.203 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-05/0.3892, allocations: 8 kB / 453.6 MB, free: 7.195 MB / 366.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.004807/0.394, allocations: 2.401 MB / 456 MB, free: 4.754 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.439e-05/0.394, allocations: 12 kB / 456 MB, free: 4.742 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.887e-05/0.3941, allocations: 19.94 kB / 456 MB, free: 4.723 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009143/0.395, allocations: 315.4 kB / 456.3 MB, free: 4.402 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001313/0.3963, allocations: 347.5 kB / 456.7 MB, free: 4.062 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0062/0.4025, allocations: 6.115 MB / 462.8 MB, free: 13.55 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001739/0.4043, allocations: 79.86 kB / 462.8 MB, free: 13.47 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001641/0.4045, allocations: 64 kB / 462.9 MB, free: 13.41 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.001875/0.4064, allocations: 1.005 MB / 463.9 MB, free: 12.39 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004208/0.4068, allocations: 177.8 kB / 464.1 MB, free: 12.21 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003973/0.4108, allocations: 2.225 MB / 466.3 MB, free: 9.934 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.231e-05/0.4108, allocations: 12 kB / 466.3 MB, free: 9.922 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.614e-05/0.4108, allocations: 4 kB / 466.3 MB, free: 9.918 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.29e-05/0.4108, allocations: 11.97 kB / 466.3 MB, free: 9.906 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008253/0.4191, allocations: 4.95 MB / 471.3 MB, free: 4.848 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.333e-06/0.4191, allocations: 0 / 471.3 MB, free: 4.848 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000768/0.4199, allocations: 167.7 kB / 471.5 MB, free: 4.684 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001351/0.4213, allocations: 0.4917 MB / 471.9 MB, free: 4.18 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001049/0.4214, allocations: 35.98 kB / 472 MB, free: 4.145 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.011/0.4324, allocations: 10.53 MB / 482.5 MB, free: 8.953 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.4324, allocations: 0 / 482.5 MB, free: 8.953 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005145/0.4376, allocations: 3.095 MB / 485.6 MB, free: 5.773 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000958/0.4385, allocations: 414.7 kB / 486 MB, free: 5.348 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004711/0.439, allocations: 28 kB / 486 MB, free: 5.32 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001096/0.4401, allocations: 67.94 kB / 486.1 MB, free: 5.254 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002449/0.4404, allocations: 100.7 kB / 486.2 MB, free: 5.156 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.688e-05/0.4405, allocations: 32 kB / 486.2 MB, free: 5.125 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.002072/0.4426, allocations: 1.19 MB / 487.4 MB, free: 3.941 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4426, allocations: 0 / 487.4 MB, free: 3.941 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00226/0.4448, allocations: 0.5469 MB / 488 MB, free: 3.395 MB / 398.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.0003619/0.4452, allocations: 170 kB / 488.1 MB, free: 3.219 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003504/0.4487, allocations: 2.126 MB / 490.3 MB, free: 1.031 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.4487, allocations: 1.938 kB / 490.3 MB, free: 1.031 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002344/0.4511, allocations: 1.558 MB / 491.8 MB, free: 15.41 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00284/0.454, allocations: 496.7 kB / 492.3 MB, free: 14.93 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01169/0.4657, allocations: 6.864 MB / 499.2 MB, free: 8.027 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002532/0.4682, allocations: 2.289 MB / 0.4897 GB, free: 5.711 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001551/0.4698, allocations: 383.8 kB / 0.4901 GB, free: 5.332 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004379/0.4702, allocations: 119.4 kB / 0.4902 GB, free: 5.215 MB / 414.1 MB Notification: Performance of SimCode: time 7.61e-07/0.4703, allocations: 0 / 0.4902 GB, free: 5.215 MB / 414.1 MB Notification: Performance of Templates: time 0.04814/0.5184, allocations: 27.11 MB / 0.5167 GB, free: 10.4 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.0.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