Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.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.AsynchronousInductionMachines.AIMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.2..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.2..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00101/0.00101, 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.331/1.331, allocations: 205.4 MB / 224.2 MB, free: 9.051 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.0007963/0.0007963, allocations: 90.02 kB / 272.5 MB, free: 8.281 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003611/0.0003613, allocations: 8 kB / 329.5 MB, free: 15.29 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2282/0.2286, allocations: 47.58 MB / 377 MB, free: 45.67 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1224/0.3511, allocations: 112 MB / 489 MB, free: 0.4961 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002846/0.3514, allocations: 91.95 kB / 489.1 MB, free: 416 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3818/0.7332, allocations: 93.08 MB / 0.5686 GB, free: 49.32 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.875e-06/0.7333, allocations: 0 / 0.5686 GB, free: 49.32 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0004327/0.7337, allocations: 99.88 kB / 0.5687 GB, free: 49.22 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.0121/0.7458, allocations: 3.92 MB / 0.5725 GB, free: 45.23 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.7459, allocations: 8.031 kB / 0.5725 GB, free: 45.22 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002311/0.7482, allocations: 0.5073 MB / 0.573 GB, free: 44.71 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00569/0.7539, allocations: 2.637 MB / 0.5756 GB, free: 42.02 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002216/0.7542, allocations: 267.4 kB / 0.5758 GB, free: 41.76 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001131/0.7553, allocations: 352.2 kB / 0.5762 GB, free: 41.41 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01009/0.7654, allocations: 4.972 MB / 0.581 GB, free: 36.29 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000134/0.7656, allocations: 8.094 kB / 0.581 GB, free: 36.28 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005419/0.7661, allocations: 151.9 kB / 0.5812 GB, free: 36.13 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001489/0.7663, allocations: 175.1 kB / 0.5813 GB, free: 35.96 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006973/0.7733, allocations: 4.061 MB / 0.5853 GB, free: 31.89 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02463/0.7979, allocations: 14.97 MB / 0.5999 GB, free: 16.59 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0039/0.8019, allocations: 4.215 MB / 0.604 GB, free: 12.07 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002773/0.8047, allocations: 1.893 MB / 0.6059 GB, free: 10.18 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000305/0.805, allocations: 143 kB / 0.606 GB, free: 10.02 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.717e-05/0.8051, allocations: 60.5 kB / 0.6061 GB, free: 9.953 MB / 378.7 MB Notification: Performance of pre-optimization done (n=201): time 5.07e-06/0.8051, allocations: 4 kB / 0.6061 GB, free: 9.949 MB / 378.7 MB Notification: Performance of matching and sorting (n=221): time 0.0181/0.8232, allocations: 10.1 MB / 0.6159 GB, free: 15.73 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.62e-05/0.8233, allocations: 73.41 kB / 0.616 GB, free: 15.65 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003891/0.8272, allocations: 2.479 MB / 0.6184 GB, free: 13.15 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002742/0.8275, allocations: 61.7 kB / 0.6185 GB, free: 13.09 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001185/0.8287, allocations: 1.6 MB / 0.6201 GB, free: 11.47 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006428/0.8293, allocations: 0.7432 MB / 0.6208 GB, free: 10.71 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001272/0.8295, allocations: 44 kB / 0.6208 GB, free: 10.67 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001727/0.8296, allocations: 406.4 kB / 0.6212 GB, free: 10.27 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002009/0.8317, allocations: 1.293 MB / 0.6225 GB, free: 8.973 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002337/0.834, allocations: 1.725 MB / 0.6242 GB, free: 7.07 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004512/0.8386, allocations: 3.159 MB / 0.6272 GB, free: 3.754 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-05/0.8386, allocations: 4 kB / 0.6273 GB, free: 3.75 MB / 394.7 MB Notification: Performance of matching and sorting (n=291) (initialization): time 0.00711/0.8457, allocations: 4.028 MB / 0.6312 GB, free: 15.69 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.303e-05/0.8458, allocations: 12 kB / 0.6312 GB, free: 15.68 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.409e-05/0.8458, allocations: 12 kB / 0.6312 GB, free: 15.67 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001836/0.8477, allocations: 0.7583 MB / 0.6319 GB, free: 14.89 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002182/0.8498, allocations: 0.5305 MB / 0.6325 GB, free: 14.36 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009637/0.8595, allocations: 8.729 MB / 0.641 GB, free: 5.246 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002351/0.8619, allocations: 127.9 kB / 0.6411 GB, free: 5.121 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002938/0.8622, allocations: 84 kB / 0.6412 GB, free: 5.039 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.002601/0.8648, allocations: 1.224 MB / 0.6424 GB, free: 3.809 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007762/0.8656, allocations: 276.8 kB / 0.6427 GB, free: 3.535 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2034/1.069, allocations: 3.748 MB / 0.6463 GB, free: 81.29 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.537e-05/1.069, allocations: 22.53 kB / 0.6463 GB, free: 81.29 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.88e-05/1.069, allocations: 3.906 kB / 0.6463 GB, free: 81.29 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.674e-05/1.069, allocations: 14.31 kB / 0.6464 GB, free: 81.29 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01384/1.083, allocations: 8.05 MB / 0.6542 GB, free: 80.72 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.114e-05/1.083, allocations: 2.156 kB / 0.6542 GB, free: 80.72 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001627/1.085, allocations: 397.9 kB / 0.6546 GB, free: 80.72 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00195/1.087, allocations: 0.8058 MB / 0.6554 GB, free: 80.68 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000204/1.087, allocations: 50.69 kB / 0.6554 GB, free: 80.68 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00914/1.096, allocations: 10.23 MB / 0.6654 GB, free: 75.54 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/1.096, allocations: 2.094 kB / 0.6654 GB, free: 75.54 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008124/1.104, allocations: 5.575 MB / 0.6709 GB, free: 75.16 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001852/1.106, allocations: 0.6402 MB / 0.6715 GB, free: 75.07 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005743/1.107, allocations: 49 kB / 0.6715 GB, free: 75.07 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00138/1.108, allocations: 131.5 kB / 0.6717 GB, free: 75.07 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004086/1.109, allocations: 187.3 kB / 0.6718 GB, free: 75.07 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001364/1.109, allocations: 60.52 kB / 0.6719 GB, free: 75.07 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002906/1.112, allocations: 1.706 MB / 0.6736 GB, free: 74.92 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.61e-07/1.112, allocations: 0 / 0.6736 GB, free: 74.92 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003503/1.115, allocations: 0.834 MB / 0.6744 GB, free: 74.92 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.0007288/1.116, allocations: 377.9 kB / 0.6747 GB, free: 74.82 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005686/1.122, allocations: 3.899 MB / 0.6785 GB, free: 74.21 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.734e-06/1.122, allocations: 1.031 kB / 0.6785 GB, free: 74.21 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003934/1.126, allocations: 2.498 MB / 0.681 GB, free: 73.62 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004825/1.13, allocations: 0.7599 MB / 0.6817 GB, free: 73.59 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01241/1.143, allocations: 9.078 MB / 0.6906 GB, free: 69.3 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00218/1.145, allocations: 2.776 MB / 0.6933 GB, free: 68.16 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002293/1.147, allocations: 0.6696 MB / 0.694 GB, free: 68.11 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005476/1.148, allocations: 179.9 kB / 0.6941 GB, free: 68.09 MB / 410.7 MB Notification: Performance of SimCode: time 8.51e-07/1.148, allocations: 0 / 0.6941 GB, free: 68.09 MB / 410.7 MB Notification: Performance of Templates: time 0.066/1.214, allocations: 46.73 MB / 0.7398 GB, free: 44.33 MB / 410.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.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/AsynchronousInductionMachines/AIMC_Transformer/AIMC_Transformer.csv","../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches