Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.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.Electrical.Machines.Examples.InductionMachines.IMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.2..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.2..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001093/0.001093, allocations: 200.7 kB / 18.11 MB, free: 3.715 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.306/1.306, allocations: 226.5 MB / 245.4 MB, free: 6.473 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008205/0.0008205, allocations: 99.84 kB / 297.5 MB, free: 6.672 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003756/0.0003757, allocations: 4 kB / 358.1 MB, free: 10.05 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3039/0.3044, allocations: 51.29 MB / 409.4 MB, free: 27.6 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3321/0.6365, allocations: 113 MB / 0.5101 GB, free: 98.15 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003262/0.6369, allocations: 86.83 kB / 0.5102 GB, free: 98.15 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2006/0.8375, allocations: 93.65 MB / 0.6017 GB, free: 10.14 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.555e-06/0.8376, allocations: 0 / 0.6017 GB, free: 10.14 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002726/0.8379, allocations: 99.86 kB / 0.6018 GB, free: 10.04 MB / 378.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.009198/0.8471, allocations: 3.937 MB / 0.6056 GB, free: 6.035 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/0.8471, allocations: 12.03 kB / 0.6056 GB, free: 6.023 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002027/0.8492, allocations: 0.5502 MB / 0.6062 GB, free: 5.469 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004739/0.8539, allocations: 2.637 MB / 0.6087 GB, free: 2.781 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001516/0.8541, allocations: 263.4 kB / 0.609 GB, free: 2.523 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000593/0.8547, allocations: 356.2 kB / 0.6093 GB, free: 2.176 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008966/0.8637, allocations: 4.96 MB / 0.6142 GB, free: 13.06 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.292e-05/0.8638, allocations: 4.188 kB / 0.6142 GB, free: 13.06 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003939/0.8642, allocations: 151.9 kB / 0.6143 GB, free: 12.91 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001874/0.8644, allocations: 175.1 kB / 0.6145 GB, free: 12.74 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007741/0.8721, allocations: 4.057 MB / 0.6185 GB, free: 8.676 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02651/0.8987, allocations: 14.96 MB / 0.6331 GB, free: 9.395 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004595/0.9033, allocations: 4.227 MB / 0.6372 GB, free: 4.863 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002818/0.9062, allocations: 1.891 MB / 0.639 GB, free: 2.973 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003276/0.9065, allocations: 147 kB / 0.6392 GB, free: 2.812 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.557e-05/0.9066, allocations: 56.5 kB / 0.6392 GB, free: 2.746 MB / 410.7 MB Notification: Performance of pre-optimization done (n=201): time 4.388e-06/0.9066, allocations: 4 kB / 0.6392 GB, free: 2.742 MB / 410.7 MB Notification: Performance of matching and sorting (n=221): time 0.02014/0.9267, allocations: 10.15 MB / 0.6491 GB, free: 8.461 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.709e-05/0.9268, allocations: 73.41 kB / 0.6492 GB, free: 8.379 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003812/0.9306, allocations: 2.479 MB / 0.6516 GB, free: 5.879 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002776/0.9309, allocations: 65.7 kB / 0.6517 GB, free: 5.809 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001161/0.9321, allocations: 1.604 MB / 0.6533 GB, free: 4.184 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007419/0.9328, allocations: 0.7393 MB / 0.654 GB, free: 3.434 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001384/0.933, allocations: 48 kB / 0.654 GB, free: 3.387 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001867/0.9332, allocations: 402.5 kB / 0.6544 GB, free: 2.988 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001962/0.9352, allocations: 1.289 MB / 0.6557 GB, free: 1.695 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002241/0.9374, allocations: 1.733 MB / 0.6574 GB, free: 15.79 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004366/0.9418, allocations: 3.155 MB / 0.6604 GB, free: 12.48 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.979e-06/0.9418, allocations: 7.938 kB / 0.6605 GB, free: 12.47 MB / 442.7 MB Notification: Performance of matching and sorting (n=291) (initialization): time 0.006809/0.9486, allocations: 4.024 MB / 0.6644 GB, free: 8.418 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.803e-05/0.9487, allocations: 12 kB / 0.6644 GB, free: 8.406 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.099e-05/0.9487, allocations: 12 kB / 0.6644 GB, free: 8.395 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001801/0.9505, allocations: 0.7545 MB / 0.6651 GB, free: 7.625 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00205/0.9526, allocations: 0.5305 MB / 0.6657 GB, free: 7.094 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.219/1.172, allocations: 8.734 MB / 0.6742 GB, free: 81.63 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002387/1.174, allocations: 120.4 kB / 0.6743 GB, free: 81.63 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003757/1.174, allocations: 88.52 kB / 0.6744 GB, free: 81.63 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 () * Number of clocked 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,(3,88.9%) 25} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002292/1.177, allocations: 1.218 MB / 0.6756 GB, free: 81.51 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005988/1.177, allocations: 271.4 kB / 0.6758 GB, free: 81.51 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005186/1.183, allocations: 3.749 MB / 0.6795 GB, free: 81.36 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.36e-05/1.183, allocations: 21.91 kB / 0.6795 GB, free: 81.36 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.041e-05/1.183, allocations: 9.281 kB / 0.6795 GB, free: 81.36 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.77e-05/1.183, allocations: 14.56 kB / 0.6795 GB, free: 81.36 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01163/1.194, allocations: 8.06 MB / 0.6874 GB, free: 80.75 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.757e-06/1.194, allocations: 3.938 kB / 0.6874 GB, free: 80.75 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001465/1.196, allocations: 398.2 kB / 0.6878 GB, free: 80.75 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001836/1.198, allocations: 0.7962 MB / 0.6886 GB, free: 80.71 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001575/1.198, allocations: 54.69 kB / 0.6886 GB, free: 80.71 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008589/1.206, allocations: 10.25 MB / 0.6986 GB, free: 75.56 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.144e-06/1.206, allocations: 6.188 kB / 0.6986 GB, free: 75.56 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007342/1.214, allocations: 5.57 MB / 0.7041 GB, free: 75.18 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001303/1.215, allocations: 0.6386 MB / 0.7047 GB, free: 75.09 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003724/1.215, allocations: 55.22 kB / 0.7048 GB, free: 75.09 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001254/1.217, allocations: 131.4 kB / 0.7049 GB, free: 75.09 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003877/1.217, allocations: 179.7 kB / 0.7051 GB, free: 75.08 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001323/1.217, allocations: 64.14 kB / 0.7051 GB, free: 75.08 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002451/1.22, allocations: 1.712 MB / 0.7068 GB, free: 74.94 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.41e-07/1.22, allocations: 0 / 0.7068 GB, free: 74.94 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002762/1.222, allocations: 0.8359 MB / 0.7076 GB, free: 74.93 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 () * Number of clocked 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,(2,100.0%) 26,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006394/1.223, allocations: 384.2 kB / 0.708 GB, free: 74.84 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004999/1.228, allocations: 3.9 MB / 0.7118 GB, free: 74.23 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.841e-06/1.228, allocations: 0 / 0.7118 GB, free: 74.23 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003182/1.231, allocations: 2.498 MB / 0.7142 GB, free: 73.54 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004432/1.236, allocations: 0.7602 MB / 0.715 GB, free: 73.34 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01098/1.247, allocations: 9.082 MB / 0.7238 GB, free: 68.85 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002083/1.249, allocations: 2.78 MB / 0.7265 GB, free: 67.71 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.002452/1.251, allocations: 0.6744 MB / 0.7272 GB, free: 67.65 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005517/1.252, allocations: 176.4 kB / 0.7274 GB, free: 67.65 MB / 442.7 MB Notification: Performance of SimCode: time 1.643e-06/1.252, allocations: 4 kB / 0.7274 GB, free: 67.64 MB / 442.7 MB Notification: Performance of Templates: time 0.0639/1.316, allocations: 46.79 MB / 0.7731 GB, free: 48.97 MB / 442.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.makefile (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Transformer/IMC_Transformer.csv","../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches