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.001088/0.001088, allocations: 197.2 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.262/1.262, allocations: 225.4 MB / 240.1 MB, free: 15.13 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008595/0.0008596, allocations: 89.86 kB / 292.1 MB, free: 5.957 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.764e-05/2.765e-05, allocations: 8 kB / 350.5 MB, free: 2.539 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08703/0.08707, allocations: 51.48 MB / 402 MB, free: 15 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3253/0.4124, allocations: 113 MB / 0.5029 GB, free: 8.902 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002459/0.4127, allocations: 85.95 kB / 0.503 GB, free: 8.859 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4563/0.869, allocations: 94.05 MB / 0.5949 GB, free: 59.82 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.754e-06/0.8691, allocations: 0 / 0.5949 GB, free: 59.82 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002651/0.8694, allocations: 100.6 kB / 0.595 GB, free: 59.81 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.007847/0.8772, allocations: 3.559 MB / 0.5984 GB, free: 58.5 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/0.8773, allocations: 9.969 kB / 0.5984 GB, free: 58.5 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002014/0.8793, allocations: 0.5418 MB / 0.599 GB, free: 58.27 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004629/0.8839, allocations: 2.548 MB / 0.6015 GB, free: 57.72 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001566/0.8841, allocations: 267 kB / 0.6017 GB, free: 57.71 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005707/0.8847, allocations: 353.7 kB / 0.602 GB, free: 57.71 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008216/0.8929, allocations: 4.826 MB / 0.6068 GB, free: 57.2 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.594e-05/0.893, allocations: 10.62 kB / 0.6068 GB, free: 57.2 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003625/0.8934, allocations: 151.9 kB / 0.6069 GB, free: 57.2 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002021/0.8936, allocations: 181.1 kB / 0.6071 GB, free: 57.19 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006409/0.9, allocations: 3.902 MB / 0.6109 GB, free: 57.15 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02265/0.9227, allocations: 14.95 MB / 0.6255 GB, free: 53.91 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003955/0.9267, allocations: 4.156 MB / 0.6296 GB, free: 52.16 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002121/0.9288, allocations: 1.827 MB / 0.6313 GB, free: 52.14 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002913/0.9291, allocations: 146.6 kB / 0.6315 GB, free: 52.04 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.579e-05/0.9292, allocations: 54 kB / 0.6315 GB, free: 52 MB / 442.7 MB Notification: Performance of pre-optimization done (n=201): time 3.967e-06/0.9292, allocations: 0 / 0.6315 GB, free: 52 MB / 442.7 MB Notification: Performance of matching and sorting (n=221): time 0.01494/0.9441, allocations: 8.35 MB / 0.6397 GB, free: 50.44 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.118e-05/0.9442, allocations: 74.69 kB / 0.6398 GB, free: 50.38 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002977/0.9472, allocations: 2.182 MB / 0.6419 GB, free: 49.53 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001634/0.9474, allocations: 65.42 kB / 0.6419 GB, free: 49.47 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008252/0.9482, allocations: 1.595 MB / 0.6435 GB, free: 48.25 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004108/0.9486, allocations: 0.7458 MB / 0.6442 GB, free: 47.67 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000117/0.9487, allocations: 47.25 kB / 0.6443 GB, free: 47.64 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001087/0.9488, allocations: 398 kB / 0.6447 GB, free: 47.29 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001459/0.9503, allocations: 1.237 MB / 0.6459 GB, free: 46.83 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0016/0.9519, allocations: 1.668 MB / 0.6475 GB, free: 45.88 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001706/0.9536, allocations: 1.491 MB / 0.649 GB, free: 45.32 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.783e-06/0.9536, allocations: 3.906 kB / 0.649 GB, free: 45.32 MB / 442.7 MB Notification: Performance of matching and sorting (n=291) (initialization): time 0.005367/0.959, allocations: 3.906 MB / 0.6528 GB, free: 43.85 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.629e-05/0.9591, allocations: 17.34 kB / 0.6528 GB, free: 43.84 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.727e-05/0.9591, allocations: 11.09 kB / 0.6528 GB, free: 43.84 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001646/0.9607, allocations: 0.7578 MB / 0.6535 GB, free: 43.61 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00189/0.9626, allocations: 0.5284 MB / 0.6541 GB, free: 43.56 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007554/0.9702, allocations: 8.715 MB / 0.6626 GB, free: 37.46 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001885/0.9721, allocations: 121.7 kB / 0.6627 GB, free: 37.42 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001675/0.9723, allocations: 85.09 kB / 0.6628 GB, free: 37.4 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,(3,88.9%) 25} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003585/0.9726, allocations: 239.9 kB / 0.663 GB, free: 37.19 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003771/0.973, allocations: 273.3 kB / 0.6633 GB, free: 37.05 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005496/0.9785, allocations: 3.641 MB / 0.6668 GB, free: 35.62 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.17e-05/0.9786, allocations: 23.25 kB / 0.6668 GB, free: 35.62 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.486e-06/0.9786, allocations: 11.5 kB / 0.6668 GB, free: 35.62 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.594e-05/0.9786, allocations: 11.44 kB / 0.6669 GB, free: 35.62 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01065/0.9893, allocations: 7.933 MB / 0.6746 GB, free: 32.48 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.744e-06/0.9893, allocations: 3.953 kB / 0.6746 GB, free: 32.47 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001586/0.9909, allocations: 399.3 kB / 0.675 GB, free: 32.44 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001863/0.9928, allocations: 0.8188 MB / 0.6758 GB, free: 32.2 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000139/0.9929, allocations: 60.53 kB / 0.6758 GB, free: 32.16 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008162/1.001, allocations: 10.2 MB / 0.6858 GB, free: 24.7 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/1.001, allocations: 3.188 kB / 0.6858 GB, free: 24.7 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006648/1.008, allocations: 5.61 MB / 0.6913 GB, free: 22.16 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001579/1.009, allocations: 0.6481 MB / 0.6919 GB, free: 21.76 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003327/1.01, allocations: 53.42 kB / 0.692 GB, free: 21.73 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001333/1.011, allocations: 127.3 kB / 0.6921 GB, free: 21.7 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003641/1.011, allocations: 182.3 kB / 0.6923 GB, free: 21.66 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000139/1.012, allocations: 63.28 kB / 0.6923 GB, free: 21.65 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002397/1.014, allocations: 1.677 MB / 0.694 GB, free: 20.5 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.4e-07/1.014, allocations: 0 / 0.694 GB, free: 20.5 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002183/1.016, allocations: 0.8359 MB / 0.6948 GB, free: 19.66 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.000516/1.017, allocations: 380.9 kB / 0.6951 GB, free: 19.36 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004426/1.021, allocations: 3.779 MB / 0.6988 GB, free: 15.88 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.109e-06/1.021, allocations: 4 kB / 0.6988 GB, free: 15.87 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002821/1.024, allocations: 2.441 MB / 0.7012 GB, free: 13.62 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002825/1.027, allocations: 0.7384 MB / 0.7019 GB, free: 13.05 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009286/1.036, allocations: 6.447 MB / 0.7082 GB, free: 7.359 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001918/1.038, allocations: 2.843 MB / 0.711 GB, free: 5.176 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001979/1.04, allocations: 0.6817 MB / 0.7117 GB, free: 4.695 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005319/1.041, allocations: 171.2 kB / 0.7118 GB, free: 4.535 MB / 442.7 MB Notification: Performance of SimCode: time 9.62e-07/1.041, allocations: 0 / 0.7118 GB, free: 4.535 MB / 442.7 MB Notification: Performance of Templates: time 0.3065/1.347, allocations: 46.72 MB / 0.7575 GB, free: 93.32 MB / 474.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