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.001013/0.001013, allocations: 198.3 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.206/1.206, allocations: 227.2 MB / 245 MB, free: 7.602 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009004/0.0009004, allocations: 91.86 kB / 297.3 MB, free: 6.195 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002135/0.0002135, allocations: 8 kB / 357.9 MB, free: 9.543 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1923/0.1926, allocations: 51.49 MB / 409.4 MB, free: 26.74 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3044/0.497, allocations: 112.9 MB / 0.5101 GB, free: 45.69 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002536/0.4973, allocations: 90.66 kB / 0.5102 GB, free: 45.69 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2038/0.7012, allocations: 93.69 MB / 0.6017 GB, free: 14.66 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.7012, allocations: 0 / 0.6017 GB, free: 14.66 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0003401/0.7015, allocations: 91.94 kB / 0.6018 GB, free: 14.57 MB / 394.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.01014/0.7117, allocations: 3.986 MB / 0.6057 GB, free: 10.52 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.784e-05/0.7117, allocations: 8.031 kB / 0.6057 GB, free: 10.51 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001827/0.7136, allocations: 0.5492 MB / 0.6062 GB, free: 9.957 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004913/0.7185, allocations: 2.564 MB / 0.6087 GB, free: 7.344 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001762/0.7187, allocations: 263 kB / 0.609 GB, free: 7.086 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004864/0.7192, allocations: 347.9 kB / 0.6093 GB, free: 6.746 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007463/0.7266, allocations: 4.925 MB / 0.6141 GB, free: 1.668 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.423e-05/0.7267, allocations: 8 kB / 0.6141 GB, free: 1.66 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003286/0.7271, allocations: 156 kB / 0.6143 GB, free: 1.508 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001489/0.7272, allocations: 175.1 kB / 0.6144 GB, free: 1.336 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005972/0.7332, allocations: 4.057 MB / 0.6184 GB, free: 13.27 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02024/0.7534, allocations: 14.95 MB / 0.633 GB, free: 13.99 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004309/0.7578, allocations: 4.223 MB / 0.6371 GB, free: 9.461 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002861/0.7581, allocations: 147 kB / 0.6373 GB, free: 9.301 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.836e-05/0.7581, allocations: 56.56 kB / 0.6373 GB, free: 9.238 MB / 426.7 MB Notification: Performance of pre-optimization done (n=201): time 3.336e-06/0.7581, allocations: 0 / 0.6373 GB, free: 9.238 MB / 426.7 MB Notification: Performance of matching and sorting (n=221): time 0.01961/0.7778, allocations: 10.22 MB / 0.6473 GB, free: 14.89 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.575e-05/0.7778, allocations: 81.36 kB / 0.6474 GB, free: 14.8 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003213/0.7811, allocations: 2.209 MB / 0.6495 GB, free: 12.57 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001536/0.7812, allocations: 65.7 kB / 0.6496 GB, free: 12.5 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001087/0.7823, allocations: 1.6 MB / 0.6512 GB, free: 10.88 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005525/0.7829, allocations: 0.7355 MB / 0.6519 GB, free: 10.14 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001245/0.783, allocations: 55.88 kB / 0.6519 GB, free: 10.08 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001763/0.7832, allocations: 394.5 kB / 0.6523 GB, free: 9.691 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00186/0.7851, allocations: 1.304 MB / 0.6536 GB, free: 8.383 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002176/0.7872, allocations: 1.737 MB / 0.6553 GB, free: 6.48 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002146/0.7894, allocations: 1.552 MB / 0.6568 GB, free: 4.926 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.632e-06/0.7894, allocations: 4 kB / 0.6568 GB, free: 4.922 MB / 442.7 MB Notification: Performance of matching and sorting (n=291) (initialization): time 0.006338/0.7958, allocations: 4.056 MB / 0.6608 GB, free: 0.8398 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.08e-05/0.7958, allocations: 8 kB / 0.6608 GB, free: 0.832 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.685e-05/0.7958, allocations: 12 kB / 0.6608 GB, free: 0.8203 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001759/0.7976, allocations: 0.7619 MB / 0.6615 GB, free: 48 kB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002035/0.7996, allocations: 0.5227 MB / 0.662 GB, free: 15.52 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009385/0.809, allocations: 8.951 MB / 0.6708 GB, free: 6.168 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001959/0.811, allocations: 120 kB / 0.6709 GB, free: 6.051 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001951/0.8112, allocations: 88 kB / 0.671 GB, free: 5.965 MB / 458.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.002197/0.8134, allocations: 1.216 MB / 0.6722 GB, free: 4.742 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000524/0.814, allocations: 276.7 kB / 0.6724 GB, free: 4.469 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006238/0.8202, allocations: 3.777 MB / 0.6761 GB, free: 0.6602 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.732e-05/0.8202, allocations: 27.98 kB / 0.6761 GB, free: 0.6328 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.16e-05/0.8203, allocations: 8 kB / 0.6761 GB, free: 0.625 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.592e-05/0.8203, allocations: 7.969 kB / 0.6761 GB, free: 0.6172 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1901/1.01, allocations: 8.067 MB / 0.684 GB, free: 92.66 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.066e-05/1.01, allocations: 5.531 kB / 0.684 GB, free: 92.66 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00154/1.012, allocations: 399.8 kB / 0.6844 GB, free: 92.66 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001892/1.014, allocations: 0.7977 MB / 0.6852 GB, free: 92.62 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001445/1.014, allocations: 59.7 kB / 0.6852 GB, free: 92.62 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008606/1.023, allocations: 10.48 MB / 0.6955 GB, free: 87.48 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/1.023, allocations: 3.25 kB / 0.6955 GB, free: 87.48 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006972/1.03, allocations: 5.826 MB / 0.7012 GB, free: 86.84 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001517/1.031, allocations: 0.6462 MB / 0.7018 GB, free: 86.75 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003316/1.032, allocations: 49.64 kB / 0.7019 GB, free: 86.75 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001247/1.033, allocations: 130.1 kB / 0.702 GB, free: 86.75 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003489/1.033, allocations: 183 kB / 0.7022 GB, free: 86.74 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001304/1.033, allocations: 65.88 kB / 0.7022 GB, free: 86.74 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002174/1.035, allocations: 1.702 MB / 0.7039 GB, free: 86.6 MB / 458.7 MB Notification: Performance of sort global known variables: time 3.21e-07/1.035, allocations: 0 / 0.7039 GB, free: 86.6 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002295/1.038, allocations: 0.8368 MB / 0.7047 GB, free: 86.6 MB / 458.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.0006544/1.038, allocations: 390.2 kB / 0.7051 GB, free: 86.5 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.00499/1.043, allocations: 3.936 MB / 0.7089 GB, free: 85.89 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.589e-06/1.043, allocations: 0 / 0.7089 GB, free: 85.89 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003043/1.047, allocations: 2.509 MB / 0.7114 GB, free: 85.3 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002809/1.049, allocations: 0.7361 MB / 0.7121 GB, free: 85.29 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01018/1.06, allocations: 9.113 MB / 0.721 GB, free: 81.92 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001959/1.062, allocations: 2.845 MB / 0.7238 GB, free: 81.12 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.002019/1.064, allocations: 0.6772 MB / 0.7244 GB, free: 81.06 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005053/1.064, allocations: 177.9 kB / 0.7246 GB, free: 81.06 MB / 458.7 MB Notification: Performance of SimCode: time 9.51e-07/1.064, allocations: 0 / 0.7246 GB, free: 81.06 MB / 458.7 MB Notification: Performance of Templates: time 0.06168/1.126, allocations: 46.17 MB / 0.7697 GB, free: 70.65 MB / 458.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/jenkins/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