Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.00108/0.001081, allocations: 179 kB / 16.72 MB, free: 5.078 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.453/1.453, allocations: 205.4 MB / 222.9 MB, free: 9.031 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.0008427/0.0008425, allocations: 92.97 kB / 271.2 MB, free: 8.246 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003838/0.0003842, allocations: 11.98 kB / 327.5 MB, free: 15.88 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2369/0.2373, allocations: 47.56 MB / 375.1 MB, free: 45.45 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer): time 0.009634/0.247, allocations: 11.37 MB / 386.5 MB, free: 36.54 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00745/0.2545, allocations: 4.024 MB / 390.5 MB, free: 33.19 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002223/0.2568, allocations: 61.94 kB / 390.5 MB, free: 33.17 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002259/0.2591, allocations: 0.7756 MB / 391.3 MB, free: 32.45 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003559/0.2626, allocations: 1.037 MB / 392.4 MB, free: 31.41 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001335/0.264, allocations: 327.6 kB / 392.7 MB, free: 31.09 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.004625/0.2686, allocations: 4.88 MB / 397.6 MB, free: 26.19 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003129/0.2718, allocations: 2.969 MB / 400.5 MB, free: 23.16 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003116/0.2749, allocations: 1.581 MB / 402.1 MB, free: 21.58 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003029/0.278, allocations: 2.101 MB / 404.2 MB, free: 19.47 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007254/0.2787, allocations: 244 kB / 404.4 MB, free: 19.23 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001378/0.2801, allocations: 347.8 kB / 404.8 MB, free: 18.89 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009768/0.2811, allocations: 1.141 MB / 405.9 MB, free: 17.75 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002344/0.2835, allocations: 2 MB / 407.9 MB, free: 15.73 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004188/0.2877, allocations: 5.999 MB / 413.9 MB, free: 9.715 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.013e-06/0.2877, allocations: 0 / 413.9 MB, free: 9.715 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.575e-06/0.2877, allocations: 0 / 413.9 MB, free: 9.715 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0002131/0.2879, allocations: 0 / 413.9 MB, free: 9.715 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.007674/0.2956, allocations: 3.958 MB / 417.9 MB, free: 5.691 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.997e-05/0.2957, allocations: 8.031 kB / 417.9 MB, free: 5.684 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001728/0.2974, allocations: 0.4917 MB / 418.4 MB, free: 5.188 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003724/0.3012, allocations: 2.384 MB / 420.8 MB, free: 2.754 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001495/0.3013, allocations: 267 kB / 421 MB, free: 2.492 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005958/0.3019, allocations: 355.9 kB / 421.4 MB, free: 2.145 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009041/0.311, allocations: 5.001 MB / 426.4 MB, free: 13.08 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-05/0.3111, allocations: 8 kB / 426.4 MB, free: 13.07 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003464/0.3115, allocations: 144 kB / 426.5 MB, free: 12.93 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001933/0.3117, allocations: 187 kB / 426.7 MB, free: 12.75 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008663/0.3204, allocations: 4.287 MB / 431 MB, free: 8.453 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02739/0.3478, allocations: 15 MB / 446 MB, free: 9.121 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005105/0.3529, allocations: 4.196 MB / 450.2 MB, free: 4.621 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003486/0.3565, allocations: 1.999 MB / 452.2 MB, free: 2.621 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000321/0.3568, allocations: 143 kB / 452.3 MB, free: 2.465 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.302e-05/0.3569, allocations: 52.56 kB / 452.4 MB, free: 2.402 MB / 330.7 MB Notification: Performance of pre-optimization done (n=198): time 4.308e-06/0.3569, allocations: 3.938 kB / 452.4 MB, free: 2.398 MB / 330.7 MB Notification: Performance of matching and sorting (n=218): time 0.02137/0.3783, allocations: 10.12 MB / 462.5 MB, free: 8.172 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.64e-05/0.3784, allocations: 77.41 kB / 462.6 MB, free: 8.086 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00492/0.3833, allocations: 2.478 MB / 465.1 MB, free: 5.586 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003975/0.3837, allocations: 65.7 kB / 465.1 MB, free: 5.516 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001418/0.3852, allocations: 1.619 MB / 466.7 MB, free: 3.875 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009145/0.3861, allocations: 0.7278 MB / 467.5 MB, free: 3.137 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002838/0.3864, allocations: 48 kB / 467.5 MB, free: 3.09 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002486/0.3866, allocations: 402.6 kB / 467.9 MB, free: 2.691 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002431/0.3891, allocations: 1.308 MB / 469.2 MB, free: 1.379 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00275/0.3919, allocations: 1.779 MB / 471 MB, free: 15.41 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005291/0.3972, allocations: 3.227 MB / 474.2 MB, free: 12 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.841e-05/0.3972, allocations: 7.938 kB / 474.2 MB, free: 12 MB / 362.7 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.008167/0.4054, allocations: 4.075 MB / 478.3 MB, free: 7.895 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.572e-05/0.4055, allocations: 8 kB / 478.3 MB, free: 7.887 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.979e-05/0.4055, allocations: 16.47 kB / 478.3 MB, free: 7.871 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003005/0.4085, allocations: 0.871 MB / 479.2 MB, free: 6.984 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002349/0.4109, allocations: 0.5343 MB / 479.7 MB, free: 6.449 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01108/0.422, allocations: 8.745 MB / 488.5 MB, free: 13.3 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002358/0.4244, allocations: 115.9 kB / 488.6 MB, free: 13.19 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004555/0.4249, allocations: 83.98 kB / 488.7 MB, free: 13.11 MB / 378.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.002821/0.4277, allocations: 1.215 MB / 489.9 MB, free: 11.88 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008808/0.4286, allocations: 276.7 kB / 490.2 MB, free: 11.61 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007485/0.4361, allocations: 3.73 MB / 493.9 MB, free: 7.844 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.472e-05/0.4362, allocations: 20 kB / 493.9 MB, free: 7.824 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.693e-05/0.4362, allocations: 15.88 kB / 493.9 MB, free: 7.809 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.99e-05/0.4362, allocations: 11.95 kB / 493.9 MB, free: 7.797 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1847/0.6209, allocations: 8.094 MB / 0.4903 GB, free: 104.8 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.151e-05/0.621, allocations: 15.09 kB / 0.4903 GB, free: 104.8 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001866/0.6229, allocations: 381.3 kB / 0.4906 GB, free: 104.8 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003347/0.6262, allocations: 0.9264 MB / 0.4915 GB, free: 104.8 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004085/0.6267, allocations: 59.31 kB / 0.4916 GB, free: 104.8 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01098/0.6377, allocations: 10.18 MB / 0.5015 GB, free: 98.41 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.411e-06/0.6377, allocations: 7.188 kB / 0.5016 GB, free: 98.41 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009742/0.6475, allocations: 5.538 MB / 0.507 GB, free: 96.28 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001685/0.6492, allocations: 0.6315 MB / 0.5076 GB, free: 96.02 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008091/0.65, allocations: 49.58 kB / 0.5076 GB, free: 96 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001749/0.6518, allocations: 134.3 kB / 0.5078 GB, free: 95.97 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005376/0.6524, allocations: 181.8 kB / 0.5079 GB, free: 95.93 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002235/0.6526, allocations: 62.88 kB / 0.508 GB, free: 95.92 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.003229/0.6558, allocations: 1.711 MB / 0.5097 GB, free: 95.19 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.6e-07/0.6559, allocations: 0 / 0.5097 GB, free: 95.19 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003212/0.6591, allocations: 0.7938 MB / 0.5104 GB, free: 95.12 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.0007055/0.6598, allocations: 248.2 kB / 0.5107 GB, free: 94.95 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.005856/0.6657, allocations: 3.895 MB / 0.5145 GB, free: 92.08 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.885e-06/0.6657, allocations: 0 / 0.5145 GB, free: 92.08 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003505/0.6692, allocations: 2.485 MB / 0.5169 GB, free: 89.54 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005312/0.6746, allocations: 0.7329 MB / 0.5176 GB, free: 88.81 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01412/0.6887, allocations: 9.129 MB / 0.5265 GB, free: 79.66 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00288/0.6916, allocations: 2.723 MB / 0.5292 GB, free: 76.91 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00114/0.6928, allocations: 191.4 kB / 0.5294 GB, free: 76.73 MB / 378.7 MB Notification: Performance of SimCode: time 1.303e-06/0.6928, allocations: 0 / 0.5294 GB, free: 76.73 MB / 378.7 MB Notification: Performance of Templates: time 0.3009/0.9938, allocations: 141.1 MB / 0.6672 GB, free: 141.4 MB / 426.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.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/Transformers/AIMC_Transformer/AIMC_Transformer.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches