Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.002255/0.002255, allocations: 178 kB / 8.362 MB, free: 0.7148 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.963/1.963, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001121/0.001121, allocations: 86.17 kB / 262.1 MB, free: 13.86 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 2.28e-05/2.288e-05, allocations: 4 kB / 314.8 MB, free: 9.133 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3259/0.326, allocations: 47.56 MB / 362.3 MB, free: 45.84 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1768/0.5028, allocations: 111 MB / 473.3 MB, free: 7.242 MB / 363.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003306/0.5032, allocations: 83.23 kB / 473.4 MB, free: 7.164 MB / 363.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.6414/1.145, allocations: 92.24 MB / 0.5524 GB, free: 89.22 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.974e-06/1.145, allocations: 0 / 0.5524 GB, free: 89.22 MB / 395.1 MB Notification: Performance of Transformations before backend: time 0.0003907/1.145, allocations: 102.8 kB / 0.5525 GB, free: 89.2 MB / 395.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.01269/1.158, allocations: 3.549 MB / 0.556 GB, free: 86.2 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.701e-05/1.158, allocations: 8.031 kB / 0.556 GB, free: 86.19 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002854/1.161, allocations: 0.5063 MB / 0.5565 GB, free: 85.68 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007973/1.169, allocations: 2.54 MB / 0.5589 GB, free: 83.13 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002203/1.169, allocations: 112 kB / 0.559 GB, free: 83.02 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001362/1.17, allocations: 215.9 kB / 0.5593 GB, free: 82.81 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01055/1.181, allocations: 3.697 MB / 0.5629 GB, free: 79.11 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01305/1.194, allocations: 4.329 MB / 0.5671 GB, free: 74.63 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001467/1.194, allocations: 7.938 kB / 0.5671 GB, free: 74.62 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005266/1.195, allocations: 4 kB / 0.5671 GB, free: 74.62 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002201/1.195, allocations: 179 kB / 0.5673 GB, free: 74.44 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0357/1.231, allocations: 14.24 MB / 0.5812 GB, free: 60.02 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005756/1.237, allocations: 4.059 MB / 0.5851 GB, free: 55.67 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003869/1.241, allocations: 1.756 MB / 0.5869 GB, free: 53.91 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005717/1.241, allocations: 154.7 kB / 0.587 GB, free: 53.75 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.458e-05/1.241, allocations: 56.56 kB / 0.5871 GB, free: 53.68 MB / 395.1 MB Notification: Performance of pre-optimization done (n=201): time 4.789e-06/1.241, allocations: 0 / 0.5871 GB, free: 53.68 MB / 395.1 MB Notification: Performance of matching and sorting (n=221): time 0.02123/1.262, allocations: 7.2 MB / 0.5941 GB, free: 46.45 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.234e-05/1.263, allocations: 73.41 kB / 0.5942 GB, free: 46.37 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00374/1.266, allocations: 1.746 MB / 0.5959 GB, free: 44.59 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005305/1.267, allocations: 33.7 kB / 0.5959 GB, free: 44.55 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001024/1.268, allocations: 1.518 MB / 0.5974 GB, free: 43.02 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009752/1.269, allocations: 0.7042 MB / 0.5981 GB, free: 42.3 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001957/1.269, allocations: 0 / 0.5981 GB, free: 42.3 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001598/1.269, allocations: 399.4 kB / 0.5984 GB, free: 41.91 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002481/1.272, allocations: 1.195 MB / 0.5996 GB, free: 40.71 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002784/1.275, allocations: 1.607 MB / 0.6012 GB, free: 38.93 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003099/1.278, allocations: 1.435 MB / 0.6026 GB, free: 37.5 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.741e-05/1.278, allocations: 4 kB / 0.6026 GB, free: 37.5 MB / 395.1 MB Notification: Performance of matching and sorting (n=291) (initialization): time 0.008861/1.287, allocations: 3.527 MB / 0.606 GB, free: 33.95 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.641e-05/1.287, allocations: 8 kB / 0.606 GB, free: 33.94 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.701e-05/1.287, allocations: 19.94 kB / 0.6061 GB, free: 33.92 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002916/1.29, allocations: 0.7522 MB / 0.6068 GB, free: 33.16 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004233/1.294, allocations: 0.5266 MB / 0.6073 GB, free: 32.63 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01241/1.306, allocations: 8.339 MB / 0.6155 GB, free: 23.95 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003165/1.31, allocations: 75.88 kB / 0.6155 GB, free: 23.88 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004789/1.31, allocations: 87.98 kB / 0.6156 GB, free: 23.79 MB / 395.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 {(2,100.0%) 12,(1,100.0%) 1,(3,88.9%) 25} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000566/1.311, allocations: 152.7 kB / 0.6158 GB, free: 23.64 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007629/1.312, allocations: 249 kB / 0.616 GB, free: 23.39 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008388/1.32, allocations: 3.423 MB / 0.6193 GB, free: 19.93 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.858e-05/1.32, allocations: 24 kB / 0.6194 GB, free: 19.91 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.353e-05/1.32, allocations: 4 kB / 0.6194 GB, free: 19.91 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.726e-05/1.32, allocations: 15.95 kB / 0.6194 GB, free: 19.89 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01966/1.34, allocations: 7.283 MB / 0.6265 GB, free: 12.55 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.707e-05/1.34, allocations: 352 / 0.6265 GB, free: 12.55 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003356/1.343, allocations: 399.4 kB / 0.6269 GB, free: 12.16 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003553/1.347, allocations: 0.7974 MB / 0.6277 GB, free: 11.35 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004329/1.347, allocations: 23.97 kB / 0.6277 GB, free: 11.33 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01373/1.361, allocations: 9.815 MB / 0.6373 GB, free: 1.059 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.315e-06/1.361, allocations: 4 kB / 0.6373 GB, free: 1.055 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0129/1.374, allocations: 5.391 MB / 0.6425 GB, free: 11.51 MB / 411.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002352/1.376, allocations: 0.5995 MB / 0.6431 GB, free: 10.89 MB / 411.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005416/1.377, allocations: 15.98 kB / 0.6431 GB, free: 10.88 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002345/1.379, allocations: 91.89 kB / 0.6432 GB, free: 10.79 MB / 411.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006163/1.38, allocations: 189.7 kB / 0.6434 GB, free: 10.6 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002338/1.38, allocations: 71.97 kB / 0.6435 GB, free: 10.53 MB / 411.1 MB Notification: Performance of sorting global known variables: time 0.003089/1.383, allocations: 1.309 MB / 0.6447 GB, free: 9.203 MB / 411.1 MB Notification: Performance of sort global known variables: time 5.11e-07/1.383, allocations: 0 / 0.6447 GB, free: 9.203 MB / 411.1 MB Notification: Performance of remove unused functions: time 0.003911/1.387, allocations: 0.7227 MB / 0.6454 GB, free: 8.48 MB / 411.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.0009442/1.388, allocations: 347.1 kB / 0.6458 GB, free: 8.156 MB / 411.1 MB Notification: Performance of simCode: created initialization part: time 0.009138/1.397, allocations: 3.621 MB / 0.6493 GB, free: 4.457 MB / 411.1 MB Notification: Performance of simCode: created event and clocks part: time 1.209e-05/1.397, allocations: 4 kB / 0.6493 GB, free: 4.453 MB / 411.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006688/1.404, allocations: 2.348 MB / 0.6516 GB, free: 2.047 MB / 411.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005042/1.409, allocations: 0.5262 MB / 0.6521 GB, free: 1.516 MB / 411.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3024/1.712, allocations: 6.265 MB / 0.6582 GB, free: 92.54 MB / 411.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004163/1.716, allocations: 2.792 MB / 0.661 GB, free: 91.78 MB / 411.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001456/1.717, allocations: 169.5 kB / 0.6611 GB, free: 91.78 MB / 411.1 MB Notification: Performance of SimCode: time 1.272e-06/1.717, allocations: 0 / 0.6611 GB, free: 91.78 MB / 411.1 MB Notification: Performance of Templates: time 0.2043/1.922, allocations: 131.7 MB / 0.7897 GB, free: 14.15 MB / 427.1 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches