Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_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_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.001565/0.001565, allocations: 173.5 kB / 17.01 MB, free: 5.094 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.779/1.779, allocations: 205.4 MB / 223.1 MB, free: 9.109 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.0008053/0.0008053, allocations: 92.03 kB / 271.5 MB, free: 8.363 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000322/0.0003221, allocations: 8 kB / 328.3 MB, free: 15.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2863/0.2866, allocations: 47.57 MB / 375.8 MB, free: 45.66 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1273/0.414, allocations: 111.8 MB / 487.6 MB, free: 0.7734 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002523/0.4143, allocations: 87.95 kB / 487.7 MB, free: 0.6875 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4173/0.8315, allocations: 93.33 MB / 0.5674 GB, free: 49.35 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.325e-06/0.8316, allocations: 4 kB / 0.5675 GB, free: 49.35 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0003911/0.832, allocations: 91.88 kB / 0.5675 GB, free: 49.26 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.01178/0.8438, allocations: 3.959 MB / 0.5714 GB, free: 45.23 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.704e-05/0.8438, allocations: 12.03 kB / 0.5714 GB, free: 45.22 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002592/0.8464, allocations: 0.5024 MB / 0.5719 GB, free: 44.71 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008218/0.8547, allocations: 2.56 MB / 0.5744 GB, free: 42.1 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003028/0.855, allocations: 267 kB / 0.5747 GB, free: 41.84 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00141/0.8565, allocations: 355.9 kB / 0.575 GB, free: 41.49 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009039/0.8655, allocations: 4.944 MB / 0.5798 GB, free: 36.39 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.393e-05/0.8657, allocations: 11.91 kB / 0.5798 GB, free: 36.38 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003626/0.866, allocations: 148.3 kB / 0.58 GB, free: 36.24 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001667/0.8662, allocations: 179 kB / 0.5802 GB, free: 36.06 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006118/0.8723, allocations: 4.057 MB / 0.5841 GB, free: 32 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01954/0.8919, allocations: 14.95 MB / 0.5987 GB, free: 16.72 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003523/0.8955, allocations: 4.226 MB / 0.6028 GB, free: 12.2 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003306/0.8958, allocations: 143 kB / 0.603 GB, free: 12.04 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.616e-05/0.8959, allocations: 56.56 kB / 0.603 GB, free: 11.98 MB / 378.7 MB Notification: Performance of pre-optimization done (n=201): time 4.809e-06/0.8959, allocations: 4 kB / 0.603 GB, free: 11.97 MB / 378.7 MB Notification: Performance of matching and sorting (n=221): time 0.01769/0.9136, allocations: 10.17 MB / 0.613 GB, free: 1.695 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.059e-05/0.9137, allocations: 77.39 kB / 0.613 GB, free: 1.605 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004182/0.9179, allocations: 2.209 MB / 0.6152 GB, free: 15.38 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003988/0.9183, allocations: 65.7 kB / 0.6153 GB, free: 15.31 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001499/0.9198, allocations: 1.604 MB / 0.6168 GB, free: 13.68 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009451/0.9208, allocations: 0.7432 MB / 0.6176 GB, free: 12.93 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000198/0.921, allocations: 44 kB / 0.6176 GB, free: 12.89 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002723/0.9212, allocations: 394.5 kB / 0.618 GB, free: 12.5 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002451/0.9237, allocations: 1.312 MB / 0.6193 GB, free: 11.18 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002697/0.9264, allocations: 1.737 MB / 0.621 GB, free: 9.27 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002507/0.9289, allocations: 1.548 MB / 0.6225 GB, free: 7.723 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.227e-06/0.929, allocations: 4 kB / 0.6225 GB, free: 7.719 MB / 394.7 MB Notification: Performance of matching and sorting (n=291) (initialization): time 0.007554/0.9365, allocations: 4.052 MB / 0.6264 GB, free: 3.641 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.48e-05/0.9366, allocations: 12 kB / 0.6264 GB, free: 3.629 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.394e-05/0.9366, allocations: 11.98 kB / 0.6264 GB, free: 3.617 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001999/0.9386, allocations: 0.7656 MB / 0.6272 GB, free: 2.84 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002177/0.9408, allocations: 0.5265 MB / 0.6277 GB, free: 2.312 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01153/0.9524, allocations: 8.946 MB / 0.6364 GB, free: 8.965 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003069/0.9555, allocations: 124 kB / 0.6366 GB, free: 8.844 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003137/0.9558, allocations: 91.94 kB / 0.6367 GB, free: 8.754 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.003211/0.9591, allocations: 1.204 MB / 0.6378 GB, free: 7.539 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007687/0.9598, allocations: 280.6 kB / 0.6381 GB, free: 7.262 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006818/0.9667, allocations: 3.777 MB / 0.6418 GB, free: 3.449 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.856e-05/0.9667, allocations: 20 kB / 0.6418 GB, free: 3.43 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.268e-05/0.9667, allocations: 8 kB / 0.6418 GB, free: 3.422 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-05/0.9668, allocations: 11.95 kB / 0.6418 GB, free: 3.41 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2765/1.243, allocations: 8.075 MB / 0.6497 GB, free: 81.39 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-05/1.243, allocations: 3.406 kB / 0.6497 GB, free: 81.39 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001662/1.245, allocations: 394.2 kB / 0.6501 GB, free: 81.39 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002129/1.247, allocations: 0.8128 MB / 0.6509 GB, free: 81.35 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001888/1.247, allocations: 55.97 kB / 0.6509 GB, free: 81.35 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009651/1.257, allocations: 10.47 MB / 0.6612 GB, free: 76.22 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.029e-06/1.257, allocations: 8.156 kB / 0.6612 GB, free: 76.22 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009006/1.266, allocations: 5.824 MB / 0.6669 GB, free: 75.59 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002244/1.268, allocations: 0.6428 MB / 0.6675 GB, free: 75.49 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004322/1.269, allocations: 50.92 kB / 0.6675 GB, free: 75.49 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001342/1.27, allocations: 131.2 kB / 0.6677 GB, free: 75.49 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004346/1.271, allocations: 185 kB / 0.6678 GB, free: 75.49 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001393/1.271, allocations: 69.31 kB / 0.6679 GB, free: 75.49 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002631/1.273, allocations: 1.702 MB / 0.6696 GB, free: 75.34 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.112e-06/1.273, allocations: 3.344 kB / 0.6696 GB, free: 75.34 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003335/1.277, allocations: 0.8358 MB / 0.6704 GB, free: 75.34 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,(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.0008078/1.278, allocations: 374.5 kB / 0.6707 GB, free: 75.26 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.006425/1.284, allocations: 3.929 MB / 0.6746 GB, free: 74.64 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.957e-06/1.284, allocations: 0 / 0.6746 GB, free: 74.64 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004015/1.288, allocations: 2.518 MB / 0.677 GB, free: 74.06 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004992/1.293, allocations: 0.7386 MB / 0.6778 GB, free: 74.04 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01712/1.31, allocations: 9.106 MB / 0.6866 GB, free: 70.6 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002594/1.313, allocations: 2.835 MB / 0.6894 GB, free: 69.8 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002843/1.316, allocations: 0.6869 MB / 0.6901 GB, free: 69.73 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006835/1.316, allocations: 178.8 kB / 0.6903 GB, free: 69.73 MB / 410.7 MB Notification: Performance of SimCode: time 1.563e-06/1.317, allocations: 0 / 0.6903 GB, free: 69.73 MB / 410.7 MB Notification: Performance of Templates: time 0.08004/1.397, allocations: 46.16 MB / 0.7353 GB, free: 47.64 MB / 410.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_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_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches