Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007851/0.0007852, allocations: 93.7 kB / 17.31 MB, free: 6.535 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008448/0.0008449, allocations: 175.9 kB / 18.21 MB, free: 5.684 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.13/1.13, allocations: 223.3 MB / 242.3 MB, free: 14.52 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002071/0.0002071, allocations: 11.94 kB / 302.1 MB, free: 5.879 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06982/0.07004, allocations: 50.41 MB / 352.5 MB, free: 3.457 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.1532/0.2233, allocations: 30.99 MB / 383.5 MB, free: 9.828 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01405/0.2374, allocations: 8.807 MB / 392.3 MB, free: 5.699 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005343/0.2428, allocations: 223.8 kB / 392.5 MB, free: 5.648 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005411/0.2482, allocations: 2.117 MB / 394.7 MB, free: 4.676 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009179/0.2574, allocations: 3.327 MB / 398 MB, free: 2.602 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003977/0.2614, allocations: 1.842 MB / 399.8 MB, free: 1.258 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01353/0.2749, allocations: 13.33 MB / 413.2 MB, free: 9.102 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02956/0.3045, allocations: 21.52 MB / 434.7 MB, free: 3.438 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006707/0.3113, allocations: 4.612 MB / 439.3 MB, free: 14.81 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007436/0.3187, allocations: 5.66 MB / 444.9 MB, free: 9.125 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001338/0.3201, allocations: 0.7305 MB / 445.7 MB, free: 8.395 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002746/0.3228, allocations: 1.089 MB / 446.8 MB, free: 7.305 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001743/0.3246, allocations: 2.39 MB / 449.2 MB, free: 4.906 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006007/0.3306, allocations: 5.646 MB / 454.8 MB, free: 15.22 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01665/0.3473, allocations: 21.08 MB / 475.9 MB, free: 10.09 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.3473, allocations: 0 / 475.9 MB, free: 10.09 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.003e-06/0.3473, allocations: 0 / 475.9 MB, free: 10.09 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000378/0.3477, allocations: 0 / 475.9 MB, free: 10.09 MB / 382.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.02782/0.3755, allocations: 12.24 MB / 488.1 MB, free: 13.73 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.476e-05/0.3756, allocations: 12.03 kB / 488.1 MB, free: 13.72 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03393/0.4095, allocations: 6.784 MB / 494.9 MB, free: 6.918 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01256/0.4221, allocations: 7.857 MB / 0.491 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004747/0.4226, allocations: 0.7947 MB / 0.4918 GB, free: 14.18 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001896/0.4245, allocations: 1.058 MB / 0.4928 GB, free: 13.12 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02669/0.4512, allocations: 17.23 MB / 0.5096 GB, free: 11.82 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002041/0.4514, allocations: 15.84 kB / 0.5096 GB, free: 11.81 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001018/0.4525, allocations: 444 kB / 0.5101 GB, free: 11.38 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005011/0.453, allocations: 0.6236 MB / 0.5107 GB, free: 10.75 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2913/0.7443, allocations: 16.31 MB / 0.5266 GB, free: 111.9 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06104/0.8053, allocations: 56 MB / 0.5813 GB, free: 74.55 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01759/0.823, allocations: 31.08 MB / 0.6116 GB, free: 41.91 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004875/0.8279, allocations: 4.348 MB / 0.6159 GB, free: 37.55 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01197/0.8399, allocations: 10.48 MB / 0.6261 GB, free: 27.1 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.832e-05/0.8399, allocations: 77.81 kB / 0.6262 GB, free: 27.01 MB / 430.1 MB Notification: Performance of pre-optimization done (n=398): time 4.448e-06/0.8399, allocations: 0 / 0.6262 GB, free: 27.01 MB / 430.1 MB Notification: Performance of matching and sorting (n=423): time 0.03439/0.8743, allocations: 21.67 MB / 0.6474 GB, free: 4.977 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.819e-05/0.8744, allocations: 124.7 kB / 0.6475 GB, free: 4.836 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005426/0.8798, allocations: 4.673 MB / 0.652 GB, free: 156 kB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003656/0.8802, allocations: 97.7 kB / 0.6521 GB, free: 52 kB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002565/0.8828, allocations: 4.656 MB / 0.6567 GB, free: 11.36 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00117/0.8839, allocations: 1.451 MB / 0.6581 GB, free: 9.926 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005906/0.8845, allocations: 470.9 kB / 0.6585 GB, free: 9.457 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.179e-05/0.8846, allocations: 305.1 kB / 0.6588 GB, free: 9.156 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003991/0.8886, allocations: 2.916 MB / 0.6617 GB, free: 6.234 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004968/0.8936, allocations: 4.953 MB / 0.6665 GB, free: 360 kB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009118/0.9027, allocations: 8.365 MB / 0.6747 GB, free: 7.047 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.124e-05/0.9028, allocations: 23.94 kB / 0.6747 GB, free: 7.023 MB / 462.1 MB Notification: Performance of matching and sorting (n=764) (initialization): time 0.01426/0.917, allocations: 9.74 MB / 0.6842 GB, free: 13.22 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.608e-05/0.9171, allocations: 32 kB / 0.6842 GB, free: 13.19 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.074e-05/0.9172, allocations: 68 kB / 0.6843 GB, free: 13.12 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004013/0.9212, allocations: 1.658 MB / 0.6859 GB, free: 11.46 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004306/0.9255, allocations: 1.314 MB / 0.6872 GB, free: 10.14 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1728/1.098, allocations: 16.47 MB / 0.7033 GB, free: 144.1 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004264/1.103, allocations: 336 kB / 0.7036 GB, free: 144.1 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008186/1.103, allocations: 280.2 kB / 0.7039 GB, free: 144.1 MB / 478.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.005719/1.109, allocations: 3.891 MB / 0.7077 GB, free: 142.8 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001002/1.11, allocations: 494.9 kB / 0.7082 GB, free: 142.8 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01241/1.123, allocations: 7.809 MB / 0.7158 GB, free: 139.5 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.979e-05/1.123, allocations: 43.2 kB / 0.7158 GB, free: 139.5 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.549e-05/1.123, allocations: 25.09 kB / 0.7159 GB, free: 139.5 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.049e-05/1.123, allocations: 21.75 kB / 0.7159 GB, free: 139.5 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01978/1.143, allocations: 17.47 MB / 0.7329 GB, free: 132 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.27e-05/1.143, allocations: 7.906 kB / 0.7329 GB, free: 132 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002474/1.145, allocations: 0.7325 MB / 0.7337 GB, free: 132 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003183/1.148, allocations: 1.553 MB / 0.7352 GB, free: 131.6 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000213/1.148, allocations: 109.6 kB / 0.7353 GB, free: 131.5 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01535/1.164, allocations: 19.53 MB / 0.7544 GB, free: 117.4 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/1.164, allocations: 8.719 kB / 0.7544 GB, free: 117.4 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01231/1.176, allocations: 11.48 MB / 0.7656 GB, free: 107.9 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001704/1.178, allocations: 1.164 MB / 0.7667 GB, free: 107.1 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000559/1.178, allocations: 91.89 kB / 0.7668 GB, free: 107.1 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002267/1.181, allocations: 240.3 kB / 0.767 GB, free: 106.9 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000564/1.181, allocations: 325 kB / 0.7673 GB, free: 106.7 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002277/1.182, allocations: 134.2 kB / 0.7675 GB, free: 106.6 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003485/1.185, allocations: 3.17 MB / 0.7706 GB, free: 103.8 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.4e-07/1.185, allocations: 0 / 0.7706 GB, free: 103.8 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.004962/1.19, allocations: 1.862 MB / 0.7724 GB, free: 101.9 MB / 478.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.0005165/1.191, allocations: 284.8 kB / 0.7726 GB, free: 101.6 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.009884/1.2, allocations: 8.138 MB / 0.7806 GB, free: 93.48 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.65e-06/1.2, allocations: 4 kB / 0.7806 GB, free: 93.47 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005447/1.206, allocations: 4.648 MB / 0.7851 GB, free: 88.74 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008144/1.214, allocations: 1.229 MB / 0.7863 GB, free: 87.53 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02398/1.238, allocations: 23.77 MB / 0.8095 GB, free: 63.66 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004591/1.243, allocations: 6.569 MB / 0.816 GB, free: 57.05 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00155/1.244, allocations: 423.3 kB / 0.8164 GB, free: 56.64 MB / 478.1 MB Notification: Performance of SimCode: time 5.31e-07/1.244, allocations: 0 / 0.8164 GB, free: 56.64 MB / 478.1 MB Notification: Performance of Templates: time 0.7618/2.006, allocations: 458.9 MB / 1.264 GB, free: 158.4 MB / 0.4982 GB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches