Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.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_Steinmetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|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|// aimc.stator.zeroInductor.i0|aimc.is.1.|aimc.is.2.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|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|// aimc.stator.zeroInductor.i0|aimc.is.1.|aimc.is.2.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001333/0.001333, allocations: 113 kB / 18.45 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001555/0.001555, allocations: 212.9 kB / 19.4 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.387/1.387, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001271/0.001271, allocations: 63.89 kB / 359.4 MB, free: 12.86 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2526/0.2538, allocations: 50.53 MB / 410 MB, free: 1.578 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz): time 0.01423/0.2681, allocations: 14.26 MB / 424.2 MB, free: 3.246 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.008606/0.2768, allocations: 4.685 MB / 428.9 MB, free: 14.55 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002365/0.2792, allocations: 83.69 kB / 429 MB, free: 14.47 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003151/0.2824, allocations: 1.017 MB / 430 MB, free: 13.45 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004399/0.2868, allocations: 1.293 MB / 431.3 MB, free: 12.15 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002625/0.2895, allocations: 0.9352 MB / 432.2 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005391/0.2949, allocations: 4.121 MB / 436.3 MB, free: 7.078 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004605/0.2995, allocations: 3.233 MB / 439.6 MB, free: 3.77 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00287/0.3024, allocations: 1.912 MB / 441.5 MB, free: 1.852 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003597/0.306, allocations: 2.222 MB / 443.7 MB, free: 15.62 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001278/0.3074, allocations: 0.5078 MB / 444.2 MB, free: 15.11 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002167/0.3095, allocations: 0.7263 MB / 444.9 MB, free: 14.39 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001524/0.3111, allocations: 1.122 MB / 446.1 MB, free: 13.26 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003384/0.3145, allocations: 2.139 MB / 448.2 MB, free: 11.11 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007955/0.3225, allocations: 6.753 MB / 455 MB, free: 4.34 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.875e-06/0.3225, allocations: 0 / 455 MB, free: 4.34 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.3225, allocations: 0 / 455 MB, free: 4.34 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002084/0.3227, allocations: 0 / 455 MB, free: 4.34 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 844 * Number of variables: 844 Notification: Performance of Generate backend data structure: time 0.01337/0.3361, allocations: 4.429 MB / 459.4 MB, free: 15.83 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.856e-05/0.3362, allocations: 8.031 kB / 459.4 MB, free: 15.82 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005292/0.3415, allocations: 0.8356 MB / 460.2 MB, free: 14.99 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00558/0.3471, allocations: 2.459 MB / 462.7 MB, free: 12.47 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002899/0.3474, allocations: 246.8 kB / 462.9 MB, free: 12.23 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00115/0.3486, allocations: 319.8 kB / 463.2 MB, free: 11.92 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01104/0.3597, allocations: 4.267 MB / 467.5 MB, free: 7.598 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.00015/0.3599, allocations: 3.938 kB / 467.5 MB, free: 7.594 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007909/0.3607, allocations: 136 kB / 467.6 MB, free: 7.461 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001682/0.3608, allocations: 146.4 kB / 467.8 MB, free: 7.316 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007924/0.3688, allocations: 3.605 MB / 471.4 MB, free: 3.703 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02392/0.3927, allocations: 13.8 MB / 485.2 MB, free: 5.5 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006702/0.3995, allocations: 6.653 MB / 491.8 MB, free: 14 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002642/0.4022, allocations: 1.406 MB / 493.3 MB, free: 12.59 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006981/0.4092, allocations: 3.874 MB / 497.1 MB, free: 8.57 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.836e-05/0.4093, allocations: 51.88 kB / 497.2 MB, free: 8.512 MB / 414.1 MB Notification: Performance of pre-optimization done (n=134): time 3.236e-06/0.4093, allocations: 7.938 kB / 497.2 MB, free: 8.504 MB / 414.1 MB Notification: Performance of matching and sorting (n=137): time 0.01216/0.4215, allocations: 5.89 MB / 0.4913 GB, free: 2.395 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.609e-05/0.4216, allocations: 64.72 kB / 0.4913 GB, free: 2.32 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003121/0.4247, allocations: 1.801 MB / 0.4931 GB, free: 0.5195 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001914/0.4249, allocations: 53.64 kB / 0.4932 GB, free: 472 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001053/0.426, allocations: 1.446 MB / 0.4946 GB, free: 14.98 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004626/0.4264, allocations: 481 kB / 0.495 GB, free: 14.51 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005699/0.427, allocations: 315.3 kB / 0.4953 GB, free: 14.2 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.829e-05/0.4271, allocations: 305.1 kB / 0.4956 GB, free: 13.89 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001162/0.4283, allocations: 0.6793 MB / 0.4963 GB, free: 13.21 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001464/0.4298, allocations: 1.193 MB / 0.4975 GB, free: 11.8 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00276/0.4325, allocations: 2.007 MB / 0.4994 GB, free: 9.57 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-05/0.4326, allocations: 4 kB / 0.4994 GB, free: 9.566 MB / 430.1 MB Notification: Performance of matching and sorting (n=223) (initialization): time 0.004521/0.4371, allocations: 2.554 MB / 0.5019 GB, free: 6.969 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.597e-05/0.4372, allocations: 12 kB / 0.5019 GB, free: 6.957 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.079e-05/0.4372, allocations: 16 kB / 0.5019 GB, free: 6.941 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001016/0.4382, allocations: 360.3 kB / 0.5023 GB, free: 6.574 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001474/0.4397, allocations: 375.4 kB / 0.5026 GB, free: 6.207 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007672/0.4474, allocations: 8.399 MB / 0.5108 GB, free: 13.25 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001541/0.449, allocations: 71.97 kB / 0.5109 GB, free: 13.18 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002606/0.4493, allocations: 79.98 kB / 0.511 GB, free: 13.11 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 72 * Number of states: 0 () * Number of discrete variables: 2 (idealOpener.control,idealCloser.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (192): * Single equations (assignments): 187 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * 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): 4 systems {(1,7,100.0%), (2,8,100.0%), (1,1,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001911/0.4512, allocations: 1.013 MB / 0.512 GB, free: 12.08 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005303/0.4517, allocations: 197.5 kB / 0.5122 GB, free: 11.89 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004246/0.456, allocations: 2.289 MB / 0.5144 GB, free: 9.527 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.238e-05/0.456, allocations: 12 kB / 0.5144 GB, free: 9.516 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.284e-05/0.4561, allocations: 8 kB / 0.5144 GB, free: 9.508 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.205e-05/0.4561, allocations: 7.969 kB / 0.5144 GB, free: 9.5 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009461/0.4656, allocations: 5.091 MB / 0.5194 GB, free: 4.27 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.016e-05/0.4656, allocations: 0 / 0.5194 GB, free: 4.27 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008535/0.4665, allocations: 172 kB / 0.5196 GB, free: 4.102 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001446/0.468, allocations: 0.536 MB / 0.5201 GB, free: 3.547 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001223/0.4681, allocations: 43.98 kB / 0.5201 GB, free: 3.504 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01211/0.4802, allocations: 13.23 MB / 0.533 GB, free: 5.434 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.569e-06/0.4803, allocations: 4.031 kB / 0.5331 GB, free: 5.43 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005255/0.4855, allocations: 3.23 MB / 0.5362 GB, free: 2.113 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009509/0.4865, allocations: 422.6 kB / 0.5366 GB, free: 1.68 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004564/0.487, allocations: 43.92 kB / 0.5367 GB, free: 1.637 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001098/0.4881, allocations: 59.95 kB / 0.5367 GB, free: 1.578 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002863/0.4884, allocations: 113.2 kB / 0.5368 GB, free: 1.469 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.583e-05/0.4885, allocations: 32 kB / 0.5368 GB, free: 1.438 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001987/0.4905, allocations: 1.236 MB / 0.5381 GB, free: 216 kB / 462.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4905, allocations: 0 / 0.5381 GB, free: 216 kB / 462.1 MB Notification: Performance of remove unused functions: time 0.2239/0.7144, allocations: 0.5769 MB / 0.5386 GB, free: 122.8 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 9 (aimc.inertiaRotor.w,aimc.stator.zeroInductor.i0,aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,quadraticLoadTorque.phi,cRun.v,cStart.v) * Number of discrete variables: 2 (idealCloser.control,idealOpener.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,7,100.0%), (2,8,100.0%), (1,1,100.0%), (1,13,100.0%), (1,8,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.0006978/0.7151, allocations: 163.2 kB / 0.5388 GB, free: 122.7 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004564/0.7197, allocations: 2.362 MB / 0.5411 GB, free: 122.1 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.734e-06/0.7198, allocations: 0 / 0.5411 GB, free: 122.1 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002538/0.7223, allocations: 1.737 MB / 0.5428 GB, free: 121.4 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002962/0.7253, allocations: 0.5565 MB / 0.5433 GB, free: 121.3 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009552/0.7349, allocations: 5.792 MB / 0.549 GB, free: 118.6 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001604/0.7365, allocations: 2.259 MB / 0.5512 GB, free: 117.5 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005415/0.7371, allocations: 140.8 kB / 0.5513 GB, free: 117.5 MB / 462.1 MB Notification: Performance of SimCode: time 1.202e-06/0.7371, allocations: 3.938 kB / 0.5513 GB, free: 117.5 MB / 462.1 MB Notification: Performance of Templates: time 0.09372/0.8308, allocations: 129.6 MB / 0.6779 GB, free: 8.234 MB / 478.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.makefile (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.sim & ./Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Steinmetz/IMC_Steinmetz.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches