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_Transformer.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) Running command: translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|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.zeroInductor.i0|imcQS.rotorCage.port_p.reference.gamma|loadInertia.phi|loadInertia.w|loadInertiaQS.phi|loadInertiaQS.w|transformer.l2sigma.inductor.1..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|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.zeroInductor.i0|imcQS.rotorCage.port_p.reference.gamma|loadInertia.phi|loadInertia.w|loadInertiaQS.phi|loadInertiaQS.w|transformer.l2sigma.inductor.1..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001063/0.001063, allocations: 176.2 kB / 8.348 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.428/1.428, allocations: 221.5 MB / 230.3 MB, free: 7.516 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008602/0.00086, allocations: 102.2 kB / 281.2 MB, free: 5.277 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.772e-05/1.755e-05, allocations: 4 kB / 337.9 MB, free: 9.219 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1045/0.1045, allocations: 50.41 MB / 388.3 MB, free: 6.77 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4148/0.5193, allocations: 166.5 MB / 0.5417 GB, free: 7.703 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003145/0.5197, allocations: 103.8 kB / 0.5418 GB, free: 7.605 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.239/3.759, allocations: 0.8529 GB / 1.395 GB, free: 21.28 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.926e-06/3.759, allocations: 4 kB / 1.395 GB, free: 21.27 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.001521/3.761, allocations: 479.4 kB / 1.395 GB, free: 20.8 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5818 * Number of variables: 5818 Notification: Performance of Generate backend data structure: time 0.07605/3.837, allocations: 19.48 MB / 1.414 GB, free: 1.195 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.796e-05/3.837, allocations: 15.98 kB / 1.414 GB, free: 1.18 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.8812/4.718, allocations: 9.655 MB / 1.424 GB, free: 24.93 MB / 0.4949 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04694/4.765, allocations: 16.21 MB / 1.44 GB, free: 23.88 MB / 0.4949 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001575/4.766, allocations: 0.6528 MB / 1.44 GB, free: 23.88 MB / 0.4949 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01095/4.777, allocations: 1.178 MB / 1.441 GB, free: 23.86 MB / 0.4949 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.06346/4.841, allocations: 27.27 MB / 1.468 GB, free: 23.77 MB / 0.4949 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08686/4.928, allocations: 30.46 MB / 1.498 GB, free: 21.5 MB / 0.4949 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001101/4.929, allocations: 34.31 kB / 1.498 GB, free: 21.5 MB / 0.4949 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007281/4.936, allocations: 16.19 kB / 1.498 GB, free: 21.5 MB / 0.4949 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001757/4.938, allocations: 1.483 MB / 1.499 GB, free: 21.45 MB / 0.4949 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1941/5.132, allocations: 105.3 MB / 1.602 GB, free: 7.781 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 0.9011/6.033, allocations: 50.34 MB / 1.651 GB, free: 45.52 MB / 0.5575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01645/6.05, allocations: 9.476 MB / 1.66 GB, free: 45.39 MB / 0.5575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04774/6.097, allocations: 22.97 MB / 1.683 GB, free: 44.45 MB / 0.5575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.858e-05/6.098, allocations: 136.6 kB / 1.683 GB, free: 44.41 MB / 0.5575 GB Notification: Performance of pre-optimization done (n=892): time 1.09e-05/6.098, allocations: 0 / 1.683 GB, free: 44.41 MB / 0.5575 GB Notification: Performance of matching and sorting (n=904): time 0.07833/6.176, allocations: 37.49 MB / 1.72 GB, free: 38.61 MB / 0.5575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.231e-05/6.176, allocations: 174.1 kB / 1.72 GB, free: 38.51 MB / 0.5575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01377/6.19, allocations: 6.203 MB / 1.726 GB, free: 38 MB / 0.5575 GB Notification: Performance of collectPreVariables (initialization): time 0.002326/6.192, allocations: 29.14 kB / 1.726 GB, free: 37.96 MB / 0.5575 GB Notification: Performance of collectInitialEqns (initialization): time 0.005477/6.198, allocations: 8.666 MB / 1.734 GB, free: 33.37 MB / 0.5575 GB Notification: Performance of collectInitialBindings (initialization): time 0.003708/6.201, allocations: 2.925 MB / 1.737 GB, free: 31.44 MB / 0.5575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001156/6.203, allocations: 0 / 1.737 GB, free: 31.44 MB / 0.5575 GB Notification: Performance of setup shared object (initialization): time 0.0006477/6.203, allocations: 0.7778 MB / 1.738 GB, free: 31.11 MB / 0.5575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008795/6.212, allocations: 6.095 MB / 1.744 GB, free: 31.08 MB / 0.5575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0111/6.223, allocations: 9.625 MB / 1.753 GB, free: 26.9 MB / 0.5575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0164/6.24, allocations: 9.872 MB / 1.763 GB, free: 24.51 MB / 0.5575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002034/6.24, allocations: 34 kB / 1.763 GB, free: 24.51 MB / 0.5575 GB Notification: Performance of matching and sorting (n=1468) (initialization): time 0.04116/6.281, allocations: 20.76 MB / 1.783 GB, free: 17.51 MB / 0.5575 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002504/6.281, allocations: 53.56 kB / 1.783 GB, free: 17.51 MB / 0.5575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002886/6.282, allocations: 117.2 kB / 1.783 GB, free: 17.51 MB / 0.5575 GB Notification: Tearing is skipped for strong component 1 because system size of 204 exceeds maximum system size for tearing of linear systems (200). To adjust the maximum system size for tearing use --maxSizeLinearTearing= and --maxSizeNonlinearTearing=. Notification: Performance of postOpt tearingSystem (initialization): time 0.002164/6.284, allocations: 0.7915 MB / 1.784 GB, free: 17.29 MB / 0.5575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01106/6.295, allocations: 2.449 MB / 1.787 GB, free: 17.21 MB / 0.5575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009284/6.304, allocations: 11.05 MB / 1.797 GB, free: 8.715 MB / 0.5575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01062/6.315, allocations: 470 kB / 1.798 GB, free: 8.703 MB / 0.5575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003085/6.318, allocations: 0.5027 MB / 1.798 GB, free: 8.613 MB / 0.5575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 517 * Number of states: 0 () * Number of discrete variables: 12 (booleanStep1[1].y,booleanStep1[2].y,booleanStep1[3].y,booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y,booleanStep1QS[1].y,booleanStep1QS[2].y,booleanStep1QS[3].y,booleanStep2QS[1].y,booleanStep2QS[2].y,booleanStep2QS[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1214): * Single equations (assignments): 1207 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(204,1.3%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 1,(1,100.0%) 8,(2,100.0%) 26,(1,100.0%) 13,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004611/6.323, allocations: 440.4 kB / 1.799 GB, free: 8.395 MB / 0.5575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003346/6.326, allocations: 0.8332 MB / 1.8 GB, free: 7.957 MB / 0.5575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05405/6.38, allocations: 18.98 MB / 1.818 GB, free: 14.15 MB / 0.5731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001143/6.38, allocations: 92 kB / 1.818 GB, free: 14.06 MB / 0.5731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.929e-05/6.38, allocations: 44 kB / 1.818 GB, free: 14.02 MB / 0.5731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002283/6.381, allocations: 51.91 kB / 1.818 GB, free: 14.02 MB / 0.5731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08066/6.461, allocations: 34.51 MB / 1.852 GB, free: 2.578 MB / 0.5888 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.058e-05/6.461, allocations: 4 kB / 1.852 GB, free: 2.574 MB / 0.5888 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007915/6.469, allocations: 1.489 MB / 1.853 GB, free: 1.445 MB / 0.5888 GB Notification: Tearing is skipped for strong component 14 because system size of 204 exceeds maximum system size for tearing of linear systems (200). To adjust the maximum system size for tearing use --maxSizeLinearTearing= and --maxSizeNonlinearTearing=. Notification: Performance of postOpt tearingSystem (simulation): time 0.002677/6.472, allocations: 0.827 MB / 1.854 GB, free: 0.7617 MB / 0.5888 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002532/6.475, allocations: 73.48 kB / 1.854 GB, free: 0.707 MB / 0.5888 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4508/6.925, allocations: 15.12 MB / 1.869 GB, free: 95.17 MB / 0.5888 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.746e-06/6.925, allocations: 10.19 kB / 1.869 GB, free: 95.17 MB / 0.5888 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05711/6.983, allocations: 27.05 MB / 1.895 GB, free: 92.64 MB / 0.5888 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008645/6.991, allocations: 2.233 MB / 1.898 GB, free: 92.54 MB / 0.5888 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004756/6.996, allocations: 24.05 kB / 1.898 GB, free: 92.54 MB / 0.5888 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008817/7.005, allocations: 445 kB / 1.898 GB, free: 92.54 MB / 0.5888 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00245/7.007, allocations: 0.7915 MB / 1.899 GB, free: 92.53 MB / 0.5888 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001415/7.009, allocations: 258.7 kB / 1.899 GB, free: 92.53 MB / 0.5888 GB Notification: Performance of sorting global known variables: time 0.008625/7.017, allocations: 4.594 MB / 1.904 GB, free: 92.31 MB / 0.5888 GB Notification: Performance of sort global known variables: time 4.01e-07/7.017, allocations: 0 / 1.904 GB, free: 92.31 MB / 0.5888 GB Notification: Performance of remove unused functions: time 0.01387/7.031, allocations: 3.127 MB / 1.907 GB, free: 92.31 MB / 0.5888 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 12 (imcQS.rotorCage.port_p.reference.gamma,loadInertiaQS.w,quadraticLoadTorqueQS.phi,imc.stator.core.Phi.re,imc.stator.core.Phi.im,imc.stator.zeroInductor.i0,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,transformer.l1sigma.inductor[2].i,transformer.l1sigma.inductor[3].i,loadInertia.w,quadraticLoadTorque.phi) * Number of discrete variables: 12 (booleanStep1QS[1].y,booleanStep1QS[2].y,booleanStep1QS[3].y,booleanStep2QS[1].y,booleanStep2QS[2].y,booleanStep2QS[3].y,booleanStep1[1].y,booleanStep1[2].y,booleanStep1[3].y,booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (701): * Single equations (assignments): 693 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(204,1.3%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 7 {(1,100.0%) 1,(1,100.0%) 8,(2,100.0%) 26,(1,100.0%) 1,(1,100.0%) 8,(1,100.0%) 13,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002247/7.034, allocations: 0.586 MB / 1.907 GB, free: 92.22 MB / 0.5888 GB Notification: Performance of simCode: created initialization part: time 0.02435/7.058, allocations: 15.58 MB / 1.922 GB, free: 91.31 MB / 0.5888 GB Notification: Performance of simCode: created event and clocks part: time 1.4e-05/7.058, allocations: 5.406 kB / 1.922 GB, free: 91.31 MB / 0.5888 GB Notification: Performance of simCode: created simulation system equations: time 0.01352/7.072, allocations: 8.566 MB / 1.931 GB, free: 90.38 MB / 0.5888 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01231/7.084, allocations: 1.754 MB / 1.933 GB, free: 90.35 MB / 0.5888 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06557/7.15, allocations: 32.54 MB / 1.964 GB, free: 84.36 MB / 0.5888 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02073/7.17, allocations: 13.44 MB / 1.977 GB, free: 82.99 MB / 0.5888 GB Notification: Performance of simCode: alias equations: time 0.01194/7.182, allocations: 3.904 MB / 1.981 GB, free: 82.66 MB / 0.5888 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002549/7.185, allocations: 0.6178 MB / 1.982 GB, free: 82.66 MB / 0.5888 GB Notification: Performance of SimCode: time 7.52e-07/7.185, allocations: 0 / 1.982 GB, free: 82.66 MB / 0.5888 GB Notification: Performance of Templates: time 0.5936/7.778, allocations: 129.5 MB / 2.108 GB, free: 84.11 MB / 0.5888 GB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer -nls=newton -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer_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_Transformer/IMC_Transformer.csv","../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches