Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.001646/0.001645, allocations: 173.7 kB / 8.147 MB, free: 2.684 MB / 6.207 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.73/1.73, allocations: 205.2 MB / 213.7 MB, free: 2.145 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001268/0.001267, allocations: 89.42 kB / 261.8 MB, free: 1.469 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 1.078e-05/1.083e-05, allocations: 0 / 314.3 MB, free: 12.89 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1434/0.1434, allocations: 47.57 MB / 361.9 MB, free: 13.2 MB / 318.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3444/0.4879, allocations: 111 MB / 472.8 MB, free: 3.82 MB / 350.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003407/0.4883, allocations: 93.19 kB / 472.9 MB, free: 3.73 MB / 350.1 MB Notification: Performance of FrontEnd: time 0.552/1.04, allocations: 92.44 MB / 0.5521 GB, free: 89.54 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0005023/1.041, allocations: 98.69 kB / 0.5522 GB, free: 89.53 MB / 414.1 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.01534/1.056, allocations: 3.545 MB / 0.5557 GB, free: 88.11 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.27e-05/1.056, allocations: 11 kB / 0.5557 GB, free: 88.11 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003753/1.06, allocations: 0.5083 MB / 0.5562 GB, free: 87.88 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009995/1.07, allocations: 2.574 MB / 0.5587 GB, free: 87.32 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002556/1.07, allocations: 116.3 kB / 0.5588 GB, free: 87.32 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001533/1.072, allocations: 213 kB / 0.559 GB, free: 87.32 MB / 414.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.014/1.086, allocations: 3.794 MB / 0.5627 GB, free: 87.3 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01746/1.104, allocations: 4.399 MB / 0.567 GB, free: 86.8 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001924/1.104, allocations: 10.8 kB / 0.567 GB, free: 86.8 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001134/1.105, allocations: 5.812 kB / 0.567 GB, free: 86.8 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002187/1.105, allocations: 181.9 kB / 0.5672 GB, free: 86.79 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04442/1.15, allocations: 14.36 MB / 0.5812 GB, free: 81.09 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004368/1.154, allocations: 1.638 MB / 0.5828 GB, free: 80.48 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005938/1.16, allocations: 1.987 MB / 0.5848 GB, free: 79.84 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000542/1.161, allocations: 148.6 kB / 0.5849 GB, free: 79.74 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.033e-05/1.161, allocations: 52.19 kB / 0.585 GB, free: 79.69 MB / 414.1 MB Notification: Performance of pre-optimization done (n=201): time 5.049e-06/1.161, allocations: 0 / 0.585 GB, free: 79.69 MB / 414.1 MB Notification: Performance of matching and sorting (n=221): time 0.0282/1.189, allocations: 7.384 MB / 0.5922 GB, free: 76.72 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.818e-05/1.189, allocations: 81.36 kB / 0.5923 GB, free: 76.65 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005506/1.195, allocations: 1.774 MB / 0.594 GB, free: 75.94 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005591/1.195, allocations: 25.7 kB / 0.594 GB, free: 75.91 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006656/1.196, allocations: 1.162 MB / 0.5951 GB, free: 75.02 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001034/1.197, allocations: 0.7111 MB / 0.5958 GB, free: 74.45 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002203/1.197, allocations: 0 / 0.5958 GB, free: 74.45 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000199/1.197, allocations: 399.7 kB / 0.5962 GB, free: 74.11 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003484/1.201, allocations: 1.249 MB / 0.5974 GB, free: 73.64 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004354/1.205, allocations: 1.661 MB / 0.5991 GB, free: 72.69 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004601/1.21, allocations: 1.511 MB / 0.6005 GB, free: 72.12 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.137e-05/1.21, allocations: 2.719 kB / 0.6005 GB, free: 72.12 MB / 414.1 MB Notification: Performance of matching and sorting (n=291) (initialization): time 0.01213/1.222, allocations: 3.647 MB / 0.6041 GB, free: 70.84 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.792e-05/1.222, allocations: 5.469 kB / 0.6041 GB, free: 70.84 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.406e-05/1.222, allocations: 11.34 kB / 0.6041 GB, free: 70.84 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003079/1.225, allocations: 0.7201 MB / 0.6048 GB, free: 70.6 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005062/1.231, allocations: 0.5247 MB / 0.6053 GB, free: 70.55 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01491/1.246, allocations: 8.093 MB / 0.6132 GB, free: 63.55 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002375/1.248, allocations: 55.23 kB / 0.6133 GB, free: 63.51 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004413/1.248, allocations: 91.84 kB / 0.6134 GB, free: 63.42 MB / 414.1 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 {(6,55.6%) 8,(1,100.0%) 1,(7,42.9%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006302/1.249, allocations: 82.17 kB / 0.6135 GB, free: 63.34 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001014/1.25, allocations: 241.1 kB / 0.6137 GB, free: 63.1 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0104/1.261, allocations: 3.54 MB / 0.6171 GB, free: 60.14 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.612e-05/1.261, allocations: 20 kB / 0.6172 GB, free: 60.12 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.342e-05/1.261, allocations: 8 kB / 0.6172 GB, free: 60.12 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.579e-05/1.261, allocations: 10.41 kB / 0.6172 GB, free: 60.12 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0231/1.284, allocations: 7.401 MB / 0.6244 GB, free: 54.08 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.091e-05/1.284, allocations: 4.656 kB / 0.6244 GB, free: 54.07 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003897/1.288, allocations: 391 kB / 0.6248 GB, free: 53.75 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004118/1.292, allocations: 0.8086 MB / 0.6256 GB, free: 53.11 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005711/1.293, allocations: 23.83 kB / 0.6256 GB, free: 53.09 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01626/1.309, allocations: 9.506 MB / 0.6349 GB, free: 43.89 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.113e-05/1.309, allocations: 7.938 kB / 0.6349 GB, free: 43.88 MB / 414.1 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01473/1.324, allocations: 5.622 MB / 0.6404 GB, free: 38.79 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002674/1.326, allocations: 0.6073 MB / 0.641 GB, free: 38.23 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001189/1.328, allocations: 19.94 kB / 0.641 GB, free: 38.21 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00347/1.331, allocations: 83.22 kB / 0.6411 GB, free: 38.15 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000871/1.332, allocations: 137.7 kB / 0.6412 GB, free: 38.07 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002772/1.332, allocations: 68.69 kB / 0.6413 GB, free: 38.01 MB / 414.1 MB Notification: Performance of sort global known variables: time 0.003772/1.336, allocations: 1.339 MB / 0.6426 GB, free: 36.8 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.004452/1.341, allocations: 0.7051 MB / 0.6433 GB, free: 36.09 MB / 414.1 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.001134/1.342, allocations: 347.6 kB / 0.6436 GB, free: 35.81 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.009868/1.352, allocations: 3.682 MB / 0.6472 GB, free: 32.41 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.11e-05/1.352, allocations: 4 kB / 0.6472 GB, free: 32.41 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.008914/1.361, allocations: 2.298 MB / 0.6494 GB, free: 30.29 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007148/1.368, allocations: 0.5022 MB / 0.6499 GB, free: 29.87 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0231/1.391, allocations: 6.447 MB / 0.6562 GB, free: 23.68 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006191/1.397, allocations: 2.97 MB / 0.6591 GB, free: 20.69 MB / 414.1 MB Notification: Performance of SimCode: time 2.164e-06/1.397, allocations: 0 / 0.6591 GB, free: 20.69 MB / 414.1 MB Notification: Performance of Templates: time 0.367/1.764, allocations: 130.3 MB / 0.7863 GB, free: 63.34 MB / 414.1 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer_res.mat","/var/lib/jenkins1/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_cpp_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches