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.0009095/0.0009095, allocations: 92.91 kB / 16.3 MB, free: 5.996 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.0009967/0.0009967, allocations: 184.2 kB / 17.2 MB, free: 5.914 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.265/1.265, allocations: 223.2 MB / 241.1 MB, free: 5.441 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002283/0.0002283, allocations: 6 kB / 300.7 MB, free: 5.969 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08238/0.08262, allocations: 50.42 MB / 351.2 MB, free: 11.7 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.02457/0.1072, allocations: 26.27 MB / 377.4 MB, free: 1.344 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01476/0.122, allocations: 8.624 MB / 386.1 MB, free: 8.699 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004282/0.1263, allocations: 207.2 kB / 386.3 MB, free: 8.496 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004721/0.1311, allocations: 1.796 MB / 388.1 MB, free: 6.691 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008659/0.1397, allocations: 3.132 MB / 391.2 MB, free: 3.559 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003945/0.1437, allocations: 1.431 MB / 392.6 MB, free: 2.133 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.01625/0.16, allocations: 11.44 MB / 404.1 MB, free: 6.68 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02668/0.1867, allocations: 17.41 MB / 421.5 MB, free: 5.164 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006187/0.1929, allocations: 4.439 MB / 425.9 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1827/0.3756, allocations: 4.888 MB / 430.8 MB, free: 18.02 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003295/0.3789, allocations: 0.7242 MB / 431.5 MB, free: 18.02 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005665/0.3846, allocations: 1.012 MB / 432.5 MB, free: 18.02 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004361/0.389, allocations: 2.267 MB / 434.8 MB, free: 18.02 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006156/0.3952, allocations: 2.387 MB / 437.2 MB, free: 17.99 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01907/0.4143, allocations: 20.99 MB / 458.2 MB, free: 8.254 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.4143, allocations: 0 / 458.2 MB, free: 8.254 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.996e-06/0.4143, allocations: 0 / 458.2 MB, free: 8.254 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0006893/0.415, allocations: 0 / 458.2 MB, free: 8.254 MB / 350.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.03324/0.4483, allocations: 12.28 MB / 470.5 MB, free: 2.191 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.994e-05/0.4483, allocations: 7.406 kB / 470.5 MB, free: 2.191 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03802/0.4864, allocations: 6.783 MB / 477.3 MB, free: 15.87 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01725/0.5036, allocations: 7.77 MB / 485 MB, free: 11.64 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007135/0.5044, allocations: 0.7882 MB / 485.8 MB, free: 11.2 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003942/0.5084, allocations: 1.049 MB / 486.9 MB, free: 10.5 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03886/0.5472, allocations: 17.05 MB / 0.4921 GB, free: 15.87 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002663/0.5475, allocations: 15.28 kB / 0.4921 GB, free: 15.86 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001612/0.5492, allocations: 445.7 kB / 0.4925 GB, free: 15.77 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005585/0.5497, allocations: 0.6336 MB / 0.4932 GB, free: 15.18 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03113/0.5809, allocations: 16.24 MB / 0.509 GB, free: 15.87 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09277/0.6737, allocations: 55.88 MB / 0.5636 GB, free: 7.668 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2373/0.911, allocations: 31.03 MB / 0.5939 GB, free: 113.3 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01984/0.9309, allocations: 10.17 MB / 0.6038 GB, free: 112.4 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.175e-05/0.931, allocations: 85.3 kB / 0.6039 GB, free: 112.4 MB / 462.1 MB Notification: Performance of pre-optimization done (n=410): time 6.172e-06/0.931, allocations: 0 / 0.6039 GB, free: 112.4 MB / 462.1 MB Notification: Performance of matching and sorting (n=435): time 0.04488/0.9759, allocations: 22.02 MB / 0.6254 GB, free: 103.3 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.332e-05/0.976, allocations: 122 kB / 0.6255 GB, free: 103.2 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006022/0.982, allocations: 4.567 MB / 0.63 GB, free: 101.5 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009175/0.983, allocations: 98.75 kB / 0.6301 GB, free: 101.4 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002388/0.9854, allocations: 4.646 MB / 0.6346 GB, free: 97.94 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001592/0.987, allocations: 1.486 MB / 0.6361 GB, free: 96.79 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004122/0.9874, allocations: 119.4 kB / 0.6362 GB, free: 96.7 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002632/0.9877, allocations: 0.5417 MB / 0.6367 GB, free: 96.29 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003921/0.9916, allocations: 2.94 MB / 0.6396 GB, free: 95.12 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004779/0.9964, allocations: 4.934 MB / 0.6444 GB, free: 91.36 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005271/1.002, allocations: 3.985 MB / 0.6483 GB, free: 87.82 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.547e-05/1.002, allocations: 19.75 kB / 0.6483 GB, free: 87.81 MB / 462.1 MB Notification: Performance of matching and sorting (n=772) (initialization): time 0.01571/1.017, allocations: 9.79 MB / 0.6579 GB, free: 78.83 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.821e-05/1.018, allocations: 32 kB / 0.6579 GB, free: 78.8 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001117/1.018, allocations: 64.41 kB / 0.658 GB, free: 78.73 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004336/1.022, allocations: 1.657 MB / 0.6596 GB, free: 77.07 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005303/1.027, allocations: 1.34 MB / 0.6609 GB, free: 75.73 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02055/1.048, allocations: 16.86 MB / 0.6773 GB, free: 58.35 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005696/1.054, allocations: 335.8 kB / 0.6777 GB, free: 58.02 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001243/1.055, allocations: 282.1 kB / 0.6779 GB, free: 57.75 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 292 * 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 (679): * Single equations (assignments): 675 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 1,(7,69.4%) 28,(1,100.0%) 1,(14,38.8%) 44} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007689/1.063, allocations: 3.888 MB / 0.6817 GB, free: 53.84 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001601/1.064, allocations: 0.4901 MB / 0.6822 GB, free: 53.35 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01483/1.079, allocations: 7.92 MB / 0.6899 GB, free: 45.32 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-05/1.079, allocations: 46.08 kB / 0.69 GB, free: 45.28 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.584e-05/1.079, allocations: 20 kB / 0.69 GB, free: 45.26 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.295e-05/1.079, allocations: 23.91 kB / 0.69 GB, free: 45.23 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03546/1.115, allocations: 17.64 MB / 0.7073 GB, free: 27.45 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.68e-05/1.115, allocations: 8 kB / 0.7073 GB, free: 27.44 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00365/1.118, allocations: 0.7528 MB / 0.708 GB, free: 26.69 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004363/1.123, allocations: 1.555 MB / 0.7095 GB, free: 25.12 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007429/1.124, allocations: 107.9 kB / 0.7096 GB, free: 25.01 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01931/1.143, allocations: 19.87 MB / 0.729 GB, free: 4.254 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.933e-06/1.143, allocations: 11.92 kB / 0.729 GB, free: 4.242 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01973/1.163, allocations: 12.39 MB / 0.7411 GB, free: 7.449 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003301/1.166, allocations: 1.17 MB / 0.7423 GB, free: 6.254 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001265/1.167, allocations: 88 kB / 0.7424 GB, free: 6.168 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003083/1.17, allocations: 247.8 kB / 0.7426 GB, free: 5.926 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008041/1.171, allocations: 335.7 kB / 0.7429 GB, free: 5.598 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004004/1.172, allocations: 132 kB / 0.7431 GB, free: 5.469 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.005635/1.177, allocations: 3.083 MB / 0.7461 GB, free: 2.387 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.4e-07/1.177, allocations: 0 / 0.7461 GB, free: 2.387 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.008059/1.185, allocations: 1.863 MB / 0.7479 GB, free: 0.5234 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 (376): * Single equations (assignments): 369 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 7 {(1,100.0%) 1,(14,41.3%) 44,(2,100.0%) 12,(1,100.0%) 12,(1,100.0%) 1,(1,100.0%) 5,(1,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008826/1.186, allocations: 281.6 kB / 0.7482 GB, free: 252 kB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01589/1.202, allocations: 8.228 MB / 0.7562 GB, free: 7.969 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 9.147e-06/1.202, allocations: 4 kB / 0.7562 GB, free: 7.965 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00894/1.211, allocations: 4.712 MB / 0.7608 GB, free: 3.16 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007075/1.218, allocations: 1.19 MB / 0.762 GB, free: 1.988 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2343/1.453, allocations: 22.98 MB / 0.7844 GB, free: 151.9 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008155/1.461, allocations: 6.948 MB / 0.7912 GB, free: 150.9 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.006347/1.467, allocations: 1.869 MB / 0.793 GB, free: 150.6 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001764/1.469, allocations: 376.8 kB / 0.7934 GB, free: 150.6 MB / 494.1 MB Notification: Performance of SimCode: time 1.132e-06/1.469, allocations: 2.438 kB / 0.7934 GB, free: 150.6 MB / 494.1 MB Notification: Performance of Templates: time 0.1157/1.585, allocations: 78.37 MB / 0.8699 GB, free: 84.36 MB / 494.1 MB 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","../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