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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001538/0.001539, allocations: 198.4 kB / 8.54 MB, free: 1.832 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.231/1.231, allocations: 225.5 MB / 234.4 MB, free: 3.406 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008911/0.0008912, allocations: 85.83 kB / 286.3 MB, free: 5.27 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 6.232e-06/6.372e-06, allocations: 0 / 343.1 MB, free: 8.719 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08604/0.08606, allocations: 51.47 MB / 394.6 MB, free: 5.195 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2644/0.3505, allocations: 112.2 MB / 0.495 GB, free: 13.38 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000215/0.3508, allocations: 93.06 kB / 0.4951 GB, free: 13.33 MB / 378.7 MB Notification: Performance of FrontEnd: time 0.3968/0.7476, allocations: 92.92 MB / 0.5858 GB, free: 70.53 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0004041/0.748, allocations: 103.9 kB / 0.5859 GB, free: 70.52 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.01064/0.7587, allocations: 3.565 MB / 0.5894 GB, free: 69.32 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.839e-05/0.7588, allocations: 12.94 kB / 0.5894 GB, free: 69.32 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003104/0.7619, allocations: 0.5482 MB / 0.5899 GB, free: 69.09 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006621/0.7685, allocations: 2.569 MB / 0.5924 GB, free: 68.56 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001898/0.7687, allocations: 115.7 kB / 0.5925 GB, free: 68.56 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00117/0.7699, allocations: 214.3 kB / 0.5927 GB, free: 68.55 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007587/0.7775, allocations: 3.774 MB / 0.5964 GB, free: 68.54 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008623/0.7862, allocations: 4.397 MB / 0.6007 GB, free: 68.06 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.727e-05/0.7863, allocations: 6.531 kB / 0.6007 GB, free: 68.05 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003443/0.7867, allocations: 2.5 kB / 0.6007 GB, free: 68.05 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001257/0.7868, allocations: 180.8 kB / 0.6009 GB, free: 68.05 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0204/0.8072, allocations: 14.35 MB / 0.6149 GB, free: 65.02 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002126/0.8094, allocations: 1.64 MB / 0.6165 GB, free: 65 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002414/0.8118, allocations: 1.989 MB / 0.6185 GB, free: 64.97 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003274/0.8121, allocations: 146.8 kB / 0.6186 GB, free: 64.88 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.577e-05/0.8122, allocations: 64.11 kB / 0.6187 GB, free: 64.84 MB / 442.7 MB Notification: Performance of pre-optimization done (n=201): time 3.527e-06/0.8122, allocations: 0 / 0.6187 GB, free: 64.84 MB / 442.7 MB Notification: Performance of matching and sorting (n=221): time 0.01216/0.8244, allocations: 7.386 MB / 0.6259 GB, free: 61.98 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.185e-05/0.8244, allocations: 78.03 kB / 0.6259 GB, free: 61.92 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002391/0.8268, allocations: 1.77 MB / 0.6277 GB, free: 61.21 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001427/0.827, allocations: 27.8 kB / 0.6277 GB, free: 61.18 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005061/0.8275, allocations: 1.252 MB / 0.6289 GB, free: 60.29 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004275/0.8279, allocations: 0.7049 MB / 0.6296 GB, free: 59.73 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001129/0.828, allocations: 1.969 kB / 0.6296 GB, free: 59.73 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001155/0.8282, allocations: 399.3 kB / 0.63 GB, free: 59.39 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001406/0.8296, allocations: 1.252 MB / 0.6312 GB, free: 58.93 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001606/0.8312, allocations: 1.659 MB / 0.6328 GB, free: 57.99 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001784/0.833, allocations: 1.51 MB / 0.6343 GB, free: 57.46 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.514e-06/0.833, allocations: 3.875 kB / 0.6343 GB, free: 57.46 MB / 442.7 MB Notification: Performance of matching and sorting (n=291) (initialization): time 0.005561/0.8386, allocations: 3.786 MB / 0.638 GB, free: 56.17 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.545e-05/0.8386, allocations: 6.219 kB / 0.638 GB, free: 56.17 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.348e-05/0.8386, allocations: 15.25 kB / 0.638 GB, free: 56.16 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001899/0.8406, allocations: 0.7578 MB / 0.6388 GB, free: 55.94 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00231/0.8429, allocations: 0.5287 MB / 0.6393 GB, free: 55.92 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008347/0.8512, allocations: 8.076 MB / 0.6472 GB, free: 50.34 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002429/0.8537, allocations: 65.31 kB / 0.6472 GB, free: 50.33 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000464/0.8542, allocations: 84.47 kB / 0.6473 GB, free: 50.32 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,(2,100.0%) 26} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005581/0.8548, allocations: 152.4 kB / 0.6475 GB, free: 50.2 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009905/0.8558, allocations: 249 kB / 0.6477 GB, free: 50.07 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006539/0.8623, allocations: 3.544 MB / 0.6512 GB, free: 48.79 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.794e-05/0.8624, allocations: 27.81 kB / 0.6512 GB, free: 48.79 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.807e-05/0.8624, allocations: 7.594 kB / 0.6512 GB, free: 48.79 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.218e-05/0.8624, allocations: 9.703 kB / 0.6512 GB, free: 48.79 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01287/0.8753, allocations: 7.39 MB / 0.6584 GB, free: 45.96 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-05/0.8754, allocations: 3.094 kB / 0.6584 GB, free: 45.96 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001933/0.8773, allocations: 396.7 kB / 0.6588 GB, free: 45.95 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002321/0.8796, allocations: 0.7938 MB / 0.6596 GB, free: 45.71 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002211/0.8799, allocations: 26.69 kB / 0.6596 GB, free: 45.7 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008754/0.8886, allocations: 9.504 MB / 0.6689 GB, free: 38.84 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.881e-06/0.8887, allocations: 6.25 kB / 0.6689 GB, free: 38.84 MB / 442.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007285/0.896, allocations: 5.636 MB / 0.6744 GB, free: 36.38 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001572/0.8976, allocations: 0.6052 MB / 0.675 GB, free: 36.01 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005384/0.8981, allocations: 19.98 kB / 0.675 GB, free: 36.01 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001398/0.8995, allocations: 78.56 kB / 0.6751 GB, free: 36 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000291/0.8998, allocations: 145.5 kB / 0.6752 GB, free: 35.98 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001635/0.9, allocations: 62.92 kB / 0.6753 GB, free: 35.96 MB / 442.7 MB Notification: Performance of sort global known variables: time 0.001783/0.9018, allocations: 1.332 MB / 0.6766 GB, free: 35.41 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002548/0.9044, allocations: 0.7127 MB / 0.6773 GB, free: 35.39 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,(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.0006129/0.905, allocations: 372.1 kB / 0.6776 GB, free: 35.26 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004639/0.9096, allocations: 3.63 MB / 0.6812 GB, free: 33.66 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.019e-06/0.9097, allocations: 0 / 0.6812 GB, free: 33.66 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003001/0.9127, allocations: 2.29 MB / 0.6834 GB, free: 32.55 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002856/0.9155, allocations: 0.501 MB / 0.6839 GB, free: 32.42 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01132/0.9269, allocations: 6.448 MB / 0.6902 GB, free: 29.86 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002947/0.9299, allocations: 3 MB / 0.6931 GB, free: 28.7 MB / 442.7 MB Notification: Performance of SimCode: time 1.082e-06/0.9299, allocations: 0 / 0.6931 GB, free: 28.7 MB / 442.7 MB Notification: Performance of Templates: time 0.06136/0.9913, allocations: 37.9 MB / 0.7301 GB, free: 5.301 MB / 442.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