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.001482/0.001482, allocations: 195.5 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.293/1.293, allocations: 225.4 MB / 240.1 MB, free: 15.02 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001104/0.001104, allocations: 88.05 kB / 292.1 MB, free: 5.977 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.58e-05/2.582e-05, allocations: 7.984 kB / 350.5 MB, free: 2.496 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1091/0.1091, allocations: 51.49 MB / 402 MB, free: 14.96 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3229/0.4321, allocations: 112.9 MB / 0.5028 GB, free: 8.898 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000217/0.4323, allocations: 86.17 kB / 0.5029 GB, free: 8.855 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4192/0.8516, allocations: 93.91 MB / 0.5946 GB, free: 72.79 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.011e-06/0.8516, allocations: 0 / 0.5946 GB, free: 72.79 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002503/0.8519, allocations: 99.33 kB / 0.5947 GB, free: 72.78 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.007297/0.8592, allocations: 3.567 MB / 0.5982 GB, free: 71.48 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.713e-05/0.8592, allocations: 10.84 kB / 0.5982 GB, free: 71.48 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001736/0.861, allocations: 0.5412 MB / 0.5987 GB, free: 71.25 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004837/0.8658, allocations: 2.542 MB / 0.6012 GB, free: 70.7 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001611/0.866, allocations: 265.6 kB / 0.6015 GB, free: 70.69 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006125/0.8666, allocations: 351 kB / 0.6018 GB, free: 70.69 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008725/0.8753, allocations: 4.826 MB / 0.6065 GB, free: 70.18 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.74e-05/0.8755, allocations: 16.73 kB / 0.6065 GB, free: 70.18 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000388/0.8759, allocations: 149.9 kB / 0.6067 GB, free: 70.18 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002162/0.8761, allocations: 178.2 kB / 0.6069 GB, free: 70.17 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008561/0.8847, allocations: 3.904 MB / 0.6107 GB, free: 70.14 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02742/0.9122, allocations: 14.95 MB / 0.6253 GB, free: 66.82 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004297/0.9165, allocations: 4.15 MB / 0.6293 GB, free: 64 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002579/0.9191, allocations: 1.831 MB / 0.6311 GB, free: 63.37 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003474/0.9195, allocations: 143.5 kB / 0.6313 GB, free: 63.27 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.036e-05/0.9196, allocations: 60.03 kB / 0.6313 GB, free: 63.21 MB / 442.7 MB Notification: Performance of pre-optimization done (n=201): time 4.188e-06/0.9196, allocations: 0 / 0.6313 GB, free: 63.21 MB / 442.7 MB Notification: Performance of matching and sorting (n=221): time 0.01596/0.9355, allocations: 8.346 MB / 0.6395 GB, free: 60.04 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.677e-05/0.9356, allocations: 77.03 kB / 0.6395 GB, free: 59.97 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003729/0.9393, allocations: 2.191 MB / 0.6417 GB, free: 59.12 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002038/0.9396, allocations: 62.33 kB / 0.6417 GB, free: 59.07 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008072/0.9404, allocations: 1.597 MB / 0.6433 GB, free: 57.84 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004167/0.9408, allocations: 0.7413 MB / 0.644 GB, free: 57.27 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001275/0.9409, allocations: 43.72 kB / 0.6441 GB, free: 57.23 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001131/0.9411, allocations: 395.8 kB / 0.6444 GB, free: 56.89 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001481/0.9425, allocations: 1.234 MB / 0.6456 GB, free: 56.44 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001631/0.9442, allocations: 1.665 MB / 0.6473 GB, free: 55.49 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001709/0.9459, allocations: 1.49 MB / 0.6487 GB, free: 54.93 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.063e-06/0.9459, allocations: 3 kB / 0.6487 GB, free: 54.93 MB / 442.7 MB Notification: Performance of matching and sorting (n=291) (initialization): time 0.005346/0.9513, allocations: 3.914 MB / 0.6525 GB, free: 53.46 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.225e-05/0.9513, allocations: 15.48 kB / 0.6526 GB, free: 53.45 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.57e-05/0.9513, allocations: 10.22 kB / 0.6526 GB, free: 53.45 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001666/0.953, allocations: 0.7601 MB / 0.6533 GB, free: 53.21 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00194/0.9549, allocations: 0.5273 MB / 0.6538 GB, free: 53.17 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007541/0.9625, allocations: 8.71 MB / 0.6623 GB, free: 47.07 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002088/0.9646, allocations: 121.1 kB / 0.6624 GB, free: 47.03 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001859/0.9648, allocations: 89.02 kB / 0.6625 GB, free: 47.01 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.0003889/0.9652, allocations: 242.4 kB / 0.6628 GB, free: 46.8 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003883/0.9656, allocations: 275.6 kB / 0.663 GB, free: 46.66 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005338/0.971, allocations: 3.642 MB / 0.6666 GB, free: 45.23 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.555e-05/0.971, allocations: 22.56 kB / 0.6666 GB, free: 45.23 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.666e-06/0.971, allocations: 3.531 kB / 0.6666 GB, free: 45.23 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.727e-05/0.971, allocations: 16.98 kB / 0.6666 GB, free: 45.23 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01161/0.9826, allocations: 7.936 MB / 0.6744 GB, free: 42.08 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.428e-06/0.9827, allocations: 7.859 kB / 0.6744 GB, free: 42.08 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001646/0.9843, allocations: 398 kB / 0.6748 GB, free: 42.04 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001927/0.9863, allocations: 0.8059 MB / 0.6755 GB, free: 41.8 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001459/0.9864, allocations: 61.72 kB / 0.6756 GB, free: 41.77 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008341/0.9948, allocations: 10.21 MB / 0.6856 GB, free: 34.3 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.9948, allocations: 0 / 0.6856 GB, free: 34.3 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006904/1.002, allocations: 5.61 MB / 0.6911 GB, free: 31.77 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001454/1.003, allocations: 0.6445 MB / 0.6917 GB, free: 31.37 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003738/1.004, allocations: 51.94 kB / 0.6917 GB, free: 31.34 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001351/1.005, allocations: 124.7 kB / 0.6919 GB, free: 31.3 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003664/1.005, allocations: 186.5 kB / 0.692 GB, free: 31.27 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001393/1.005, allocations: 62.14 kB / 0.6921 GB, free: 31.26 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002107/1.008, allocations: 1.682 MB / 0.6937 GB, free: 30.59 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.8e-07/1.008, allocations: 0 / 0.6937 GB, free: 30.59 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002241/1.01, allocations: 0.8329 MB / 0.6946 GB, free: 29.97 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.0005481/1.01, allocations: 375.7 kB / 0.6949 GB, free: 29.67 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004556/1.015, allocations: 3.784 MB / 0.6986 GB, free: 26.18 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/1.015, allocations: 5.406 kB / 0.6986 GB, free: 26.18 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002951/1.018, allocations: 2.431 MB / 0.701 GB, free: 23.94 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003079/1.021, allocations: 0.7414 MB / 0.7017 GB, free: 23.37 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009178/1.03, allocations: 6.458 MB / 0.708 GB, free: 17.67 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002078/1.032, allocations: 2.842 MB / 0.7108 GB, free: 15.48 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.002036/1.034, allocations: 0.6782 MB / 0.7115 GB, free: 15.01 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005393/1.035, allocations: 182.6 kB / 0.7116 GB, free: 14.84 MB / 442.7 MB Notification: Performance of SimCode: time 7.92e-07/1.035, allocations: 0 / 0.7116 GB, free: 14.84 MB / 442.7 MB Notification: Performance of Templates: time 0.2703/1.305, allocations: 46.62 MB / 0.7572 GB, free: 76.97 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