Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.Transformers.IMC_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.|aimc.is.1.|aimc.is.2.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.2..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer") translateModel(Modelica.Electrical.Machines.Examples.Transformers.IMC_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.|aimc.is.1.|aimc.is.2.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.2..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001319/0.001319, allocations: 200 kB / 18.06 MB, free: 3.648 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.295/1.295, allocations: 226.5 MB / 245.4 MB, free: 8.074 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007769/0.0007767, allocations: 95.8 kB / 297.4 MB, free: 6.875 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002008/0.0002008, allocations: 4 kB / 357.4 MB, free: 10.92 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1862/0.1864, allocations: 51.29 MB / 408.7 MB, free: 27.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2805/0.467, allocations: 113.1 MB / 0.5095 GB, free: 98.27 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002021/0.4672, allocations: 92.8 kB / 0.5096 GB, free: 98.27 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1934/0.6606, allocations: 93.78 MB / 0.6012 GB, free: 9.996 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.903e-06/0.6607, allocations: 0 / 0.6012 GB, free: 9.996 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0003138/0.661, allocations: 103.9 kB / 0.6013 GB, free: 9.895 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.00897/0.67, allocations: 3.939 MB / 0.6051 GB, free: 5.883 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.67, allocations: 15.97 kB / 0.6052 GB, free: 5.867 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002138/0.6722, allocations: 0.5385 MB / 0.6057 GB, free: 5.324 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005025/0.6772, allocations: 2.641 MB / 0.6083 GB, free: 2.633 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001424/0.6774, allocations: 271.4 kB / 0.6085 GB, free: 2.367 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004902/0.6779, allocations: 352.3 kB / 0.6089 GB, free: 2.023 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007137/0.685, allocations: 4.956 MB / 0.6137 GB, free: 12.91 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.697e-05/0.6851, allocations: 12.11 kB / 0.6137 GB, free: 12.9 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003468/0.6855, allocations: 151.9 kB / 0.6138 GB, free: 12.75 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001523/0.6856, allocations: 175.1 kB / 0.614 GB, free: 12.58 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00652/0.6922, allocations: 4.049 MB / 0.618 GB, free: 8.527 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02357/0.7157, allocations: 14.96 MB / 0.6326 GB, free: 9.242 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00477/0.7206, allocations: 4.223 MB / 0.6367 GB, free: 4.715 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002818/0.7234, allocations: 1.895 MB / 0.6386 GB, free: 2.82 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003127/0.7237, allocations: 143.1 kB / 0.6387 GB, free: 2.664 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.116e-05/0.7238, allocations: 60.5 kB / 0.6387 GB, free: 2.594 MB / 410.7 MB Notification: Performance of pre-optimization done (n=201): time 4.108e-06/0.7238, allocations: 0 / 0.6387 GB, free: 2.594 MB / 410.7 MB Notification: Performance of matching and sorting (n=221): time 0.02/0.7438, allocations: 10.15 MB / 0.6487 GB, free: 8.312 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.928e-05/0.7439, allocations: 77.41 kB / 0.6487 GB, free: 8.227 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003991/0.7479, allocations: 2.479 MB / 0.6512 GB, free: 5.727 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003134/0.7482, allocations: 61.7 kB / 0.6512 GB, free: 5.66 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001147/0.7494, allocations: 1.608 MB / 0.6528 GB, free: 4.031 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006678/0.7501, allocations: 0.7393 MB / 0.6535 GB, free: 3.281 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001384/0.7502, allocations: 44 kB / 0.6536 GB, free: 3.238 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002111/0.7504, allocations: 402.5 kB / 0.6539 GB, free: 2.84 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002053/0.7525, allocations: 1.297 MB / 0.6552 GB, free: 1.539 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002343/0.7548, allocations: 1.725 MB / 0.6569 GB, free: 15.64 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004518/0.7594, allocations: 3.159 MB / 0.66 GB, free: 12.32 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.708e-06/0.7594, allocations: 4 kB / 0.66 GB, free: 12.32 MB / 442.7 MB Notification: Performance of matching and sorting (n=291) (initialization): time 0.007148/0.7666, allocations: 4.021 MB / 0.6639 GB, free: 8.273 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.499e-05/0.7666, allocations: 12 kB / 0.6639 GB, free: 8.262 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.779e-05/0.7667, allocations: 12 kB / 0.6639 GB, free: 8.25 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002056/0.7687, allocations: 0.7659 MB / 0.6647 GB, free: 7.473 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00209/0.7708, allocations: 0.5266 MB / 0.6652 GB, free: 6.945 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2159/0.9868, allocations: 8.73 MB / 0.6737 GB, free: 80.55 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002197/0.989, allocations: 121.8 kB / 0.6738 GB, free: 80.55 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001817/0.9892, allocations: 87.53 kB / 0.6739 GB, free: 80.55 MB / 442.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.002118/0.9913, allocations: 1.213 MB / 0.6751 GB, free: 80.43 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006877/0.992, allocations: 274.1 kB / 0.6754 GB, free: 80.43 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005811/0.9978, allocations: 3.753 MB / 0.679 GB, free: 80.29 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.239e-05/0.9979, allocations: 21.69 kB / 0.679 GB, free: 80.29 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.309e-05/0.9979, allocations: 6.969 kB / 0.679 GB, free: 80.29 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.694e-05/0.9979, allocations: 10.64 kB / 0.6791 GB, free: 80.29 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01279/1.011, allocations: 8.07 MB / 0.6869 GB, free: 79.68 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.819e-06/1.011, allocations: 0 / 0.6869 GB, free: 79.68 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001695/1.012, allocations: 398.5 kB / 0.6873 GB, free: 79.68 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002111/1.015, allocations: 0.8025 MB / 0.6881 GB, free: 79.64 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001811/1.015, allocations: 55.77 kB / 0.6882 GB, free: 79.64 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008996/1.024, allocations: 10.24 MB / 0.6982 GB, free: 74.48 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/1.024, allocations: 3.156 kB / 0.6982 GB, free: 74.48 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00912/1.033, allocations: 5.567 MB / 0.7036 GB, free: 74.11 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001802/1.035, allocations: 0.6401 MB / 0.7042 GB, free: 74.02 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004989/1.035, allocations: 55.31 kB / 0.7043 GB, free: 74.01 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00135/1.037, allocations: 130.9 kB / 0.7044 GB, free: 74.01 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004578/1.037, allocations: 180.4 kB / 0.7046 GB, free: 74.01 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001551/1.037, allocations: 66.34 kB / 0.7046 GB, free: 74.01 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002491/1.04, allocations: 1.702 MB / 0.7063 GB, free: 73.86 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.11e-07/1.04, allocations: 0 / 0.7063 GB, free: 73.86 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002942/1.043, allocations: 0.8454 MB / 0.7071 GB, free: 73.86 MB / 442.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.0007323/1.044, allocations: 378.6 kB / 0.7075 GB, free: 73.76 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005654/1.049, allocations: 3.91 MB / 0.7113 GB, free: 73.16 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.302e-06/1.049, allocations: 2.594 kB / 0.7113 GB, free: 73.16 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003331/1.053, allocations: 2.49 MB / 0.7137 GB, free: 72.45 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004375/1.057, allocations: 0.7612 MB / 0.7145 GB, free: 72.26 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01881/1.076, allocations: 9.096 MB / 0.7234 GB, free: 67.75 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003197/1.079, allocations: 2.722 MB / 0.726 GB, free: 66.61 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001359/1.08, allocations: 191.7 kB / 0.7262 GB, free: 66.6 MB / 442.7 MB Notification: Performance of SimCode: time 1.092e-06/1.08, allocations: 0 / 0.7262 GB, free: 66.6 MB / 442.7 MB Notification: Performance of Templates: time 0.3327/1.413, allocations: 142.2 MB / 0.865 GB, free: 112.5 MB / 474.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.makefile (rm -f Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe >> ../files/Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.sim & ./Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/Transformers/IMC_Transformer/IMC_Transformer.csv","../files/Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches