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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001153/0.001153, allocations: 112.8 kB / 17.28 MB, free: 6.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001182/0.001182, allocations: 189.3 kB / 18.2 MB, free: 5.152 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.972/1.972, allocations: 205.1 MB / 224.1 MB, free: 12.43 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001775/0.001775, allocations: 56.14 kB / 280.2 MB, free: 3.484 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1753/0.1771, allocations: 46.63 MB / 326.8 MB, free: 4.789 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer): time 0.01791/0.1951, allocations: 12.7 MB / 339.5 MB, free: 8.027 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01337/0.2085, allocations: 4.192 MB / 343.7 MB, free: 3.82 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004618/0.2132, allocations: 59.69 kB / 343.7 MB, free: 3.762 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004915/0.2182, allocations: 0.8509 MB / 344.6 MB, free: 2.906 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008068/0.2264, allocations: 1.069 MB / 345.7 MB, free: 1.832 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002753/0.2292, allocations: 475.5 kB / 346.1 MB, free: 1.367 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.009253/0.2384, allocations: 4.676 MB / 350.8 MB, free: 12.67 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005723/0.2442, allocations: 3.598 MB / 354.4 MB, free: 9.004 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006248/0.2505, allocations: 2.121 MB / 356.5 MB, free: 6.887 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006134/0.2567, allocations: 2.623 MB / 359.1 MB, free: 4.254 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002364/0.2591, allocations: 0.5508 MB / 359.7 MB, free: 3.703 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002964/0.2621, allocations: 0.6443 MB / 360.3 MB, free: 3.059 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002435/0.2645, allocations: 1.527 MB / 361.9 MB, free: 1.527 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009758/0.2743, allocations: 2.481 MB / 364.3 MB, free: 15.04 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01298/0.2874, allocations: 7.353 MB / 371.7 MB, free: 7.66 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.194e-05/0.2875, allocations: 3.938 kB / 371.7 MB, free: 7.656 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.506e-06/0.2875, allocations: 0 / 371.7 MB, free: 7.656 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0004431/0.2879, allocations: 4 kB / 371.7 MB, free: 7.652 MB / 318.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.02066/0.3086, allocations: 4.679 MB / 376.4 MB, free: 2.906 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.715e-05/0.3087, allocations: 8.031 kB / 376.4 MB, free: 2.898 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003409/0.3121, allocations: 0.4995 MB / 376.9 MB, free: 2.395 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3359/0.648, allocations: 2.377 MB / 379.3 MB, free: 49.05 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000654/0.6487, allocations: 264.8 kB / 379.5 MB, free: 49.05 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00292/0.6517, allocations: 352.3 kB / 379.9 MB, free: 49.05 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02488/0.6766, allocations: 5.023 MB / 384.9 MB, free: 47.44 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004469/0.6771, allocations: 10.52 kB / 384.9 MB, free: 47.44 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002249/0.6794, allocations: 142.7 kB / 385 MB, free: 47.33 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006743/0.6801, allocations: 185.2 kB / 385.2 MB, free: 47.31 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0201/0.7002, allocations: 4.292 MB / 389.5 MB, free: 45.78 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04334/0.7436, allocations: 14.9 MB / 404.4 MB, free: 35.84 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004587/0.7482, allocations: 4.197 MB / 408.6 MB, free: 31.36 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002847/0.7511, allocations: 1.996 MB / 410.6 MB, free: 29.37 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002952/0.7515, allocations: 127.1 kB / 410.7 MB, free: 29.23 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.378e-05/0.7515, allocations: 62.94 kB / 410.8 MB, free: 29.16 MB / 318.1 MB Notification: Performance of pre-optimization done (n=198): time 4.598e-06/0.7515, allocations: 0 / 410.8 MB, free: 29.16 MB / 318.1 MB Notification: Performance of matching and sorting (n=218): time 0.02005/0.7716, allocations: 10.02 MB / 420.8 MB, free: 19.04 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.257e-05/0.7717, allocations: 73.41 kB / 420.9 MB, free: 18.95 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006284/0.778, allocations: 2.506 MB / 423.4 MB, free: 16.43 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002441/0.7783, allocations: 64.98 kB / 423.5 MB, free: 16.36 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009697/0.7793, allocations: 1.614 MB / 425.1 MB, free: 14.73 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005033/0.7798, allocations: 0.735 MB / 425.8 MB, free: 14 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006319/0.7804, allocations: 412.3 kB / 426.2 MB, free: 13.59 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.335e-05/0.7805, allocations: 309.1 kB / 426.5 MB, free: 13.29 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001632/0.7822, allocations: 1.305 MB / 427.8 MB, free: 11.98 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001925/0.7841, allocations: 1.786 MB / 429.6 MB, free: 9.996 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003769/0.7879, allocations: 3.222 MB / 432.8 MB, free: 6.602 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.194e-05/0.7879, allocations: 4 kB / 432.8 MB, free: 6.598 MB / 318.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.00675/0.7947, allocations: 4.076 MB / 436.9 MB, free: 2.496 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.117e-05/0.7947, allocations: 12 kB / 436.9 MB, free: 2.484 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.891e-05/0.7948, allocations: 12 kB / 436.9 MB, free: 2.473 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002612/0.7974, allocations: 0.8788 MB / 437.8 MB, free: 1.582 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001784/0.7992, allocations: 0.5382 MB / 438.3 MB, free: 1.043 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01242/0.8116, allocations: 9.48 MB / 447.8 MB, free: 7.148 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003343/0.815, allocations: 115.9 kB / 447.9 MB, free: 7.035 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005626/0.8156, allocations: 91.98 kB / 448 MB, free: 6.945 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 59 * Number of states: 0 () * Number of discrete variables: 6 (booleanStep2[3].y,booleanStep2[2].y,booleanStep2[1].y,idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (252): * Single equations (assignments): 247 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(3,25,77.8%), (2,12,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003988/0.8196, allocations: 1.219 MB / 449.2 MB, free: 5.715 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001569/0.8212, allocations: 268.7 kB / 449.5 MB, free: 5.449 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008843/0.83, allocations: 3.711 MB / 453.2 MB, free: 1.703 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-05/0.8301, allocations: 23.94 kB / 453.2 MB, free: 1.68 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.885e-05/0.8301, allocations: 14.62 kB / 453.3 MB, free: 1.668 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.99e-05/0.8302, allocations: 7.969 kB / 453.3 MB, free: 1.66 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02119/0.8513, allocations: 8.1 MB / 461.4 MB, free: 9.496 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-05/0.8514, allocations: 4 kB / 461.4 MB, free: 9.492 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001786/0.8532, allocations: 383.8 kB / 461.7 MB, free: 9.117 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003562/0.8568, allocations: 0.9277 MB / 462.7 MB, free: 8.176 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000241/0.8571, allocations: 51.98 kB / 462.7 MB, free: 8.125 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01331/0.8704, allocations: 11.07 MB / 473.8 MB, free: 12.52 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/0.8704, allocations: 0 / 473.8 MB, free: 12.52 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01126/0.8817, allocations: 5.52 MB / 479.3 MB, free: 6.93 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002687/0.8844, allocations: 0.6304 MB / 479.9 MB, free: 6.277 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001204/0.8857, allocations: 51.98 kB / 480 MB, free: 6.227 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002237/0.8879, allocations: 119.9 kB / 480.1 MB, free: 6.109 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006649/0.8886, allocations: 181.7 kB / 480.3 MB, free: 5.93 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003016/0.8889, allocations: 59.98 kB / 480.3 MB, free: 5.871 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.005281/0.8942, allocations: 1.731 MB / 482.1 MB, free: 4.129 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.8943, allocations: 4 kB / 482.1 MB, free: 4.125 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.004712/0.899, allocations: 0.7955 MB / 482.9 MB, free: 3.332 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 9 (aimc.inertiaRotor.w,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,quadraticLoadTorque.phi) * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],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 (175): * Single equations (assignments): 170 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,12,100.0%), (1,1,100.0%), (3,25,88.9%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000962/0.9, allocations: 236.2 kB / 483.1 MB, free: 3.102 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.01318/0.9132, allocations: 5.709 MB / 488.8 MB, free: 13.34 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.396e-05/0.9132, allocations: 0 / 488.8 MB, free: 13.34 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005128/0.9184, allocations: 2.477 MB / 491.3 MB, free: 10.79 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006249/0.9246, allocations: 0.7953 MB / 492.1 MB, free: 9.988 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02148/0.9462, allocations: 9.342 MB / 0.4897 GB, free: 0.6055 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005212/0.9514, allocations: 2.777 MB / 0.4924 GB, free: 13.8 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.003463/0.9549, allocations: 0.6788 MB / 0.4931 GB, free: 13.12 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00108/0.956, allocations: 179.4 kB / 0.4932 GB, free: 12.94 MB / 398.1 MB Notification: Performance of SimCode: time 2.265e-06/0.956, allocations: 0 / 0.4932 GB, free: 12.94 MB / 398.1 MB Notification: Performance of Templates: time 0.338/1.294, allocations: 46.23 MB / 0.5384 GB, free: 146.3 MB / 430.1 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/jenkins/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