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.001148/0.001148, allocations: 180.5 kB / 16.41 MB, free: 5.703 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.409/1.409, allocations: 205.4 MB / 222.5 MB, free: 9.035 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.0008719/0.0008719, allocations: 82.36 kB / 270.9 MB, free: 8.348 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000338/0.0003382, allocations: 8 kB / 327 MB, free: 176 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2219/0.2222, allocations: 47.57 MB / 374.6 MB, free: 45.38 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer): time 0.01033/0.2326, allocations: 11.34 MB / 385.9 MB, free: 36.52 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.008784/0.2414, allocations: 4.021 MB / 389.9 MB, free: 33.18 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002545/0.244, allocations: 61.19 kB / 390 MB, free: 33.16 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002501/0.2465, allocations: 0.7743 MB / 390.8 MB, free: 32.58 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003703/0.2503, allocations: 1.028 MB / 391.8 MB, free: 31.57 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00114/0.2514, allocations: 323.6 kB / 392.1 MB, free: 31.25 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.00448/0.2559, allocations: 4.834 MB / 396.9 MB, free: 26.4 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002668/0.2586, allocations: 2.522 MB / 399.5 MB, free: 23.83 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002596/0.2612, allocations: 1.572 MB / 401 MB, free: 22.25 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002688/0.2639, allocations: 2.105 MB / 403.1 MB, free: 20.14 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000614/0.2645, allocations: 248 kB / 403.4 MB, free: 19.9 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001122/0.2657, allocations: 315.9 kB / 403.7 MB, free: 19.59 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008137/0.2665, allocations: 1.141 MB / 404.8 MB, free: 18.45 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009666/0.2675, allocations: 0.8394 MB / 405.7 MB, free: 17.6 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004563/0.272, allocations: 5.992 MB / 411.7 MB, free: 11.59 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.693e-06/0.2721, allocations: 7.938 kB / 411.7 MB, free: 11.58 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.2721, allocations: 0 / 411.7 MB, free: 11.58 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0001791/0.2723, allocations: 0 / 411.7 MB, free: 11.58 MB / 298.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.007652/0.2799, allocations: 3.994 MB / 415.7 MB, free: 7.523 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.754e-05/0.28, allocations: 12.03 kB / 415.7 MB, free: 7.512 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001433/0.2814, allocations: 498.6 kB / 416.2 MB, free: 7.02 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003572/0.285, allocations: 2.307 MB / 418.5 MB, free: 4.664 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001379/0.2852, allocations: 263.1 kB / 418.7 MB, free: 4.406 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004865/0.2857, allocations: 355.9 kB / 419.1 MB, free: 4.059 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008008/0.2937, allocations: 5.009 MB / 424.1 MB, free: 14.98 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.062e-05/0.2938, allocations: 7.906 kB / 424.1 MB, free: 14.98 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003323/0.2941, allocations: 148 kB / 424.2 MB, free: 14.83 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001831/0.2943, allocations: 183 kB / 424.4 MB, free: 14.65 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007685/0.302, allocations: 4.287 MB / 428.7 MB, free: 10.36 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02714/0.3292, allocations: 14.99 MB / 443.7 MB, free: 11.04 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005147/0.3344, allocations: 4.196 MB / 447.9 MB, free: 6.543 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003479/0.3379, allocations: 2.002 MB / 449.9 MB, free: 4.539 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003268/0.3382, allocations: 135.1 kB / 450 MB, free: 4.391 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.775e-05/0.3383, allocations: 53.03 kB / 450.1 MB, free: 4.328 MB / 330.7 MB Notification: Performance of pre-optimization done (n=198): time 7.224e-06/0.3383, allocations: 4 kB / 450.1 MB, free: 4.324 MB / 330.7 MB Notification: Performance of matching and sorting (n=218): time 0.02329/0.3616, allocations: 10.1 MB / 460.2 MB, free: 10.12 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.055e-05/0.3617, allocations: 81.36 kB / 460.2 MB, free: 10.03 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005407/0.3671, allocations: 2.494 MB / 462.7 MB, free: 7.512 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004487/0.3676, allocations: 61.7 kB / 462.8 MB, free: 7.445 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00147/0.3691, allocations: 1.619 MB / 464.4 MB, free: 5.805 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009919/0.3701, allocations: 0.7277 MB / 465.2 MB, free: 5.066 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002834/0.3704, allocations: 48 kB / 465.2 MB, free: 5.02 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.00027/0.3707, allocations: 398.6 kB / 465.6 MB, free: 4.625 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002855/0.3736, allocations: 1.305 MB / 466.9 MB, free: 3.316 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003087/0.3767, allocations: 1.779 MB / 468.7 MB, free: 1.344 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002854/0.3795, allocations: 1.567 MB / 470.2 MB, free: 15.78 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.141e-05/0.3796, allocations: 4 kB / 470.2 MB, free: 15.78 MB / 362.7 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.008221/0.3878, allocations: 4.075 MB / 474.3 MB, free: 11.68 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.089e-05/0.3879, allocations: 8.938 kB / 474.3 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.18e-05/0.3879, allocations: 20.41 kB / 474.3 MB, free: 11.65 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003246/0.3912, allocations: 0.8865 MB / 475.2 MB, free: 10.75 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00252/0.3937, allocations: 0.5266 MB / 475.8 MB, free: 10.22 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01161/0.4054, allocations: 8.734 MB / 484.5 MB, free: 1.09 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002858/0.4083, allocations: 119.9 kB / 484.6 MB, free: 0.9727 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000545/0.4088, allocations: 88.09 kB / 484.7 MB, free: 0.8867 MB / 362.7 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 (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 initialization (252): * Single equations (assignments): 247 * 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 {(3,100.0%) 25,(2,100.0%) 12,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003385/0.4123, allocations: 1.227 MB / 485.9 MB, free: 15.64 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001174/0.4134, allocations: 272.7 kB / 486.2 MB, free: 15.38 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007839/0.4213, allocations: 3.727 MB / 489.9 MB, free: 11.62 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.946e-05/0.4214, allocations: 20 kB / 489.9 MB, free: 11.6 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.809e-05/0.4214, allocations: 8 kB / 489.9 MB, free: 11.59 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.799e-05/0.4214, allocations: 15.89 kB / 490 MB, free: 11.57 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01888/0.4403, allocations: 8.106 MB / 498.1 MB, free: 3.355 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.822e-05/0.4404, allocations: 4 kB / 498.1 MB, free: 3.352 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001682/0.4421, allocations: 387.8 kB / 498.4 MB, free: 2.973 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003863/0.446, allocations: 0.929 MB / 499.4 MB, free: 2.027 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002994/0.4463, allocations: 55.97 kB / 499.4 MB, free: 1.973 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2983/0.7447, allocations: 10.17 MB / 0.4977 GB, free: 101.1 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.261e-06/0.7447, allocations: 5.594 kB / 0.4977 GB, free: 101.1 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01219/0.7569, allocations: 5.538 MB / 0.5031 GB, free: 98.95 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002309/0.7593, allocations: 0.6341 MB / 0.5037 GB, free: 98.7 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008562/0.7602, allocations: 50.83 kB / 0.5037 GB, free: 98.67 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002138/0.7623, allocations: 127.5 kB / 0.5039 GB, free: 98.64 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005339/0.7629, allocations: 185 kB / 0.504 GB, free: 98.61 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001815/0.763, allocations: 61.97 kB / 0.5041 GB, free: 98.59 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.003097/0.7662, allocations: 1.712 MB / 0.5058 GB, free: 97.94 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.7662, allocations: 0 / 0.5058 GB, free: 97.94 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002311/0.7685, allocations: 0.7961 MB / 0.5065 GB, free: 97.87 MB / 378.7 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 (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.0004778/0.769, allocations: 203.6 kB / 0.5067 GB, free: 97.73 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.004943/0.7739, allocations: 3.898 MB / 0.5105 GB, free: 95.88 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.774, allocations: 5.781 kB / 0.5106 GB, free: 95.88 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003005/0.777, allocations: 2.489 MB / 0.513 GB, free: 93.37 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003341/0.7803, allocations: 0.7576 MB / 0.5137 GB, free: 92.64 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0114/0.7917, allocations: 9.104 MB / 0.5226 GB, free: 83.51 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002141/0.7939, allocations: 2.723 MB / 0.5253 GB, free: 80.77 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009216/0.7949, allocations: 195.4 kB / 0.5255 GB, free: 80.58 MB / 378.7 MB Notification: Performance of SimCode: time 1.493e-06/0.7949, allocations: 0 / 0.5255 GB, free: 80.58 MB / 378.7 MB Notification: Performance of Templates: time 0.3253/1.12, allocations: 141.1 MB / 0.6633 GB, free: 142.2 MB / 426.7 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/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_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches