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.001502/0.001502, allocations: 181.8 kB / 8.365 MB, free: 0.7109 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.018/2.018, allocations: 205.3 MB / 214.1 MB, free: 14.12 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.001094/0.001094, allocations: 90.38 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 2.595e-05/2.608e-05, allocations: 7.984 kB / 314.8 MB, free: 9.141 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3332/0.3333, allocations: 47.56 MB / 362.3 MB, free: 45.81 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1809/0.5142, allocations: 111.1 MB / 473.4 MB, free: 7.152 MB / 363.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003438/0.5146, allocations: 88.78 kB / 473.5 MB, free: 7.066 MB / 363.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.6803/1.195, allocations: 92.4 MB / 0.5526 GB, free: 89.1 MB / 395.1 MB Notification: Performance of FrontEnd: time 2.675e-06/1.195, allocations: 0 / 0.5526 GB, free: 89.1 MB / 395.1 MB Notification: Performance of Transformations before backend: time 0.0004687/1.195, allocations: 103.2 kB / 0.5527 GB, free: 89.08 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.01448/1.21, allocations: 3.537 MB / 0.5562 GB, free: 85.91 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.234e-05/1.21, allocations: 8.031 kB / 0.5562 GB, free: 85.91 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003088/1.213, allocations: 0.5063 MB / 0.5567 GB, free: 85.39 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007927/1.221, allocations: 2.547 MB / 0.5592 GB, free: 82.84 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001973/1.221, allocations: 112 kB / 0.5593 GB, free: 82.73 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001203/1.223, allocations: 211.9 kB / 0.5595 GB, free: 82.52 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01005/1.233, allocations: 3.7 MB / 0.5631 GB, free: 78.82 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01488/1.248, allocations: 4.333 MB / 0.5673 GB, free: 74.34 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000217/1.248, allocations: 4 kB / 0.5673 GB, free: 74.33 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001346/1.249, allocations: 4 kB / 0.5673 GB, free: 74.33 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002443/1.249, allocations: 175.1 kB / 0.5675 GB, free: 74.16 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0403/1.29, allocations: 14.24 MB / 0.5814 GB, free: 59.73 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005624/1.295, allocations: 4.061 MB / 0.5854 GB, free: 55.38 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00363/1.299, allocations: 1.756 MB / 0.5871 GB, free: 53.62 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004536/1.3, allocations: 151 kB / 0.5872 GB, free: 53.46 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.648e-05/1.3, allocations: 60.5 kB / 0.5873 GB, free: 53.39 MB / 395.1 MB Notification: Performance of pre-optimization done (n=201): time 5.049e-06/1.3, allocations: 0 / 0.5873 GB, free: 53.39 MB / 395.1 MB Notification: Performance of matching and sorting (n=221): time 0.02407/1.324, allocations: 7.202 MB / 0.5943 GB, free: 46.16 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.759e-05/1.324, allocations: 73.41 kB / 0.5944 GB, free: 46.07 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004647/1.329, allocations: 1.746 MB / 0.5961 GB, free: 44.3 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005779/1.329, allocations: 29.7 kB / 0.5961 GB, free: 44.26 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001229/1.33, allocations: 1.51 MB / 0.5976 GB, free: 42.74 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001/1.331, allocations: 0.712 MB / 0.5983 GB, free: 42.02 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000208/1.332, allocations: 0 / 0.5983 GB, free: 42.02 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001662/1.332, allocations: 399.4 kB / 0.5987 GB, free: 41.62 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002495/1.334, allocations: 1.199 MB / 0.5999 GB, free: 40.41 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002892/1.337, allocations: 1.607 MB / 0.6014 GB, free: 38.64 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003197/1.341, allocations: 1.431 MB / 0.6028 GB, free: 37.21 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.998e-05/1.341, allocations: 8 kB / 0.6028 GB, free: 37.21 MB / 395.1 MB Notification: Performance of matching and sorting (n=291) (initialization): time 0.009287/1.35, allocations: 3.527 MB / 0.6063 GB, free: 33.66 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.65e-05/1.35, allocations: 8 kB / 0.6063 GB, free: 33.65 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.674e-05/1.35, allocations: 12 kB / 0.6063 GB, free: 33.64 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00293/1.353, allocations: 0.753 MB / 0.607 GB, free: 32.87 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004205/1.357, allocations: 0.5305 MB / 0.6075 GB, free: 32.34 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01256/1.37, allocations: 8.333 MB / 0.6157 GB, free: 23.67 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003135/1.373, allocations: 75.88 kB / 0.6158 GB, free: 23.59 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005347/1.374, allocations: 91.98 kB / 0.6158 GB, free: 23.5 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.0005684/1.374, allocations: 154 kB / 0.616 GB, free: 23.35 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008226/1.375, allocations: 249 kB / 0.6162 GB, free: 23.1 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008601/1.384, allocations: 3.427 MB / 0.6196 GB, free: 19.64 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.241e-05/1.384, allocations: 24 kB / 0.6196 GB, free: 19.62 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.434e-05/1.384, allocations: 4 kB / 0.6196 GB, free: 19.61 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.235e-05/1.384, allocations: 7.969 kB / 0.6196 GB, free: 19.61 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01994/1.404, allocations: 7.284 MB / 0.6267 GB, free: 12.27 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.135e-05/1.404, allocations: 8.062 kB / 0.6267 GB, free: 12.26 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003331/1.407, allocations: 391.5 kB / 0.6271 GB, free: 11.88 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00354/1.411, allocations: 0.7966 MB / 0.6279 GB, free: 11.07 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004661/1.411, allocations: 19.98 kB / 0.6279 GB, free: 11.05 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01386/1.425, allocations: 9.82 MB / 0.6375 GB, free: 0.7695 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.806e-06/1.425, allocations: 4 kB / 0.6375 GB, free: 0.7656 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0136/1.439, allocations: 5.398 MB / 0.6428 GB, free: 11.21 MB / 411.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00254/1.441, allocations: 0.5995 MB / 0.6434 GB, free: 10.59 MB / 411.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008404/1.442, allocations: 15.98 kB / 0.6434 GB, free: 10.58 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002827/1.445, allocations: 87.91 kB / 0.6435 GB, free: 10.49 MB / 411.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007879/1.446, allocations: 193.7 kB / 0.6436 GB, free: 10.3 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000253/1.446, allocations: 63.98 kB / 0.6437 GB, free: 10.24 MB / 411.1 MB Notification: Performance of sorting global known variables: time 0.003368/1.45, allocations: 1.313 MB / 0.645 GB, free: 8.91 MB / 411.1 MB Notification: Performance of sort global known variables: time 7.71e-07/1.45, allocations: 0 / 0.645 GB, free: 8.91 MB / 411.1 MB Notification: Performance of remove unused functions: time 0.004296/1.454, allocations: 0.7109 MB / 0.6457 GB, free: 8.199 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.001058/1.455, allocations: 343.1 kB / 0.646 GB, free: 7.879 MB / 411.1 MB Notification: Performance of simCode: created initialization part: time 0.009279/1.464, allocations: 3.636 MB / 0.6496 GB, free: 4.168 MB / 411.1 MB Notification: Performance of simCode: created event and clocks part: time 8.487e-06/1.464, allocations: 0 / 0.6496 GB, free: 4.168 MB / 411.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006539/1.471, allocations: 2.348 MB / 0.6518 GB, free: 1.762 MB / 411.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005048/1.476, allocations: 0.5299 MB / 0.6524 GB, free: 1.227 MB / 411.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3023/1.778, allocations: 6.265 MB / 0.6585 GB, free: 92.45 MB / 411.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004782/1.783, allocations: 2.788 MB / 0.6612 GB, free: 91.69 MB / 411.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001494/1.785, allocations: 170.9 kB / 0.6614 GB, free: 91.69 MB / 411.1 MB Notification: Performance of SimCode: time 1.092e-06/1.785, allocations: 0 / 0.6614 GB, free: 91.69 MB / 411.1 MB Notification: Performance of Templates: time 0.2112/1.996, allocations: 131.7 MB / 0.7899 GB, free: 13.93 MB / 427.1 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/jenkins1/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