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.001231/0.001231, allocations: 198.7 kB / 17.08 MB, free: 5.039 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.253/1.253, allocations: 227.2 MB / 245 MB, free: 5.922 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00103/0.00103, allocations: 106 kB / 297.3 MB, free: 5.984 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002418/0.0002418, allocations: 7.938 kB / 357.9 MB, free: 9.336 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.214/0.2142, allocations: 51.48 MB / 409.4 MB, free: 26.73 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2918/0.5061, allocations: 113 MB / 0.5102 GB, free: 45.84 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002668/0.5065, allocations: 95.03 kB / 0.5103 GB, free: 45.84 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1981/0.7046, allocations: 93.83 MB / 0.6019 GB, free: 14.44 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.884e-06/0.7046, allocations: 0 / 0.6019 GB, free: 14.44 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0003458/0.7049, allocations: 103.9 kB / 0.602 GB, free: 14.34 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.01212/0.7171, allocations: 3.982 MB / 0.6059 GB, free: 10.29 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.326e-05/0.7172, allocations: 12.03 kB / 0.6059 GB, free: 10.28 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002817/0.72, allocations: 0.5414 MB / 0.6064 GB, free: 9.73 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006715/0.7267, allocations: 2.556 MB / 0.6089 GB, free: 7.125 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002597/0.727, allocations: 267 kB / 0.6092 GB, free: 6.863 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001071/0.7281, allocations: 351.9 kB / 0.6095 GB, free: 6.52 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009141/0.7372, allocations: 4.929 MB / 0.6143 GB, free: 1.438 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.858e-05/0.7373, allocations: 4 kB / 0.6143 GB, free: 1.434 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003452/0.7377, allocations: 148 kB / 0.6145 GB, free: 1.289 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001597/0.7378, allocations: 175.1 kB / 0.6147 GB, free: 1.117 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006406/0.7443, allocations: 4.061 MB / 0.6186 GB, free: 13.05 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02497/0.7692, allocations: 14.94 MB / 0.6332 GB, free: 13.78 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004542/0.7738, allocations: 4.23 MB / 0.6373 GB, free: 9.238 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003498/0.7742, allocations: 147.1 kB / 0.6375 GB, free: 9.078 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.172e-05/0.7743, allocations: 56.55 kB / 0.6375 GB, free: 9.016 MB / 426.7 MB Notification: Performance of pre-optimization done (n=201): time 4.178e-06/0.7743, allocations: 0 / 0.6375 GB, free: 9.016 MB / 426.7 MB Notification: Performance of matching and sorting (n=221): time 0.0191/0.7934, allocations: 10.22 MB / 0.6475 GB, free: 14.67 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.5e-05/0.7935, allocations: 73.41 kB / 0.6476 GB, free: 14.58 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00313/0.7966, allocations: 2.213 MB / 0.6498 GB, free: 12.35 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001813/0.7968, allocations: 61.7 kB / 0.6498 GB, free: 12.29 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001055/0.7979, allocations: 1.604 MB / 0.6514 GB, free: 10.66 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005795/0.7985, allocations: 0.7394 MB / 0.6521 GB, free: 9.91 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001264/0.7986, allocations: 44 kB / 0.6521 GB, free: 9.867 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001656/0.7988, allocations: 402.5 kB / 0.6525 GB, free: 9.469 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001842/0.8006, allocations: 1.308 MB / 0.6538 GB, free: 8.156 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00208/0.8027, allocations: 1.741 MB / 0.6555 GB, free: 6.25 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002072/0.8048, allocations: 1.548 MB / 0.657 GB, free: 4.699 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.565e-06/0.8048, allocations: 4 kB / 0.657 GB, free: 4.695 MB / 442.7 MB Notification: Performance of matching and sorting (n=291) (initialization): time 0.006139/0.8109, allocations: 4.056 MB / 0.661 GB, free: 0.6133 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.499e-05/0.811, allocations: 12 kB / 0.661 GB, free: 0.6016 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.762e-05/0.811, allocations: 12 kB / 0.661 GB, free: 0.5898 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001777/0.8128, allocations: 0.7543 MB / 0.6617 GB, free: 15.82 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002013/0.8148, allocations: 0.5266 MB / 0.6623 GB, free: 15.29 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00917/0.824, allocations: 8.951 MB / 0.671 GB, free: 5.941 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002184/0.8262, allocations: 124 kB / 0.6711 GB, free: 5.82 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000207/0.8264, allocations: 88 kB / 0.6712 GB, free: 5.734 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.002214/0.8287, allocations: 1.222 MB / 0.6724 GB, free: 4.508 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005652/0.8292, allocations: 272.7 kB / 0.6726 GB, free: 4.238 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005824/0.8351, allocations: 3.777 MB / 0.6763 GB, free: 440 kB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.611e-05/0.8351, allocations: 20 kB / 0.6764 GB, free: 420 kB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.063e-05/0.8351, allocations: 8 kB / 0.6764 GB, free: 412 kB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.817e-05/0.8351, allocations: 11.95 kB / 0.6764 GB, free: 400 kB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2094/1.045, allocations: 8.071 MB / 0.6843 GB, free: 92.85 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.187e-06/1.045, allocations: 3.344 kB / 0.6843 GB, free: 92.85 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00157/1.046, allocations: 391.7 kB / 0.6846 GB, free: 92.85 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001905/1.048, allocations: 0.801 MB / 0.6854 GB, free: 92.81 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001478/1.048, allocations: 62.23 kB / 0.6855 GB, free: 92.81 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008856/1.057, allocations: 10.47 MB / 0.6957 GB, free: 87.66 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.969e-06/1.057, allocations: 4.406 kB / 0.6957 GB, free: 87.66 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007953/1.065, allocations: 5.828 MB / 0.7014 GB, free: 87.02 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00191/1.067, allocations: 0.6461 MB / 0.702 GB, free: 86.93 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005586/1.068, allocations: 49.14 kB / 0.7021 GB, free: 86.93 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001439/1.069, allocations: 129.6 kB / 0.7022 GB, free: 86.93 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004058/1.069, allocations: 182.7 kB / 0.7024 GB, free: 86.93 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001344/1.07, allocations: 65.5 kB / 0.7024 GB, free: 86.93 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002268/1.072, allocations: 1.704 MB / 0.7041 GB, free: 86.78 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.91e-07/1.072, allocations: 0 / 0.7041 GB, free: 86.78 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.00247/1.074, allocations: 0.8374 MB / 0.7049 GB, free: 86.78 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.0005876/1.075, allocations: 388.5 kB / 0.7053 GB, free: 86.68 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.004984/1.08, allocations: 3.935 MB / 0.7091 GB, free: 86.07 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/1.08, allocations: 3.5 kB / 0.7091 GB, free: 86.07 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003086/1.083, allocations: 2.508 MB / 0.7116 GB, free: 85.49 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002984/1.086, allocations: 0.7318 MB / 0.7123 GB, free: 85.47 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01026/1.096, allocations: 9.114 MB / 0.7212 GB, free: 82.11 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001961/1.098, allocations: 2.846 MB / 0.724 GB, free: 81.3 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.002086/1.1, allocations: 0.6835 MB / 0.7246 GB, free: 81.24 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005151/1.101, allocations: 173.3 kB / 0.7248 GB, free: 81.24 MB / 458.7 MB Notification: Performance of SimCode: time 1.152e-06/1.101, allocations: 0 / 0.7248 GB, free: 81.24 MB / 458.7 MB Notification: Performance of Templates: time 0.0609/1.162, allocations: 46.17 MB / 0.7699 GB, free: 70.55 MB / 458.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