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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001032/0.001032, allocations: 182.6 kB / 18.04 MB, free: 3.785 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.295/1.295, allocations: 205.4 MB / 224.2 MB, free: 9.047 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009763/0.0009764, allocations: 99.05 kB / 272.5 MB, free: 8.277 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002983/0.0002984, allocations: 8 kB / 329.5 MB, free: 15.29 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2178/0.2181, allocations: 47.58 MB / 377 MB, free: 45.63 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1205/0.3387, allocations: 112.1 MB / 489.1 MB, free: 420 kB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002641/0.339, allocations: 99.94 kB / 489.2 MB, free: 320 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3748/0.7138, allocations: 93.24 MB / 0.5688 GB, free: 49.06 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.515e-06/0.7138, allocations: 4 kB / 0.5688 GB, free: 49.06 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.000339/0.7142, allocations: 87.94 kB / 0.5689 GB, free: 48.97 MB / 378.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.01066/0.7249, allocations: 3.916 MB / 0.5727 GB, free: 44.98 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.7e-05/0.7249, allocations: 12.03 kB / 0.5727 GB, free: 44.97 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002616/0.7276, allocations: 0.5073 MB / 0.5732 GB, free: 44.46 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006613/0.7342, allocations: 2.641 MB / 0.5758 GB, free: 41.77 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002645/0.7345, allocations: 259.4 kB / 0.5761 GB, free: 41.52 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001488/0.736, allocations: 360.2 kB / 0.5764 GB, free: 41.16 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01137/0.7474, allocations: 4.964 MB / 0.5813 GB, free: 36.05 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001499/0.7476, allocations: 8.094 kB / 0.5813 GB, free: 36.04 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008654/0.7485, allocations: 155.9 kB / 0.5814 GB, free: 35.89 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000166/0.7486, allocations: 183 kB / 0.5816 GB, free: 35.71 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008042/0.7567, allocations: 4.064 MB / 0.5856 GB, free: 31.64 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02562/0.7823, allocations: 14.96 MB / 0.6002 GB, free: 16.35 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004285/0.7867, allocations: 4.219 MB / 0.6043 GB, free: 11.83 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002786/0.7895, allocations: 1.885 MB / 0.6061 GB, free: 9.938 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003337/0.7899, allocations: 155 kB / 0.6063 GB, free: 9.77 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.465e-05/0.7899, allocations: 64.44 kB / 0.6063 GB, free: 9.695 MB / 378.7 MB Notification: Performance of pre-optimization done (n=201): time 3.817e-06/0.7899, allocations: 0 / 0.6063 GB, free: 9.695 MB / 378.7 MB Notification: Performance of matching and sorting (n=221): time 0.02112/0.8111, allocations: 10.09 MB / 0.6162 GB, free: 15.49 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.417e-05/0.8112, allocations: 81.41 kB / 0.6163 GB, free: 15.4 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00671/0.8179, allocations: 2.471 MB / 0.6187 GB, free: 12.91 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005525/0.8185, allocations: 65.7 kB / 0.6187 GB, free: 12.84 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001648/0.8202, allocations: 1.607 MB / 0.6203 GB, free: 11.21 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001074/0.8213, allocations: 0.7353 MB / 0.621 GB, free: 10.46 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003485/0.8216, allocations: 44 kB / 0.6211 GB, free: 10.42 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002613/0.8219, allocations: 406.5 kB / 0.6215 GB, free: 10.02 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002589/0.8245, allocations: 1.293 MB / 0.6227 GB, free: 8.723 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002761/0.8273, allocations: 1.725 MB / 0.6244 GB, free: 6.82 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005261/0.8326, allocations: 3.151 MB / 0.6275 GB, free: 3.512 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.301e-05/0.8326, allocations: 4 kB / 0.6275 GB, free: 3.508 MB / 394.7 MB Notification: Performance of matching and sorting (n=291) (initialization): time 0.008032/0.8406, allocations: 4.028 MB / 0.6314 GB, free: 15.45 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.637e-05/0.8407, allocations: 12 kB / 0.6314 GB, free: 15.44 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.023e-05/0.8408, allocations: 12 kB / 0.6314 GB, free: 15.43 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00212/0.8429, allocations: 0.7661 MB / 0.6322 GB, free: 14.65 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002282/0.8452, allocations: 0.5305 MB / 0.6327 GB, free: 14.12 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01109/0.8563, allocations: 8.73 MB / 0.6412 GB, free: 4.992 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002809/0.8591, allocations: 131.7 kB / 0.6414 GB, free: 4.863 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005615/0.8597, allocations: 80 kB / 0.6414 GB, free: 4.785 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 () * 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.003251/0.863, allocations: 1.219 MB / 0.6426 GB, free: 3.555 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000974/0.864, allocations: 272.7 kB / 0.6429 GB, free: 3.285 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.182/1.046, allocations: 3.739 MB / 0.6465 GB, free: 81.21 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.978e-05/1.046, allocations: 24.81 kB / 0.6466 GB, free: 81.21 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.4e-05/1.046, allocations: 9.625 kB / 0.6466 GB, free: 81.21 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.682e-05/1.046, allocations: 11.62 kB / 0.6466 GB, free: 81.21 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01224/1.058, allocations: 8.058 MB / 0.6545 GB, free: 80.64 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.196e-06/1.058, allocations: 0 / 0.6545 GB, free: 80.64 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001508/1.06, allocations: 399.8 kB / 0.6548 GB, free: 80.64 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001851/1.062, allocations: 0.7964 MB / 0.6556 GB, free: 80.6 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001399/1.062, allocations: 55.11 kB / 0.6557 GB, free: 80.6 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008541/1.071, allocations: 10.23 MB / 0.6657 GB, free: 75.45 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/1.071, allocations: 6.781 kB / 0.6657 GB, free: 75.45 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007472/1.078, allocations: 5.572 MB / 0.6711 GB, free: 75.07 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001418/1.079, allocations: 0.642 MB / 0.6717 GB, free: 74.98 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003843/1.08, allocations: 50.64 kB / 0.6718 GB, free: 74.98 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001382/1.081, allocations: 127.6 kB / 0.6719 GB, free: 74.98 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004239/1.082, allocations: 184.3 kB / 0.6721 GB, free: 74.98 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001369/1.082, allocations: 65.86 kB / 0.6721 GB, free: 74.98 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002493/1.084, allocations: 1.702 MB / 0.6738 GB, free: 74.83 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.7e-07/1.084, allocations: 0 / 0.6738 GB, free: 74.83 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002632/1.087, allocations: 0.8361 MB / 0.6746 GB, free: 74.83 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 () * 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.0005695/1.088, allocations: 389.7 kB / 0.675 GB, free: 74.73 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005135/1.093, allocations: 3.899 MB / 0.6788 GB, free: 74.12 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.979e-06/1.093, allocations: 1.375 kB / 0.6788 GB, free: 74.12 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003535/1.096, allocations: 2.488 MB / 0.6812 GB, free: 73.53 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004582/1.101, allocations: 0.7669 MB / 0.682 GB, free: 73.5 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01215/1.113, allocations: 9.079 MB / 0.6908 GB, free: 69.18 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002107/1.115, allocations: 2.766 MB / 0.6935 GB, free: 68.04 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002283/1.118, allocations: 0.6803 MB / 0.6942 GB, free: 67.98 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005335/1.118, allocations: 176 kB / 0.6944 GB, free: 67.97 MB / 410.7 MB Notification: Performance of SimCode: time 6.81e-07/1.118, allocations: 3.281 kB / 0.6944 GB, free: 67.97 MB / 410.7 MB Notification: Performance of Templates: time 0.06388/1.182, allocations: 46.72 MB / 0.74 GB, free: 44.09 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/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_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches