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.001291/0.001291, allocations: 114.9 kB / 18.41 MB, free: 4.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001327/0.001327, allocations: 204.5 kB / 19.36 MB, free: 3.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.323/1.323, allocations: 227.4 MB / 247.5 MB, free: 10.38 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001117/0.001117, allocations: 61.44 kB / 308.4 MB, free: 15.88 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08571/0.08684, allocations: 50.53 MB / 358.9 MB, free: 13.34 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz): time 0.1608/0.2476, allocations: 14.26 MB / 373.2 MB, free: 11.25 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.007882/0.2556, allocations: 4.684 MB / 377.9 MB, free: 10.91 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002292/0.2579, allocations: 83.16 kB / 377.9 MB, free: 10.9 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002793/0.2607, allocations: 1.023 MB / 379 MB, free: 10.43 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003472/0.2642, allocations: 1.284 MB / 380.3 MB, free: 9.82 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001946/0.2662, allocations: 0.9367 MB / 381.2 MB, free: 9.348 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003934/0.2702, allocations: 4.145 MB / 385.3 MB, free: 7.293 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003256/0.2734, allocations: 3.225 MB / 388.6 MB, free: 5.938 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002678/0.2761, allocations: 1.899 MB / 390.5 MB, free: 5.039 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002862/0.279, allocations: 2.221 MB / 392.7 MB, free: 4.023 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007201/0.2797, allocations: 0.5089 MB / 393.2 MB, free: 4.023 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001556/0.2813, allocations: 0.7268 MB / 393.9 MB, free: 3.953 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008004/0.2821, allocations: 1.123 MB / 395 MB, free: 3.227 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002181/0.2843, allocations: 2.143 MB / 397.2 MB, free: 1.801 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005436/0.2897, allocations: 6.744 MB / 403.9 MB, free: 13.02 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.2898, allocations: 0 / 403.9 MB, free: 13.02 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.2898, allocations: 1.844 kB / 403.9 MB, free: 13.02 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001075/0.2899, allocations: 0 / 403.9 MB, free: 13.02 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: 844 * Number of variables: 844 Notification: Performance of Generate backend data structure: time 0.01014/0.3, allocations: 4.425 MB / 408.4 MB, free: 9.102 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/0.3001, allocations: 16.03 kB / 408.4 MB, free: 9.086 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004184/0.3043, allocations: 0.8301 MB / 409.2 MB, free: 8.258 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004278/0.3086, allocations: 2.459 MB / 411.7 MB, free: 5.773 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001695/0.3087, allocations: 243 kB / 411.9 MB, free: 5.535 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005012/0.3093, allocations: 326.4 kB / 412.2 MB, free: 5.219 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006634/0.3159, allocations: 4.263 MB / 416.5 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.91e-05/0.316, allocations: 7.938 kB / 416.5 MB, free: 0.8984 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002827/0.3163, allocations: 130.3 kB / 416.6 MB, free: 0.7734 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001288/0.3164, allocations: 146.4 kB / 416.8 MB, free: 0.6289 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005668/0.3221, allocations: 3.602 MB / 420.4 MB, free: 13.02 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01871/0.3408, allocations: 13.8 MB / 434.2 MB, free: 14.93 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006118/0.347, allocations: 6.66 MB / 440.8 MB, free: 7.418 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002171/0.3492, allocations: 1.403 MB / 442.2 MB, free: 6.023 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005804/0.355, allocations: 3.877 MB / 446.1 MB, free: 2.043 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.711e-05/0.355, allocations: 51.81 kB / 446.1 MB, free: 1.984 MB / 350.1 MB Notification: Performance of pre-optimization done (n=134): time 2.545e-06/0.355, allocations: 0 / 446.1 MB, free: 1.984 MB / 350.1 MB Notification: Performance of matching and sorting (n=137): time 0.01052/0.3656, allocations: 5.891 MB / 452 MB, free: 11.88 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.565e-05/0.3656, allocations: 68.72 kB / 452.1 MB, free: 11.8 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002363/0.368, allocations: 1.802 MB / 453.9 MB, free: 9.996 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 9.564e-05/0.3681, allocations: 53.7 kB / 454 MB, free: 9.938 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008862/0.369, allocations: 1.449 MB / 455.4 MB, free: 8.477 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00032/0.3693, allocations: 475.5 kB / 455.9 MB, free: 8.016 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004647/0.3698, allocations: 323.2 kB / 456.2 MB, free: 7.695 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 8.155e-05/0.3699, allocations: 301.1 kB / 456.5 MB, free: 7.398 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001008/0.3709, allocations: 0.6832 MB / 457.2 MB, free: 6.715 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001334/0.3723, allocations: 1.197 MB / 458.4 MB, free: 5.293 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002462/0.3747, allocations: 2.006 MB / 460.4 MB, free: 3.066 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.885e-06/0.3748, allocations: 4 kB / 460.4 MB, free: 3.062 MB / 366.1 MB Notification: Performance of matching and sorting (n=223) (initialization): time 0.003919/0.3787, allocations: 2.547 MB / 462.9 MB, free: 484 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.387e-05/0.3787, allocations: 12 kB / 462.9 MB, free: 472 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.193e-05/0.3788, allocations: 16 kB / 462.9 MB, free: 456 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008979/0.3797, allocations: 365.8 kB / 463.3 MB, free: 80 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001355/0.381, allocations: 371.5 kB / 463.7 MB, free: 15.71 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007297/0.3883, allocations: 8.398 MB / 472.1 MB, free: 6.773 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00141/0.3898, allocations: 75.88 kB / 472.1 MB, free: 6.699 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001341/0.3899, allocations: 79.98 kB / 472.2 MB, free: 6.621 MB / 382.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.001572/0.3915, allocations: 1.005 MB / 473.2 MB, free: 5.605 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003599/0.3919, allocations: 197.6 kB / 473.4 MB, free: 5.41 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003816/0.3957, allocations: 2.293 MB / 475.7 MB, free: 3.055 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.156e-05/0.3957, allocations: 16 kB / 475.7 MB, free: 3.039 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.079e-05/0.3957, allocations: 8 kB / 475.7 MB, free: 3.031 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.254e-05/0.3958, allocations: 3.984 kB / 475.7 MB, free: 3.027 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007687/0.4034, allocations: 5.085 MB / 480.8 MB, free: 13.83 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.865e-06/0.4035, allocations: 8.031 kB / 480.8 MB, free: 13.82 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000798/0.4043, allocations: 171.7 kB / 481 MB, free: 13.66 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001357/0.4057, allocations: 0.5353 MB / 481.5 MB, free: 13.11 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.256e-05/0.4058, allocations: 35.98 kB / 481.6 MB, free: 13.07 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01162/0.4174, allocations: 13.25 MB / 494.8 MB, free: 15 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.4174, allocations: 0 / 494.8 MB, free: 15 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005087/0.4225, allocations: 3.224 MB / 498 MB, free: 11.69 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009052/0.4234, allocations: 430.6 kB / 498.5 MB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002534/0.4237, allocations: 31.94 kB / 498.5 MB, free: 11.22 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000832/0.4245, allocations: 63.95 kB / 498.5 MB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002411/0.4248, allocations: 105.2 kB / 498.7 MB, free: 11.05 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.726e-05/0.4249, allocations: 47.98 kB / 498.7 MB, free: 11 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001737/0.4266, allocations: 1.228 MB / 499.9 MB, free: 9.785 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4266, allocations: 0 / 499.9 MB, free: 9.785 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002065/0.4287, allocations: 0.5859 MB / 0.4888 GB, free: 9.199 MB / 414.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.0003115/0.429, allocations: 164.5 kB / 0.4889 GB, free: 9.031 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003481/0.4325, allocations: 2.355 MB / 0.4912 GB, free: 6.605 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.4325, allocations: 4 kB / 0.4912 GB, free: 6.602 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002451/0.435, allocations: 1.737 MB / 0.4929 GB, free: 4.789 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002243/0.4373, allocations: 0.5475 MB / 0.4935 GB, free: 4.254 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009657/0.4469, allocations: 5.813 MB / 0.4991 GB, free: 14.41 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001939/0.4489, allocations: 2.319 MB / 0.5014 GB, free: 12.05 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001259/0.4502, allocations: 401.2 kB / 0.5018 GB, free: 11.66 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002935/0.4505, allocations: 127.4 kB / 0.5019 GB, free: 11.54 MB / 430.1 MB Notification: Performance of SimCode: time 7.31e-07/0.4505, allocations: 0 / 0.5019 GB, free: 11.54 MB / 430.1 MB Notification: Performance of Templates: time 0.1879/0.6384, allocations: 29.95 MB / 0.5312 GB, free: 142.9 MB / 446.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 -s gbode -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