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.001901/0.0019, allocations: 182.3 kB / 17.41 MB, free: 4.406 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.065/3.065, allocations: 205.4 MB / 223.6 MB, free: 9.012 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.001154/0.001154, allocations: 89.41 kB / 271.9 MB, free: 8.254 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005012/0.0005015, allocations: 15.98 kB / 328.2 MB, free: 15.94 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5253/0.5258, allocations: 47.57 MB / 375.7 MB, free: 45.44 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2404/0.7663, allocations: 112.1 MB / 487.8 MB, free: 496 kB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005149/0.7669, allocations: 91.95 kB / 487.9 MB, free: 404 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7775/1.544, allocations: 93.25 MB / 0.5675 GB, free: 49.12 MB / 378.7 MB Notification: Performance of FrontEnd: time 6.201e-06/1.545, allocations: 0 / 0.5675 GB, free: 49.12 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0007404/1.545, allocations: 95.92 kB / 0.5676 GB, free: 49.02 MB / 378.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.02081/1.566, allocations: 3.92 MB / 0.5715 GB, free: 45.03 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.587e-05/1.566, allocations: 8.031 kB / 0.5715 GB, free: 45.02 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004393/1.571, allocations: 0.5073 MB / 0.572 GB, free: 44.51 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01214/1.583, allocations: 2.637 MB / 0.5745 GB, free: 41.82 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005487/1.584, allocations: 263.4 kB / 0.5748 GB, free: 41.57 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002657/1.586, allocations: 356.2 kB / 0.5751 GB, free: 41.22 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02193/1.608, allocations: 4.968 MB / 0.58 GB, free: 36.1 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002788/1.609, allocations: 12.09 kB / 0.58 GB, free: 36.09 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001748/1.61, allocations: 155.9 kB / 0.5801 GB, free: 35.93 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003061/1.611, allocations: 175.1 kB / 0.5803 GB, free: 35.76 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01714/1.628, allocations: 4.061 MB / 0.5843 GB, free: 31.7 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05488/1.683, allocations: 14.97 MB / 0.5989 GB, free: 16.39 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00897/1.692, allocations: 4.207 MB / 0.603 GB, free: 11.89 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005257/1.697, allocations: 1.893 MB / 0.6048 GB, free: 9.988 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007038/1.698, allocations: 151 kB / 0.605 GB, free: 9.824 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.089e-05/1.698, allocations: 60.5 kB / 0.605 GB, free: 9.754 MB / 378.7 MB Notification: Performance of pre-optimization done (n=201): time 1.201e-05/1.698, allocations: 0 / 0.605 GB, free: 9.754 MB / 378.7 MB Notification: Performance of matching and sorting (n=221): time 0.04251/1.741, allocations: 10.1 MB / 0.6149 GB, free: 15.54 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.32e-05/1.741, allocations: 73.41 kB / 0.615 GB, free: 15.46 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009369/1.75, allocations: 2.483 MB / 0.6174 GB, free: 12.96 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007644/1.751, allocations: 61.7 kB / 0.6175 GB, free: 12.89 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002722/1.754, allocations: 1.596 MB / 0.619 GB, free: 11.27 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001913/1.756, allocations: 0.747 MB / 0.6198 GB, free: 10.52 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006751/1.756, allocations: 44 kB / 0.6198 GB, free: 10.47 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0004787/1.757, allocations: 398.5 kB / 0.6202 GB, free: 10.08 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005139/1.762, allocations: 1.3 MB / 0.6214 GB, free: 8.773 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005703/1.768, allocations: 1.725 MB / 0.6231 GB, free: 6.871 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01127/1.779, allocations: 3.159 MB / 0.6262 GB, free: 3.555 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.55e-05/1.779, allocations: 4 kB / 0.6262 GB, free: 3.551 MB / 394.7 MB Notification: Performance of matching and sorting (n=291) (initialization): time 0.01865/1.798, allocations: 4.025 MB / 0.6302 GB, free: 15.5 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.552e-05/1.798, allocations: 12.03 kB / 0.6302 GB, free: 15.48 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.929e-05/1.798, allocations: 12 kB / 0.6302 GB, free: 15.47 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004034/1.802, allocations: 0.7581 MB / 0.6309 GB, free: 14.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005032/1.807, allocations: 0.5305 MB / 0.6314 GB, free: 14.17 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02183/1.829, allocations: 8.732 MB / 0.64 GB, free: 5.047 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005401/1.835, allocations: 123.7 kB / 0.6401 GB, free: 4.926 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001195/1.836, allocations: 88 kB / 0.6402 GB, free: 4.84 MB / 410.7 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 () * Number of clocked 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.007772/1.844, allocations: 1.219 MB / 0.6414 GB, free: 3.609 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00275/1.847, allocations: 276.7 kB / 0.6416 GB, free: 3.336 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4582/2.305, allocations: 3.742 MB / 0.6453 GB, free: 81.16 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.103e-05/2.305, allocations: 26.33 kB / 0.6453 GB, free: 81.16 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.138e-05/2.305, allocations: 11.16 kB / 0.6453 GB, free: 81.16 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.534e-05/2.305, allocations: 10.88 kB / 0.6453 GB, free: 81.16 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02877/2.334, allocations: 8.053 MB / 0.6532 GB, free: 80.58 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.812e-05/2.334, allocations: 3.25 kB / 0.6532 GB, free: 80.58 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00285/2.337, allocations: 394 kB / 0.6536 GB, free: 80.58 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003533/2.341, allocations: 0.7969 MB / 0.6543 GB, free: 80.54 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004897/2.341, allocations: 60.41 kB / 0.6544 GB, free: 80.54 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01652/2.358, allocations: 10.24 MB / 0.6644 GB, free: 75.39 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.824e-06/2.358, allocations: 4.828 kB / 0.6644 GB, free: 75.39 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01535/2.373, allocations: 5.568 MB / 0.6698 GB, free: 75.02 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003382/2.377, allocations: 0.6422 MB / 0.6705 GB, free: 74.93 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001435/2.378, allocations: 45.25 kB / 0.6705 GB, free: 74.93 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003514/2.382, allocations: 130.5 kB / 0.6706 GB, free: 74.93 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008666/2.382, allocations: 185.3 kB / 0.6708 GB, free: 74.92 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003058/2.383, allocations: 64.62 kB / 0.6709 GB, free: 74.92 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.005924/2.389, allocations: 1.706 MB / 0.6725 GB, free: 74.78 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.62e-07/2.389, allocations: 0.5312 kB / 0.6725 GB, free: 74.78 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.006736/2.396, allocations: 0.8323 MB / 0.6733 GB, free: 74.78 MB / 410.7 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 () * Number of clocked 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,(2,100.0%) 26,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001568/2.397, allocations: 370.4 kB / 0.6737 GB, free: 74.68 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01135/2.409, allocations: 3.907 MB / 0.6775 GB, free: 74.07 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.8e-05/2.409, allocations: 1.625 kB / 0.6775 GB, free: 74.07 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008556/2.417, allocations: 2.492 MB / 0.6799 GB, free: 73.48 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01056/2.428, allocations: 0.7672 MB / 0.6807 GB, free: 73.45 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02777/2.456, allocations: 9.08 MB / 0.6896 GB, free: 69.11 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004556/2.46, allocations: 2.725 MB / 0.6922 GB, free: 67.97 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00183/2.462, allocations: 188.4 kB / 0.6924 GB, free: 67.96 MB / 410.7 MB Notification: Performance of SimCode: time 1.503e-06/2.462, allocations: 0 / 0.6924 GB, free: 67.96 MB / 410.7 MB Notification: Performance of Templates: time 0.7603/3.223, allocations: 142.1 MB / 0.8312 GB, free: 111.5 MB / 442.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/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