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.001656/0.001656, allocations: 104.2 kB / 17.06 MB, free: 5.992 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.001241/0.001241, allocations: 191 kB / 18 MB, free: 5.078 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.36/1.36, allocations: 222.9 MB / 241.7 MB, free: 15.18 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009476/0.0009477, allocations: 47.92 kB / 351.3 MB, free: 3.227 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3112/0.3122, allocations: 49.44 MB / 400.8 MB, free: 8.754 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.03378/0.346, allocations: 32.85 MB / 433.6 MB, free: 7.891 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02067/0.3667, allocations: 8.973 MB / 442.6 MB, free: 14.89 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009764/0.3765, allocations: 235.2 kB / 442.8 MB, free: 14.66 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01896/0.3955, allocations: 8.01 MB / 450.8 MB, free: 6.633 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01606/0.4116, allocations: 3.73 MB / 454.6 MB, free: 2.887 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009215/0.4208, allocations: 2.097 MB / 456.7 MB, free: 0.8008 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0268/0.4476, allocations: 13.01 MB / 469.7 MB, free: 3.75 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0541/0.5018, allocations: 22.48 MB / 492.1 MB, free: 13.11 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01638/0.5182, allocations: 6.576 MB / 498.7 MB, free: 6.512 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01683/0.5351, allocations: 7.218 MB / 0.4941 GB, free: 15.27 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.008288/0.5435, allocations: 1.887 MB / 0.4959 GB, free: 13.38 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007851/0.5513, allocations: 2.234 MB / 0.4981 GB, free: 11.15 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00703/0.5584, allocations: 3.753 MB / 0.5018 GB, free: 7.387 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01538/0.5738, allocations: 7.094 MB / 0.5087 GB, free: 272 kB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0335/0.6073, allocations: 25 MB / 0.5331 GB, free: 7.195 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.195e-06/0.6074, allocations: 0 / 0.5331 GB, free: 7.195 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.6074, allocations: 0 / 0.5331 GB, free: 7.195 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.000838/0.6082, allocations: 0 / 0.5331 GB, free: 7.195 MB / 462.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.5069/1.115, allocations: 14.57 MB / 0.5473 GB, free: 114 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.875e-05/1.115, allocations: 15.84 kB / 0.5473 GB, free: 114 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0356/1.151, allocations: 6.796 MB / 0.554 GB, free: 111 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01528/1.166, allocations: 8.072 MB / 0.5619 GB, free: 104.6 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008448/1.167, allocations: 0.7901 MB / 0.5626 GB, free: 103.9 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005072/1.172, allocations: 1.046 MB / 0.5637 GB, free: 102.8 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03586/1.208, allocations: 17.22 MB / 0.5805 GB, free: 85.56 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002829/1.208, allocations: 23.27 kB / 0.5805 GB, free: 85.54 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001781/1.21, allocations: 439.3 kB / 0.5809 GB, free: 85.12 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004531/1.211, allocations: 0.6314 MB / 0.5815 GB, free: 84.49 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02684/1.237, allocations: 16.3 MB / 0.5975 GB, free: 68.16 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07783/1.315, allocations: 55.14 MB / 0.6513 GB, free: 12.08 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0253/1.341, allocations: 31.08 MB / 0.6817 GB, free: 9.309 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007482/1.348, allocations: 4.308 MB / 0.6859 GB, free: 5 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02004/1.368, allocations: 10.42 MB / 0.696 GB, free: 10.5 MB / 0.4982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.922e-05/1.368, allocations: 77.81 kB / 0.6961 GB, free: 10.41 MB / 0.4982 GB Notification: Performance of pre-optimization done (n=398): time 5.661e-06/1.368, allocations: 0 / 0.6961 GB, free: 10.41 MB / 0.4982 GB Notification: Performance of matching and sorting (n=423): time 0.04815/1.416, allocations: 21.56 MB / 0.7172 GB, free: 4.441 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.818e-05/1.417, allocations: 120.7 kB / 0.7173 GB, free: 4.305 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007895/1.425, allocations: 4.677 MB / 0.7219 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0008783/1.425, allocations: 101.7 kB / 0.722 GB, free: 15.51 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.003769/1.429, allocations: 4.654 MB / 0.7265 GB, free: 10.8 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.002189/1.431, allocations: 1.444 MB / 0.7279 GB, free: 9.34 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002064/1.433, allocations: 1.132 MB / 0.729 GB, free: 8.195 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001102/1.434, allocations: 305.1 kB / 0.7293 GB, free: 7.895 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004811/1.438, allocations: 2.916 MB / 0.7322 GB, free: 4.973 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006292/1.445, allocations: 4.945 MB / 0.737 GB, free: 15.1 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01143/1.456, allocations: 8.334 MB / 0.7451 GB, free: 5.824 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.649e-05/1.456, allocations: 23.94 kB / 0.7451 GB, free: 5.801 MB / 0.545 GB Notification: Performance of matching and sorting (n=764) (initialization): time 0.2596/1.716, allocations: 9.73 MB / 0.7546 GB, free: 190.8 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 6.438e-05/1.716, allocations: 35.53 kB / 0.7547 GB, free: 190.8 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001224/1.716, allocations: 63.12 kB / 0.7547 GB, free: 190.8 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004212/1.72, allocations: 1.651 MB / 0.7564 GB, free: 190.7 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005057/1.725, allocations: 1.318 MB / 0.7576 GB, free: 190.7 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0191/1.744, allocations: 17.75 MB / 0.775 GB, free: 180 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005211/1.75, allocations: 326.8 kB / 0.7753 GB, free: 179.9 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008212/1.751, allocations: 284.9 kB / 0.7756 GB, free: 179.8 MB / 0.545 GB 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.006605/1.757, allocations: 3.882 MB / 0.7794 GB, free: 177.9 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001189/1.758, allocations: 494.6 kB / 0.7798 GB, free: 177.9 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01215/1.771, allocations: 7.785 MB / 0.7874 GB, free: 174.6 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.843e-05/1.771, allocations: 41.78 kB / 0.7875 GB, free: 174.6 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.498e-05/1.771, allocations: 25.97 kB / 0.7875 GB, free: 174.6 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.001e-05/1.771, allocations: 23.53 kB / 0.7875 GB, free: 174.6 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02558/1.796, allocations: 17.45 MB / 0.8046 GB, free: 162.1 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.668e-05/1.796, allocations: 12.16 kB / 0.8046 GB, free: 162.1 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002797/1.799, allocations: 0.7299 MB / 0.8053 GB, free: 161.4 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003749/1.803, allocations: 1.545 MB / 0.8068 GB, free: 159.8 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004479/1.803, allocations: 108 kB / 0.8069 GB, free: 159.7 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01837/1.822, allocations: 21.2 MB / 0.8276 GB, free: 137.8 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.824e-06/1.822, allocations: 11.94 kB / 0.8276 GB, free: 137.8 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01553/1.837, allocations: 11.45 MB / 0.8388 GB, free: 126.4 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002603/1.84, allocations: 1.142 MB / 0.8399 GB, free: 125.4 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007057/1.841, allocations: 91.98 kB / 0.84 GB, free: 125.3 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002411/1.843, allocations: 239.7 kB / 0.8402 GB, free: 125 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007329/1.844, allocations: 327.3 kB / 0.8405 GB, free: 124.7 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002668/1.844, allocations: 128 kB / 0.8407 GB, free: 124.6 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003898/1.848, allocations: 3.169 MB / 0.8438 GB, free: 121.4 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.5e-07/1.848, allocations: 0 / 0.8438 GB, free: 121.4 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.005309/1.853, allocations: 1.862 MB / 0.8456 GB, free: 119.6 MB / 0.545 GB 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.000551/1.854, allocations: 275.9 kB / 0.8458 GB, free: 119.3 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01104/1.865, allocations: 8.137 MB / 0.8538 GB, free: 111.1 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.05e-05/1.865, allocations: 4 kB / 0.8538 GB, free: 111.1 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.006253/1.871, allocations: 4.647 MB / 0.8583 GB, free: 106.4 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005543/1.877, allocations: 1.303 MB / 0.8596 GB, free: 105.1 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.029/1.906, allocations: 19.1 MB / 0.8783 GB, free: 85.91 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00645/1.912, allocations: 6.766 MB / 0.8849 GB, free: 79.11 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004927/1.917, allocations: 1.857 MB / 0.8867 GB, free: 77.24 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001255/1.919, allocations: 375.4 kB / 0.887 GB, free: 76.88 MB / 0.545 GB Notification: Performance of SimCode: time 9.11e-07/1.919, allocations: 4 kB / 0.887 GB, free: 76.87 MB / 0.545 GB Notification: Performance of Templates: time 0.3661/2.285, allocations: 80.94 MB / 0.9661 GB, free: 178.7 MB / 0.545 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/jenkins/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/jenkins/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