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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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/Complex trunk/package.mo): time 0.001219/0.001219, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.242/1.242, allocations: 226.7 MB / 245.5 MB, free: 6.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001002/0.001002, allocations: 108.5 kB / 296.7 MB, free: 6.465 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000895/0.0008951, allocations: 51.92 kB / 356.6 MB, free: 10.57 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2027/0.2036, allocations: 50.45 MB / 407.1 MB, free: 27.82 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.02491/0.2285, allocations: 32.88 MB / 440 MB, free: 10.81 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01866/0.2473, allocations: 9.119 MB / 449.1 MB, free: 1.664 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006195/0.2536, allocations: 227.2 kB / 449.3 MB, free: 1.441 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01641/0.27, allocations: 7.471 MB / 456.8 MB, free: 9.949 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01092/0.2809, allocations: 3.355 MB / 460.1 MB, free: 6.586 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005257/0.2862, allocations: 1.997 MB / 462.1 MB, free: 4.602 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.01635/0.3026, allocations: 13.7 MB / 475.8 MB, free: 6.855 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02471/0.3273, allocations: 18.27 MB / 494.1 MB, free: 4.426 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007955/0.3353, allocations: 5.518 MB / 499.6 MB, free: 14.89 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0104/0.3457, allocations: 6.776 MB / 0.4945 GB, free: 8.09 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003672/0.3495, allocations: 1.148 MB / 0.4956 GB, free: 6.941 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005084/0.3546, allocations: 1.539 MB / 0.4971 GB, free: 5.402 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003316/0.3579, allocations: 2.999 MB / 0.5001 GB, free: 2.395 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.1904/0.5483, allocations: 6.327 MB / 0.5063 GB, free: 30.4 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02161/0.57, allocations: 24.4 MB / 0.5301 GB, free: 25.09 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.594e-06/0.57, allocations: 0 / 0.5301 GB, free: 25.09 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.963e-06/0.57, allocations: 0 / 0.5301 GB, free: 25.09 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0007891/0.5708, allocations: 0 / 0.5301 GB, free: 25.09 MB / 378.7 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.04437/0.6152, allocations: 14.66 MB / 0.5444 GB, free: 17.01 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.893e-05/0.6153, allocations: 15.02 kB / 0.5444 GB, free: 17 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03578/0.6511, allocations: 6.777 MB / 0.551 GB, free: 13.95 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01667/0.6678, allocations: 7.848 MB / 0.5587 GB, free: 8.758 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004773/0.6683, allocations: 0.7927 MB / 0.5595 GB, free: 7.973 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003819/0.6721, allocations: 1.058 MB / 0.5605 GB, free: 6.93 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03936/0.7115, allocations: 17.21 MB / 0.5773 GB, free: 5.68 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003173/0.7118, allocations: 19.81 kB / 0.5773 GB, free: 5.66 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002395/0.7142, allocations: 440.8 kB / 0.5778 GB, free: 5.242 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006552/0.7149, allocations: 0.6346 MB / 0.5784 GB, free: 4.605 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03645/0.7514, allocations: 16.29 MB / 0.5943 GB, free: 4.293 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09112/0.8425, allocations: 56.99 MB / 0.6499 GB, free: 10.74 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2089/1.051, allocations: 31.39 MB / 0.6806 GB, free: 160.5 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007298/1.059, allocations: 4.36 MB / 0.6849 GB, free: 160.5 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01674/1.076, allocations: 10.74 MB / 0.6953 GB, free: 157 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.115e-05/1.076, allocations: 80.03 kB / 0.6954 GB, free: 156.9 MB / 490.7 MB Notification: Performance of pre-optimization done (n=398): time 5.371e-06/1.076, allocations: 1.312 kB / 0.6954 GB, free: 156.9 MB / 490.7 MB Notification: Performance of matching and sorting (n=423): time 0.03935/1.115, allocations: 21.55 MB / 0.7165 GB, free: 147.2 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.453e-05/1.115, allocations: 125.2 kB / 0.7166 GB, free: 147.1 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005568/1.121, allocations: 4.686 MB / 0.7212 GB, free: 143.5 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004577/1.121, allocations: 95.02 kB / 0.7212 GB, free: 143.4 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001812/1.123, allocations: 4.67 MB / 0.7258 GB, free: 139.3 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009333/1.124, allocations: 1.445 MB / 0.7272 GB, free: 138 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001507/1.125, allocations: 1.131 MB / 0.7283 GB, free: 136.9 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 3.667e-05/1.125, allocations: 309.1 kB / 0.7286 GB, free: 136.6 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003483/1.129, allocations: 2.907 MB / 0.7315 GB, free: 134.2 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004267/1.133, allocations: 4.944 MB / 0.7363 GB, free: 128.8 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008063/1.141, allocations: 8.341 MB / 0.7444 GB, free: 119.9 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.125e-05/1.141, allocations: 20 kB / 0.7444 GB, free: 119.9 MB / 490.7 MB Notification: Performance of matching and sorting (n=764) (initialization): time 0.01336/1.155, allocations: 9.732 MB / 0.7539 GB, free: 110.1 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.998e-05/1.155, allocations: 34 kB / 0.754 GB, free: 110.1 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.108e-05/1.155, allocations: 72 kB / 0.7541 GB, free: 110 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003988/1.159, allocations: 1.652 MB / 0.7557 GB, free: 108.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004276/1.163, allocations: 1.314 MB / 0.7569 GB, free: 107.1 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01757/1.181, allocations: 16.48 MB / 0.773 GB, free: 90.08 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004981/1.186, allocations: 323.5 kB / 0.7733 GB, free: 89.77 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007874/1.187, allocations: 280 kB / 0.7736 GB, free: 89.49 MB / 490.7 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.005852/1.192, allocations: 3.892 MB / 0.7774 GB, free: 85.59 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001048/1.193, allocations: 0.4901 MB / 0.7779 GB, free: 85.09 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01158/1.205, allocations: 7.792 MB / 0.7855 GB, free: 77.19 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.38e-05/1.205, allocations: 44 kB / 0.7855 GB, free: 77.14 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.264e-05/1.205, allocations: 16 kB / 0.7856 GB, free: 77.13 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.66e-05/1.205, allocations: 23.92 kB / 0.7856 GB, free: 77.11 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02939/1.235, allocations: 17.47 MB / 0.8026 GB, free: 59.5 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.625e-05/1.235, allocations: 8 kB / 0.8026 GB, free: 59.49 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002989/1.238, allocations: 0.7216 MB / 0.8034 GB, free: 58.77 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003873/1.242, allocations: 1.561 MB / 0.8049 GB, free: 57.18 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004293/1.242, allocations: 99.97 kB / 0.805 GB, free: 57.09 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01773/1.26, allocations: 19.51 MB / 0.824 GB, free: 36.68 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.52e-06/1.26, allocations: 20.08 kB / 0.824 GB, free: 36.66 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2744/1.534, allocations: 57.68 MB / 0.8804 GB, free: 136.1 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002716/1.537, allocations: 1.154 MB / 0.8815 GB, free: 135.6 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007658/1.538, allocations: 90.38 kB / 0.8816 GB, free: 135.6 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002635/1.54, allocations: 228.5 kB / 0.8818 GB, free: 135.5 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007553/1.541, allocations: 333.5 kB / 0.8821 GB, free: 135.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002876/1.541, allocations: 128.2 kB / 0.8822 GB, free: 135.4 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.004211/1.546, allocations: 3.18 MB / 0.8854 GB, free: 134.3 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.71e-07/1.546, allocations: 3.562 kB / 0.8854 GB, free: 134.3 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.008067/1.554, allocations: 2.362 MB / 0.8877 GB, free: 134 MB / 490.7 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.0007527/1.554, allocations: 283.2 kB / 0.8879 GB, free: 133.9 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01152/1.566, allocations: 8.113 MB / 0.8959 GB, free: 130.5 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.446e-06/1.566, allocations: 0 / 0.8959 GB, free: 130.5 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006673/1.573, allocations: 4.64 MB / 0.9004 GB, free: 128.2 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006265/1.579, allocations: 1.241 MB / 0.9016 GB, free: 127.8 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03712/1.616, allocations: 28.18 MB / 0.9291 GB, free: 104.3 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008924/1.625, allocations: 6.917 MB / 0.9359 GB, free: 99.02 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.005681/1.631, allocations: 1.874 MB / 0.9377 GB, free: 97.72 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001231/1.632, allocations: 382.5 kB / 0.9381 GB, free: 97.36 MB / 490.7 MB Notification: Performance of SimCode: time 1.783e-06/1.632, allocations: 0 / 0.9381 GB, free: 97.36 MB / 490.7 MB Notification: Performance of Templates: time 0.1328/1.765, allocations: 95.89 MB / 1.032 GB, free: 5.242 MB / 490.7 MB 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/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Initialize/IMC_Initialize.csv","../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