Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.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.Electrical.Machines.Examples.Transformers.IMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|// aimc.i_0_s|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|aimc.is.1.|aimc.is.2.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.2..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer") translateModel(Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|// aimc.i_0_s|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|aimc.is.1.|aimc.is.2.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.2..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001091/0.001091, allocations: 198.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.496/1.496, allocations: 225.6 MB / 234.8 MB, free: 3.273 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001009/0.001009, allocations: 98.44 kB / 286.7 MB, free: 5.254 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.733e-05/1.738e-05, allocations: 8 kB / 343.7 MB, free: 8.281 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09151/0.09154, allocations: 51.47 MB / 395.2 MB, free: 4.77 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3623/0.4539, allocations: 112.3 MB / 0.4956 GB, free: 13.21 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003695/0.4543, allocations: 87.83 kB / 0.4957 GB, free: 13.17 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5461/1, allocations: 92.87 MB / 0.5864 GB, free: 68.89 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.813e-06/1.001, allocations: 1.688 kB / 0.5864 GB, free: 68.89 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002504/1.001, allocations: 102.9 kB / 0.5865 GB, free: 68.88 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 934 * Number of variables: 934 Notification: Performance of Generate backend data structure: time 0.007317/1.008, allocations: 3.562 MB / 0.5899 GB, free: 67.68 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/1.008, allocations: 9.438 kB / 0.5899 GB, free: 67.68 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001892/1.01, allocations: 0.544 MB / 0.5905 GB, free: 67.46 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004225/1.014, allocations: 2.54 MB / 0.593 GB, free: 66.93 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001059/1.014, allocations: 116.9 kB / 0.5931 GB, free: 66.93 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004985/1.015, allocations: 216.1 kB / 0.5933 GB, free: 66.93 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005547/1.02, allocations: 3.694 MB / 0.5969 GB, free: 66.91 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006305/1.027, allocations: 4.31 MB / 0.6011 GB, free: 66.43 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-05/1.027, allocations: 14.44 kB / 0.6011 GB, free: 66.43 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002955/1.027, allocations: 5.719 kB / 0.6011 GB, free: 66.43 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000133/1.027, allocations: 178.7 kB / 0.6013 GB, free: 66.42 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02087/1.048, allocations: 14.21 MB / 0.6152 GB, free: 63.39 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00387/1.052, allocations: 4.071 MB / 0.6191 GB, free: 61.66 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002534/1.055, allocations: 1.754 MB / 0.6208 GB, free: 61.64 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003683/1.055, allocations: 147.4 kB / 0.621 GB, free: 61.54 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.588e-05/1.055, allocations: 59.56 kB / 0.621 GB, free: 61.5 MB / 442.7 MB Notification: Performance of pre-optimization done (n=201): time 3.838e-06/1.055, allocations: 0 / 0.621 GB, free: 61.5 MB / 442.7 MB Notification: Performance of matching and sorting (n=221): time 0.01441/1.07, allocations: 7.198 MB / 0.6281 GB, free: 59.6 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.417e-05/1.07, allocations: 86.12 kB / 0.6282 GB, free: 59.53 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003375/1.073, allocations: 1.743 MB / 0.6299 GB, free: 58.82 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000348/1.073, allocations: 25.7 kB / 0.6299 GB, free: 58.79 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000942/1.074, allocations: 1.61 MB / 0.6315 GB, free: 57.56 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006224/1.075, allocations: 0.7042 MB / 0.6321 GB, free: 57 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001212/1.075, allocations: 0.9688 kB / 0.6321 GB, free: 57 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001376/1.075, allocations: 397.5 kB / 0.6325 GB, free: 56.66 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00164/1.077, allocations: 1.191 MB / 0.6337 GB, free: 56.21 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001499/1.078, allocations: 1.608 MB / 0.6353 GB, free: 55.27 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001671/1.08, allocations: 1.438 MB / 0.6367 GB, free: 54.72 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.353e-06/1.08, allocations: 3.844 kB / 0.6367 GB, free: 54.72 MB / 442.7 MB Notification: Performance of matching and sorting (n=291) (initialization): time 0.004891/1.085, allocations: 3.66 MB / 0.6402 GB, free: 53.43 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.25e-05/1.085, allocations: 13.7 kB / 0.6402 GB, free: 53.43 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.654e-05/1.085, allocations: 15.5 kB / 0.6403 GB, free: 53.42 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001666/1.087, allocations: 0.7486 MB / 0.641 GB, free: 53.19 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001947/1.089, allocations: 0.5318 MB / 0.6415 GB, free: 53.16 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007346/1.096, allocations: 8.343 MB / 0.6497 GB, free: 47.35 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002223/1.098, allocations: 68.88 kB / 0.6497 GB, free: 47.35 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001846/1.099, allocations: 85.73 kB / 0.6498 GB, free: 47.33 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * Number of states: 0 () * Number of discrete variables: 6 (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 initialization (248): * Single equations (assignments): 243 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 12,(1,100.0%) 1,(2,100.0%) 26} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000419/1.099, allocations: 155.7 kB / 0.65 GB, free: 47.21 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004609/1.099, allocations: 254.2 kB / 0.6502 GB, free: 47.08 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005002/1.104, allocations: 3.412 MB / 0.6535 GB, free: 45.81 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.457e-05/1.104, allocations: 22.84 kB / 0.6536 GB, free: 45.81 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.467e-06/1.104, allocations: 8.062 kB / 0.6536 GB, free: 45.81 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.95e-05/1.105, allocations: 13.97 kB / 0.6536 GB, free: 45.81 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01066/1.115, allocations: 7.295 MB / 0.6607 GB, free: 42.96 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.869e-06/1.115, allocations: 6.188 kB / 0.6607 GB, free: 42.96 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001623/1.117, allocations: 397 kB / 0.6611 GB, free: 42.93 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001914/1.119, allocations: 0.8002 MB / 0.6619 GB, free: 42.69 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001437/1.119, allocations: 21.69 kB / 0.6619 GB, free: 42.69 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007778/1.127, allocations: 9.809 MB / 0.6715 GB, free: 35.55 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.167e-06/1.127, allocations: 7.75 kB / 0.6715 GB, free: 35.55 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00608/1.133, allocations: 5.392 MB / 0.6767 GB, free: 33.08 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001087/1.134, allocations: 0.5943 MB / 0.6773 GB, free: 32.73 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003279/1.134, allocations: 14.2 kB / 0.6773 GB, free: 32.72 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001196/1.135, allocations: 92.36 kB / 0.6774 GB, free: 32.72 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003078/1.136, allocations: 179 kB / 0.6776 GB, free: 32.69 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001271/1.136, allocations: 64.38 kB / 0.6777 GB, free: 32.67 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001553/1.138, allocations: 1.319 MB / 0.6789 GB, free: 32.11 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.11e-07/1.138, allocations: 3.938 kB / 0.6789 GB, free: 32.11 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002108/1.14, allocations: 0.7198 MB / 0.6796 GB, free: 32.1 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 9 (aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],transformer.l1sigma.inductor[2].i,transformer.l1sigma.inductor[3].i,loadInertia.w,quadraticLoadTorque.phi) * Number of discrete variables: 6 (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 (178): * Single equations (assignments): 173 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 12,(1,100.0%) 1,(3,88.9%) 25,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004919/1.14, allocations: 354.6 kB / 0.68 GB, free: 31.94 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004033/1.144, allocations: 3.618 MB / 0.6835 GB, free: 30.28 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/1.144, allocations: 3.938 kB / 0.6835 GB, free: 30.28 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002628/1.147, allocations: 2.346 MB / 0.6858 GB, free: 29.09 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002284/1.149, allocations: 0.5291 MB / 0.6863 GB, free: 28.95 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008717/1.158, allocations: 6.276 MB / 0.6925 GB, free: 26.36 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001904/1.16, allocations: 2.842 MB / 0.6952 GB, free: 25.22 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001786/1.162, allocations: 0.6389 MB / 0.6959 GB, free: 25.16 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004814/1.162, allocations: 153 kB / 0.696 GB, free: 25.16 MB / 442.7 MB Notification: Performance of SimCode: time 7.42e-07/1.162, allocations: 3.938 kB / 0.696 GB, free: 25.15 MB / 442.7 MB Notification: Performance of Templates: time 0.05042/1.212, allocations: 35.63 MB / 0.7308 GB, free: 4.332 MB / 442.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.makefile (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/Transformers/IMC_Transformer/IMC_Transformer.csv","../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches