Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.Transformers.AIMC_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.|smee.is.1.|smee.is.2.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.2..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer") translateModel(Modelica.Electrical.Machines.Examples.Transformers.AIMC_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.|smee.is.1.|smee.is.2.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.2..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AIMC_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 3.2.3+maint.om/package.mo): time 0.0009809/0.000981, allocations: 183.2 kB / 8.481 MB, free: 1.883 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.123/1.123, allocations: 205.2 MB / 214.1 MB, free: 5.105 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009114/0.0009114, allocations: 83.67 kB / 262.1 MB, free: 5.145 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 7.674e-06/7.714e-06, allocations: 4 kB / 315 MB, free: 41.5 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08172/0.08174, allocations: 47.58 MB / 362.6 MB, free: 9.965 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2708/0.3526, allocations: 111 MB / 473.5 MB, free: 14.29 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002163/0.3529, allocations: 84.39 kB / 473.6 MB, free: 14.25 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.2322/0.5851, allocations: 92.47 MB / 0.5528 GB, free: 8.641 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003518/0.5855, allocations: 91.94 kB / 0.5529 GB, free: 8.551 MB / 410.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.009266/0.5948, allocations: 3.541 MB / 0.5564 GB, free: 4.949 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.289e-05/0.5948, allocations: 12.03 kB / 0.5564 GB, free: 4.938 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002422/0.5972, allocations: 0.5063 MB / 0.5569 GB, free: 4.426 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00612/0.6034, allocations: 2.572 MB / 0.5594 GB, free: 1.805 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001652/0.6036, allocations: 116 kB / 0.5595 GB, free: 1.691 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008951/0.6045, allocations: 215.8 kB / 0.5597 GB, free: 1.48 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.1626/0.7671, allocations: 3.79 MB / 0.5634 GB, free: 115.5 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006692/0.7738, allocations: 4.395 MB / 0.5677 GB, free: 115.1 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.621e-05/0.7739, allocations: 11.84 kB / 0.5677 GB, free: 115.1 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003033/0.7742, allocations: 3.906 kB / 0.5677 GB, free: 115.1 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001248/0.7744, allocations: 190.3 kB / 0.5679 GB, free: 115.1 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02189/0.7963, allocations: 14.36 MB / 0.5819 GB, free: 112.2 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002191/0.7985, allocations: 1.638 MB / 0.5835 GB, free: 112.2 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002344/0.8009, allocations: 1.989 MB / 0.5855 GB, free: 112.2 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003304/0.8012, allocations: 143.5 kB / 0.5856 GB, free: 112.1 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.189e-05/0.8013, allocations: 60.19 kB / 0.5857 GB, free: 112.1 MB / 410.7 MB Notification: Performance of pre-optimization done (n=201): time 4.218e-06/0.8013, allocations: 0 / 0.5857 GB, free: 112.1 MB / 410.7 MB Notification: Performance of matching and sorting (n=221): time 0.01294/0.8142, allocations: 7.376 MB / 0.5929 GB, free: 111.1 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.457e-05/0.8143, allocations: 75.16 kB / 0.5929 GB, free: 111 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002599/0.8169, allocations: 1.775 MB / 0.5947 GB, free: 110.8 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002152/0.8171, allocations: 32.86 kB / 0.5947 GB, free: 110.8 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006165/0.8178, allocations: 1.251 MB / 0.5959 GB, free: 110.3 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005453/0.8183, allocations: 0.7056 MB / 0.5966 GB, free: 109.8 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001173/0.8184, allocations: 0 / 0.5966 GB, free: 109.8 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001217/0.8186, allocations: 403.9 kB / 0.597 GB, free: 109.5 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001457/0.82, allocations: 1.248 MB / 0.5982 GB, free: 109.5 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001675/0.8217, allocations: 1.664 MB / 0.5998 GB, free: 109.1 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001718/0.8235, allocations: 1.502 MB / 0.6013 GB, free: 109.1 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.683e-06/0.8235, allocations: 3.844 kB / 0.6013 GB, free: 109.1 MB / 410.7 MB Notification: Performance of matching and sorting (n=291) (initialization): time 0.005437/0.8289, allocations: 3.783 MB / 0.605 GB, free: 108.8 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.222e-05/0.829, allocations: 13.5 kB / 0.605 GB, free: 108.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.943e-05/0.829, allocations: 11.12 kB / 0.605 GB, free: 108.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001839/0.8308, allocations: 0.7643 MB / 0.6058 GB, free: 108.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002223/0.8331, allocations: 0.5353 MB / 0.6063 GB, free: 108.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007849/0.8409, allocations: 8.055 MB / 0.6142 GB, free: 103.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002301/0.8433, allocations: 58.94 kB / 0.6142 GB, free: 103.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003024/0.8436, allocations: 85.31 kB / 0.6143 GB, free: 103.6 MB / 410.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.0005381/0.8441, allocations: 160 kB / 0.6144 GB, free: 103.5 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007328/0.8449, allocations: 242.1 kB / 0.6147 GB, free: 103.4 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006126/0.851, allocations: 3.552 MB / 0.6181 GB, free: 102.1 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.011e-05/0.8511, allocations: 22.62 kB / 0.6182 GB, free: 102.1 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.553e-05/0.8511, allocations: 7.375 kB / 0.6182 GB, free: 102.1 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.941e-05/0.8511, allocations: 10.92 kB / 0.6182 GB, free: 102.1 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01309/0.8642, allocations: 7.395 MB / 0.6254 GB, free: 99.32 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-05/0.8643, allocations: 10.66 kB / 0.6254 GB, free: 99.32 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001917/0.8662, allocations: 390.1 kB / 0.6258 GB, free: 99.31 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002216/0.8684, allocations: 0.8013 MB / 0.6266 GB, free: 99.09 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002444/0.8687, allocations: 29.52 kB / 0.6266 GB, free: 99.08 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009613/0.8783, allocations: 9.494 MB / 0.6359 GB, free: 92.27 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.304e-06/0.8784, allocations: 7.438 kB / 0.6359 GB, free: 92.27 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.008429/0.8868, allocations: 5.624 MB / 0.6414 GB, free: 89.83 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00168/0.8885, allocations: 0.6119 MB / 0.642 GB, free: 89.47 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008021/0.8894, allocations: 15.22 kB / 0.642 GB, free: 89.46 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001973/0.8913, allocations: 84.03 kB / 0.6421 GB, free: 89.46 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003698/0.8917, allocations: 142.3 kB / 0.6422 GB, free: 89.44 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002091/0.892, allocations: 61.59 kB / 0.6423 GB, free: 89.43 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.002606/0.8946, allocations: 1.343 MB / 0.6436 GB, free: 88.87 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003324/0.8979, allocations: 0.7036 MB / 0.6443 GB, free: 88.8 MB / 410.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.0007015/0.8986, allocations: 350.8 kB / 0.6446 GB, free: 88.56 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005098/0.9037, allocations: 3.643 MB / 0.6481 GB, free: 85.25 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.783e-06/0.9038, allocations: 7.031 kB / 0.6482 GB, free: 85.24 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003174/0.907, allocations: 2.298 MB / 0.6504 GB, free: 83.17 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002885/0.9099, allocations: 0.497 MB / 0.6509 GB, free: 82.79 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0124/0.9223, allocations: 6.448 MB / 0.6572 GB, free: 77.36 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003692/0.926, allocations: 2.993 MB / 0.6601 GB, free: 75.02 MB / 410.7 MB Notification: Performance of SimCode: time 5.91e-07/0.926, allocations: 0 / 0.6601 GB, free: 75.02 MB / 410.7 MB Notification: Performance of Templates: time 0.05975/0.9858, allocations: 37.96 MB / 0.6972 GB, free: 47.88 MB / 410.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/Transformers/AIMC_Transformer/AIMC_Transformer.csv","../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches