Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.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.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize,tolerance=1e-06,outputFormat="mat",numberOfIntervals=300000,variableFilter="time|imc.airGap.V_mrr.im|imc.airGap.V_mrr.re|imc.airGap.V_msr.im|imc.airGap.V_msr.re|imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|imc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|imc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|imc.stator.port_p.V_m.im|imc.stator.port_p.V_m.re|imc.stator.zeroInductor.i0|imcQS.rotorCage.port_p.reference.gamma|loadInertia.phi|loadInertia.w|loadInertiaQS.phi|loadInertiaQS.w",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize,tolerance=1e-06,outputFormat="mat",numberOfIntervals=300000,variableFilter="time|imc.airGap.V_mrr.im|imc.airGap.V_mrr.re|imc.airGap.V_msr.im|imc.airGap.V_msr.re|imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|imc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|imc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|imc.stator.port_p.V_m.im|imc.stator.port_p.V_m.re|imc.stator.zeroInductor.i0|imcQS.rotorCage.port_p.reference.gamma|loadInertia.phi|loadInertia.w|loadInertiaQS.phi|loadInertiaQS.w",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008338/0.0008341, allocations: 98.19 kB / 18.01 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009744/0.0009747, allocations: 203.8 kB / 18.93 MB, free: 4.848 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.352/1.352, allocations: 227.7 MB / 247.5 MB, free: 11.23 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002377/0.0002379, allocations: 8 kB / 308.4 MB, free: 0.7812 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09766/0.09792, allocations: 51.52 MB / 359.9 MB, free: 13.27 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.2335/0.3314, allocations: 31.6 MB / 391.5 MB, free: 3.738 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02464/0.3561, allocations: 9.073 MB / 400.6 MB, free: 13.37 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009371/0.3655, allocations: 222.3 kB / 400.8 MB, free: 13.32 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008612/0.3742, allocations: 2.133 MB / 403 MB, free: 12.34 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01623/0.3904, allocations: 3.34 MB / 406.3 MB, free: 9.895 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007925/0.3984, allocations: 1.894 MB / 408.2 MB, free: 8.387 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.02196/0.4203, allocations: 13.55 MB / 421.7 MB, free: 14.25 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04766/0.468, allocations: 21.53 MB / 443.3 MB, free: 8.57 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009958/0.4781, allocations: 4.627 MB / 447.9 MB, free: 3.926 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01066/0.4888, allocations: 5.664 MB / 453.6 MB, free: 14.24 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0036/0.4924, allocations: 0.7305 MB / 454.3 MB, free: 13.51 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008057/0.5005, allocations: 1.121 MB / 455.4 MB, free: 12.39 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004887/0.5054, allocations: 2.393 MB / 457.8 MB, free: 9.984 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01219/0.5176, allocations: 5.65 MB / 463.5 MB, free: 4.301 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02552/0.5432, allocations: 21.11 MB / 484.6 MB, free: 15.12 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.468e-06/0.5433, allocations: 3.984 kB / 484.6 MB, free: 15.12 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.998e-06/0.5433, allocations: 0 / 484.6 MB, free: 15.12 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0007488/0.544, allocations: 0 / 484.6 MB, free: 15.12 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2952 * Number of variables: 2952 Notification: Performance of Generate backend data structure: time 0.03794/0.582, allocations: 12.31 MB / 496.9 MB, free: 2.707 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.121e-05/0.5821, allocations: 8.031 kB / 496.9 MB, free: 2.699 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0395/0.6216, allocations: 6.827 MB / 0.4919 GB, free: 11.85 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01751/0.6391, allocations: 7.897 MB / 0.4996 GB, free: 3.875 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001036/0.6402, allocations: 0.7947 MB / 0.5004 GB, free: 3.078 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004416/0.6446, allocations: 1.05 MB / 0.5014 GB, free: 2.027 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04302/0.6877, allocations: 17.23 MB / 0.5182 GB, free: 0.7227 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005029/0.6882, allocations: 19.89 kB / 0.5183 GB, free: 0.7031 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003096/0.6913, allocations: 440 kB / 0.5187 GB, free: 280 kB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007223/0.6921, allocations: 0.6275 MB / 0.5193 GB, free: 15.64 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2646/0.9567, allocations: 16.31 MB / 0.5352 GB, free: 124.2 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1024/1.059, allocations: 57.17 MB / 0.5911 GB, free: 87.84 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02556/1.085, allocations: 31.38 MB / 0.6217 GB, free: 57.75 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006908/1.092, allocations: 4.385 MB / 0.626 GB, free: 53.37 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02034/1.112, allocations: 10.76 MB / 0.6365 GB, free: 42.56 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.088e-05/1.112, allocations: 77.75 kB / 0.6366 GB, free: 42.48 MB / 446.1 MB Notification: Performance of pre-optimization done (n=398): time 6.362e-06/1.112, allocations: 0 / 0.6366 GB, free: 42.48 MB / 446.1 MB Notification: Performance of matching and sorting (n=423): time 0.04787/1.16, allocations: 21.66 MB / 0.6577 GB, free: 20.46 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.365e-05/1.16, allocations: 120.7 kB / 0.6578 GB, free: 20.32 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00887/1.169, allocations: 4.706 MB / 0.6624 GB, free: 15.61 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008849/1.17, allocations: 97.7 kB / 0.6625 GB, free: 15.5 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002641/1.173, allocations: 4.67 MB / 0.6671 GB, free: 10.8 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001761/1.174, allocations: 1.448 MB / 0.6685 GB, free: 9.367 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001248/1.176, allocations: 470.9 kB / 0.6689 GB, free: 8.898 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.758e-05/1.176, allocations: 301.1 kB / 0.6692 GB, free: 8.602 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004735/1.181, allocations: 2.912 MB / 0.6721 GB, free: 5.684 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005964/1.186, allocations: 4.965 MB / 0.6769 GB, free: 15.79 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01369/1.2, allocations: 8.365 MB / 0.6851 GB, free: 6.484 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.621e-05/1.2, allocations: 20 kB / 0.6851 GB, free: 6.465 MB / 462.1 MB Notification: Performance of matching and sorting (n=764) (initialization): time 0.02257/1.223, allocations: 9.752 MB / 0.6946 GB, free: 12.66 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001069/1.223, allocations: 32 kB / 0.6947 GB, free: 12.62 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001451/1.223, allocations: 71.94 kB / 0.6947 GB, free: 12.55 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004992/1.228, allocations: 1.651 MB / 0.6963 GB, free: 10.89 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005517/1.234, allocations: 1.326 MB / 0.6976 GB, free: 9.566 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02518/1.259, allocations: 16.49 MB / 0.7137 GB, free: 8.547 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005586/1.265, allocations: 335.6 kB / 0.7141 GB, free: 8.219 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001307/1.266, allocations: 280 kB / 0.7143 GB, free: 7.945 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 296 * 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 (671): * Single equations (assignments): 667 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,1,100.0%), (7,28,61.2%), (1,1,100.0%), (14,44,39.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.008891/1.275, allocations: 3.897 MB / 0.7181 GB, free: 4.035 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001784/1.277, allocations: 497.9 kB / 0.7186 GB, free: 3.543 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2516/1.528, allocations: 7.818 MB / 0.7262 GB, free: 162 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.557e-05/1.528, allocations: 42.75 kB / 0.7263 GB, free: 162 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000105/1.529, allocations: 15.56 kB / 0.7263 GB, free: 162 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001262/1.529, allocations: 23.64 kB / 0.7263 GB, free: 162 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04283/1.571, allocations: 17.5 MB / 0.7434 GB, free: 155.4 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.509e-05/1.572, allocations: 7.844 kB / 0.7434 GB, free: 155.4 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003312/1.575, allocations: 0.7301 MB / 0.7441 GB, free: 155.4 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004108/1.579, allocations: 1.55 MB / 0.7456 GB, free: 155 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000707/1.58, allocations: 101 kB / 0.7457 GB, free: 154.9 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02141/1.601, allocations: 19.52 MB / 0.7648 GB, free: 140.8 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.027e-05/1.601, allocations: 16.7 kB / 0.7648 GB, free: 140.8 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0177/1.619, allocations: 11.48 MB / 0.776 GB, free: 135.4 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003016/1.622, allocations: 1.158 MB / 0.7772 GB, free: 134.6 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001703/1.624, allocations: 91.42 kB / 0.7772 GB, free: 134.5 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003579/1.627, allocations: 238.8 kB / 0.7775 GB, free: 134.4 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008436/1.628, allocations: 341 kB / 0.7778 GB, free: 134.2 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004093/1.629, allocations: 127.8 kB / 0.7779 GB, free: 134 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.005999/1.635, allocations: 3.189 MB / 0.781 GB, free: 131.4 MB / 494.1 MB Notification: Performance of sort global known variables: time 5.01e-07/1.635, allocations: 0 / 0.781 GB, free: 131.4 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.007077/1.642, allocations: 1.872 MB / 0.7829 GB, free: 129.5 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 10 (imcQS.inertiaRotor.w,imcQS.rotorCage.port_p.reference.gamma,loadInertiaQS.phi,imc.inertiaRotor.w,imc.stator.zeroInductor.i0,imc.stator.core.Phi.re,imc.stator.core.Phi.im,imc.stator.stray.Phi.re,imc.stator.stray.Phi.im,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 (364): * Single equations (assignments): 357 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 7 systems {(1,1,100.0%), (14,44,41.3%), (2,12,100.0%), (1,1,100.0%), (1,12,100.0%), (1,5,100.0%), (1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000792/1.643, allocations: 282.7 kB / 0.7831 GB, free: 129.2 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01247/1.655, allocations: 8.133 MB / 0.7911 GB, free: 122.1 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.032e-05/1.655, allocations: 0 / 0.7911 GB, free: 122.1 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007196/1.662, allocations: 4.66 MB / 0.7956 GB, free: 117.4 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01146/1.674, allocations: 1.253 MB / 0.7969 GB, free: 116.2 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03562/1.709, allocations: 23.82 MB / 0.8201 GB, free: 92.31 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006513/1.716, allocations: 6.567 MB / 0.8265 GB, free: 85.7 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002072/1.718, allocations: 431.3 kB / 0.8269 GB, free: 85.28 MB / 494.1 MB Notification: Performance of SimCode: time 8.92e-07/1.718, allocations: 4 kB / 0.8269 GB, free: 85.28 MB / 494.1 MB Notification: Performance of Templates: time 1.048/2.766, allocations: 460.1 MB / 1.276 GB, free: 174.6 MB / 0.5137 GB make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.makefile (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Initialize/IMC_Initialize.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches