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.001047/0.001047, allocations: 96.91 kB / 16.99 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001602/0.001602, allocations: 198 kB / 17.9 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.295/1.295, allocations: 227.2 MB / 245.9 MB, free: 10.35 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002181/0.0002182, allocations: 8 kB / 306.6 MB, free: 1.426 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08746/0.08769, allocations: 51.5 MB / 358.1 MB, free: 13.92 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.1745/0.2623, allocations: 26.76 MB / 384.9 MB, free: 7.723 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01738/0.2797, allocations: 8.865 MB / 393.7 MB, free: 1.238 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006994/0.2867, allocations: 208.8 kB / 393.9 MB, free: 1.191 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006825/0.2936, allocations: 1.824 MB / 395.8 MB, free: 228 kB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0118/0.3054, allocations: 3.189 MB / 398.9 MB, free: 14.12 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005654/0.3111, allocations: 1.464 MB / 400.4 MB, free: 13.25 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.01898/0.3301, allocations: 11.58 MB / 412 MB, free: 6.633 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03493/0.365, allocations: 17.43 MB / 429.4 MB, free: 5.254 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008837/0.3739, allocations: 4.455 MB / 433.9 MB, free: 0.7852 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01009/0.384, allocations: 4.907 MB / 438.8 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003063/0.3871, allocations: 0.7227 MB / 439.5 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006033/0.3932, allocations: 1.031 MB / 440.5 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004152/0.3974, allocations: 2.266 MB / 442.8 MB, free: 7.832 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004773/0.4022, allocations: 2.387 MB / 445.2 MB, free: 5.434 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02205/0.4242, allocations: 21.03 MB / 466.2 MB, free: 356 kB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.4243, allocations: 0 / 466.2 MB, free: 356 kB / 366.1 MB Notification: Performance of FrontEnd: time 2.314e-06/0.4243, allocations: 0 / 466.2 MB, free: 356 kB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0005731/0.4249, allocations: 8 kB / 466.2 MB, free: 348 kB / 366.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.03533/0.4602, allocations: 12.32 MB / 478.5 MB, free: 3.906 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.588e-05/0.4603, allocations: 16.03 kB / 478.6 MB, free: 3.891 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03817/0.4984, allocations: 6.74 MB / 485.3 MB, free: 13.13 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01749/0.516, allocations: 7.782 MB / 493.1 MB, free: 5.27 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001039/0.517, allocations: 0.7946 MB / 493.9 MB, free: 4.473 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004025/0.5211, allocations: 1.051 MB / 494.9 MB, free: 3.422 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03917/0.5603, allocations: 17.05 MB / 0.5 GB, free: 2.293 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000447/0.5608, allocations: 15.91 kB / 0.5 GB, free: 2.277 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002764/0.5635, allocations: 436 kB / 0.5004 GB, free: 1.852 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007167/0.5643, allocations: 0.6314 MB / 0.501 GB, free: 1.215 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03372/0.598, allocations: 16.23 MB / 0.5169 GB, free: 0.9492 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4013/0.9993, allocations: 57.06 MB / 0.5726 GB, free: 96.64 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02038/1.02, allocations: 31.34 MB / 0.6032 GB, free: 66.89 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01664/1.036, allocations: 10.45 MB / 0.6134 GB, free: 59.61 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.109e-05/1.036, allocations: 80.81 kB / 0.6135 GB, free: 59.54 MB / 446.1 MB Notification: Performance of pre-optimization done (n=410): time 5.34e-06/1.037, allocations: 0 / 0.6135 GB, free: 59.54 MB / 446.1 MB Notification: Performance of matching and sorting (n=435): time 0.04021/1.077, allocations: 21.97 MB / 0.6349 GB, free: 40.25 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.564e-05/1.077, allocations: 120.8 kB / 0.6351 GB, free: 40.11 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005381/1.082, allocations: 4.596 MB / 0.6395 GB, free: 35.5 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006265/1.083, allocations: 97.7 kB / 0.6396 GB, free: 35.4 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001863/1.085, allocations: 4.649 MB / 0.6442 GB, free: 30.72 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001334/1.086, allocations: 1.484 MB / 0.6456 GB, free: 29.25 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003802/1.086, allocations: 120 kB / 0.6457 GB, free: 29.13 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002708/1.087, allocations: 0.5384 MB / 0.6463 GB, free: 28.59 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003893/1.091, allocations: 2.944 MB / 0.6491 GB, free: 25.64 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004524/1.095, allocations: 4.936 MB / 0.654 GB, free: 19.79 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004958/1.1, allocations: 3.985 MB / 0.6579 GB, free: 15.79 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.665e-05/1.1, allocations: 20 kB / 0.6579 GB, free: 15.77 MB / 446.1 MB Notification: Performance of matching and sorting (n=772) (initialization): time 0.01471/1.115, allocations: 9.789 MB / 0.6674 GB, free: 5.926 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.392e-05/1.115, allocations: 39.98 kB / 0.6675 GB, free: 5.887 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.173e-05/1.115, allocations: 64 kB / 0.6675 GB, free: 5.824 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003952/1.119, allocations: 1.656 MB / 0.6692 GB, free: 4.152 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004934/1.124, allocations: 1.334 MB / 0.6705 GB, free: 2.816 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02213/1.146, allocations: 16.84 MB / 0.6869 GB, free: 1.445 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00523/1.151, allocations: 335.7 kB / 0.6872 GB, free: 1.117 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001058/1.153, allocations: 287.9 kB / 0.6875 GB, free: 0.8359 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,(8,56.2%) 27,(1,100.0%) 1,(14,38.8%) 44} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007907/1.16, allocations: 3.896 MB / 0.6913 GB, free: 12.93 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001498/1.162, allocations: 497.9 kB / 0.6918 GB, free: 12.43 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01383/1.176, allocations: 7.922 MB / 0.6995 GB, free: 4.406 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.235e-05/1.176, allocations: 44 kB / 0.6996 GB, free: 4.363 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.151e-05/1.176, allocations: 20 kB / 0.6996 GB, free: 4.344 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.326e-05/1.176, allocations: 23.91 kB / 0.6996 GB, free: 4.32 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02854/1.204, allocations: 17.65 MB / 0.7168 GB, free: 2.516 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-05/1.205, allocations: 8 kB / 0.7168 GB, free: 2.508 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003286/1.208, allocations: 0.7531 MB / 0.7176 GB, free: 1.754 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004123/1.212, allocations: 1.543 MB / 0.7191 GB, free: 192 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000506/1.212, allocations: 108 kB / 0.7192 GB, free: 84 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2166/1.429, allocations: 19.88 MB / 0.7386 GB, free: 149.1 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.064e-06/1.429, allocations: 10.53 kB / 0.7386 GB, free: 149.1 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01825/1.447, allocations: 12.4 MB / 0.7507 GB, free: 143 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002966/1.45, allocations: 1.167 MB / 0.7519 GB, free: 142.5 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007705/1.451, allocations: 90.8 kB / 0.7519 GB, free: 142.4 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002551/1.454, allocations: 247 kB / 0.7522 GB, free: 142.4 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007085/1.454, allocations: 334.6 kB / 0.7525 GB, free: 142.3 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002693/1.455, allocations: 128 kB / 0.7526 GB, free: 142.3 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.004236/1.459, allocations: 3.1 MB / 0.7556 GB, free: 141.1 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.51e-07/1.459, allocations: 0 / 0.7556 GB, free: 141.1 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.006954/1.466, allocations: 1.876 MB / 0.7575 GB, free: 140.9 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 (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.0008058/1.467, allocations: 289 kB / 0.7578 GB, free: 140.8 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01186/1.479, allocations: 8.232 MB / 0.7658 GB, free: 137.4 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 9.959e-06/1.479, allocations: 6.75 kB / 0.7658 GB, free: 137.4 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006964/1.486, allocations: 4.707 MB / 0.7704 GB, free: 135 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005116/1.491, allocations: 1.186 MB / 0.7716 GB, free: 134.6 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02866/1.519, allocations: 23.03 MB / 0.794 GB, free: 113.4 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005835/1.525, allocations: 6.959 MB / 0.8008 GB, free: 106.4 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.005278/1.531, allocations: 1.873 MB / 0.8027 GB, free: 104.5 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001015/1.532, allocations: 379.4 kB / 0.803 GB, free: 104.1 MB / 494.1 MB Notification: Performance of SimCode: time 6.81e-07/1.532, allocations: 0 / 0.803 GB, free: 104.1 MB / 494.1 MB Notification: Performance of Templates: time 0.1061/1.638, allocations: 78.8 MB / 0.88 GB, free: 25.87 MB / 494.1 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/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