Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.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_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_trunk_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_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001519/0.001519, allocations: 197.4 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.436/1.436, allocations: 225.6 MB / 234.8 MB, free: 3.207 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001006/0.001005, allocations: 91.7 kB / 286.7 MB, free: 5.297 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.707e-05/2.696e-05, allocations: 4 kB / 344.5 MB, free: 7.445 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1144/0.1145, allocations: 51.47 MB / 396 MB, free: 3.93 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4447/0.5593, allocations: 167.5 MB / 0.5502 GB, free: 6.855 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003252/0.5596, allocations: 104.9 kB / 0.5503 GB, free: 6.801 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.212/3.772, allocations: 0.8941 GB / 1.444 GB, free: 32.87 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.593e-06/3.772, allocations: 3.531 kB / 1.444 GB, free: 32.87 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.001215/3.773, allocations: 470 kB / 1.445 GB, free: 32.8 MB / 0.5105 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.06664/3.84, allocations: 19.54 MB / 1.464 GB, free: 20.67 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.042e-05/3.84, allocations: 8.031 kB / 1.464 GB, free: 20.66 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05275/3.893, allocations: 9.699 MB / 1.473 GB, free: 12.07 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4625/4.355, allocations: 16.22 MB / 1.489 GB, free: 29.03 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001339/4.357, allocations: 0.6537 MB / 1.49 GB, free: 29.03 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008219/4.365, allocations: 1.18 MB / 1.491 GB, free: 29.03 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.06298/4.428, allocations: 27.27 MB / 1.518 GB, free: 28.94 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08666/4.514, allocations: 30.46 MB / 1.547 GB, free: 26.67 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007571/4.515, allocations: 31.73 kB / 1.547 GB, free: 26.67 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006138/4.521, allocations: 13.66 kB / 1.547 GB, free: 26.67 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002106/4.524, allocations: 1.487 MB / 1.549 GB, free: 26.62 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2151/4.739, allocations: 106.3 MB / 1.653 GB, free: 11.93 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.5309/5.27, allocations: 49.77 MB / 1.701 GB, free: 85.94 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01602/5.286, allocations: 9.473 MB / 1.711 GB, free: 85.8 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04661/5.332, allocations: 23.22 MB / 1.733 GB, free: 84.59 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001328/5.332, allocations: 133.2 kB / 1.733 GB, free: 84.55 MB / 0.573 GB Notification: Performance of pre-optimization done (n=892): time 1.331e-05/5.333, allocations: 0 / 1.733 GB, free: 84.55 MB / 0.573 GB Notification: Performance of matching and sorting (n=904): time 0.09772/5.43, allocations: 40.15 MB / 1.773 GB, free: 78.8 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001077/5.43, allocations: 173.5 kB / 1.773 GB, free: 78.7 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01244/5.443, allocations: 6.22 MB / 1.779 GB, free: 78.18 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.00196/5.445, allocations: 29.08 kB / 1.779 GB, free: 78.15 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.005013/5.45, allocations: 8.675 MB / 1.787 GB, free: 73.55 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.003752/5.454, allocations: 2.918 MB / 1.79 GB, free: 71.62 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001183/5.455, allocations: 0 / 1.79 GB, free: 71.62 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0006525/5.456, allocations: 0.7792 MB / 1.791 GB, free: 71.29 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008483/5.464, allocations: 6.098 MB / 1.797 GB, free: 71.27 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01218/5.476, allocations: 9.63 MB / 1.806 GB, free: 67.09 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02305/5.499, allocations: 10.79 MB / 1.817 GB, free: 64.51 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000241/5.5, allocations: 36.69 kB / 1.817 GB, free: 64.51 MB / 0.573 GB Notification: Performance of matching and sorting (n=1468) (initialization): time 0.04511/5.545, allocations: 21.68 MB / 1.838 GB, free: 57.49 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001865/5.545, allocations: 53.91 kB / 1.838 GB, free: 57.49 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002897/5.545, allocations: 115.6 kB / 1.838 GB, free: 57.49 MB / 0.573 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.002015/5.547, allocations: 0.7944 MB / 1.839 GB, free: 57.27 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01076/5.558, allocations: 2.448 MB / 1.841 GB, free: 57.19 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008974/5.567, allocations: 11.05 MB / 1.852 GB, free: 48.7 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01069/5.578, allocations: 470.4 kB / 1.853 GB, free: 48.69 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003232/5.581, allocations: 0.5125 MB / 1.853 GB, free: 48.6 MB / 0.573 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.004185/5.585, allocations: 436.2 kB / 1.853 GB, free: 48.38 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002693/5.588, allocations: 0.8349 MB / 1.854 GB, free: 47.94 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03648/5.624, allocations: 18.67 MB / 1.873 GB, free: 34.08 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.563e-05/5.625, allocations: 92 kB / 1.873 GB, free: 33.99 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.499e-05/5.625, allocations: 40 kB / 1.873 GB, free: 33.95 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001555/5.625, allocations: 47.39 kB / 1.873 GB, free: 33.95 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5218/6.147, allocations: 35.45 MB / 1.907 GB, free: 78.02 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.463e-05/6.147, allocations: 7.031 kB / 1.907 GB, free: 78.02 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007732/6.155, allocations: 1.491 MB / 1.909 GB, free: 78.02 MB / 0.573 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.002498/6.157, allocations: 0.8402 MB / 1.91 GB, free: 77.96 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00198/6.159, allocations: 76 kB / 1.91 GB, free: 77.96 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01298/6.172, allocations: 15.1 MB / 1.924 GB, free: 69.34 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.093e-05/6.172, allocations: 10.22 kB / 1.924 GB, free: 69.34 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05768/6.23, allocations: 27.8 MB / 1.952 GB, free: 66.8 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007378/6.237, allocations: 2.23 MB / 1.954 GB, free: 66.71 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003173/6.24, allocations: 25.2 kB / 1.954 GB, free: 66.71 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0085/6.249, allocations: 442.1 kB / 1.954 GB, free: 66.71 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00303/6.252, allocations: 0.7923 MB / 1.955 GB, free: 66.7 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001643/6.254, allocations: 256.5 kB / 1.955 GB, free: 66.7 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0114/6.265, allocations: 4.6 MB / 1.96 GB, free: 66.48 MB / 0.573 GB Notification: Performance of sort global known variables: time 3.91e-07/6.265, allocations: 0 / 1.96 GB, free: 66.48 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.01764/6.283, allocations: 3.141 MB / 1.963 GB, free: 66.48 MB / 0.573 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,(3,88.9%) 25,(1,100.0%) 8,(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.002732/6.286, allocations: 0.5986 MB / 1.963 GB, free: 66.39 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.02868/6.314, allocations: 15.59 MB / 1.979 GB, free: 65.47 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.55e-05/6.314, allocations: 6.438 kB / 1.979 GB, free: 65.47 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01577/6.33, allocations: 8.568 MB / 1.987 GB, free: 64.55 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01408/6.344, allocations: 1.764 MB / 1.989 GB, free: 64.52 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08055/6.425, allocations: 32.69 MB / 2.021 GB, free: 58.51 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02995/6.455, allocations: 13.46 MB / 2.034 GB, free: 56.76 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.01329/6.468, allocations: 3.905 MB / 2.038 GB, free: 56.43 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003564/6.472, allocations: 0.6174 MB / 2.038 GB, free: 56.39 MB / 0.573 GB Notification: Performance of SimCode: time 7.51e-07/6.472, allocations: 0 / 2.038 GB, free: 56.39 MB / 0.573 GB Notification: Performance of Templates: time 0.7737/7.245, allocations: 129.9 MB / 2.165 GB, free: 61.7 MB / 0.573 GB make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.makefile (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer -nls=newton -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches