Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.2..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.2..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008414/0.0008416, allocations: 178.6 kB / 17.04 MB, free: 5.109 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.229/1.229, allocations: 223.3 MB / 241 MB, free: 11.82 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0006995/0.0006995, allocations: 95.75 kB / 292.2 MB, free: 10.9 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002183/0.0002183, allocations: 15.88 kB / 351.8 MB, free: 15.29 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1789/0.1791, allocations: 50.39 MB / 402.2 MB, free: 32.61 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer): time 0.008691/0.1878, allocations: 11.4 MB / 413.6 MB, free: 21.16 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.007239/0.1951, allocations: 3.946 MB / 417.6 MB, free: 17.22 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001421/0.1966, allocations: 71.69 kB / 417.6 MB, free: 17.15 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001623/0.1982, allocations: 0.765 MB / 418.4 MB, free: 16.38 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002179/0.2004, allocations: 1.022 MB / 419.4 MB, free: 15.36 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007672/0.2012, allocations: 331.5 kB / 419.7 MB, free: 15.03 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003391/0.2046, allocations: 4.793 MB / 424.5 MB, free: 10.21 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00229/0.2069, allocations: 2.59 MB / 427.1 MB, free: 7.578 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002079/0.209, allocations: 1.572 MB / 428.7 MB, free: 6 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00204/0.211, allocations: 2.086 MB / 430.8 MB, free: 3.906 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003738/0.2114, allocations: 243.9 kB / 431 MB, free: 3.668 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007302/0.2121, allocations: 315.9 kB / 431.3 MB, free: 3.359 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007293/0.2129, allocations: 1.133 MB / 432.5 MB, free: 2.223 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006627/0.2135, allocations: 0.8394 MB / 433.3 MB, free: 1.375 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004575/0.2181, allocations: 5.992 MB / 439.3 MB, free: 11.36 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.2181, allocations: 0 / 439.3 MB, free: 11.36 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.985e-06/0.2182, allocations: 0 / 439.3 MB, free: 11.36 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001591/0.2183, allocations: 4 kB / 439.3 MB, free: 11.36 MB / 314.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.007571/0.2259, allocations: 4.005 MB / 443.3 MB, free: 7.293 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.226, allocations: 15.97 kB / 443.3 MB, free: 7.277 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001272/0.2272, allocations: 0.4947 MB / 443.8 MB, free: 6.777 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003765/0.231, allocations: 2.412 MB / 446.2 MB, free: 4.316 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001871/0.2312, allocations: 267 kB / 446.5 MB, free: 4.055 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004766/0.2317, allocations: 351.9 kB / 446.8 MB, free: 3.711 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007862/0.2396, allocations: 5.017 MB / 451.8 MB, free: 14.63 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.575e-05/0.2397, allocations: 3.906 kB / 451.8 MB, free: 14.62 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003108/0.24, allocations: 155.9 kB / 452 MB, free: 14.47 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001665/0.2401, allocations: 179.1 kB / 452.2 MB, free: 14.3 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006571/0.2467, allocations: 4.294 MB / 456.5 MB, free: 9.992 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02208/0.2688, allocations: 14.98 MB / 471.4 MB, free: 10.69 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004291/0.2732, allocations: 4.199 MB / 475.6 MB, free: 6.188 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003131/0.2763, allocations: 2.006 MB / 477.6 MB, free: 4.18 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002675/0.2766, allocations: 131.1 kB / 477.8 MB, free: 4.035 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.636e-05/0.2767, allocations: 60.56 kB / 477.8 MB, free: 3.965 MB / 346.7 MB Notification: Performance of pre-optimization done (n=198): time 5.831e-06/0.2767, allocations: 3.984 kB / 477.8 MB, free: 3.961 MB / 346.7 MB Notification: Performance of matching and sorting (n=218): time 0.01987/0.2966, allocations: 10.03 MB / 487.9 MB, free: 9.828 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.175e-05/0.2967, allocations: 77.39 kB / 487.9 MB, free: 9.742 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003465/0.3001, allocations: 2.49 MB / 490.4 MB, free: 7.23 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003133/0.3005, allocations: 61.7 kB / 490.5 MB, free: 7.164 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001014/0.3015, allocations: 1.619 MB / 492.1 MB, free: 5.523 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005832/0.3021, allocations: 0.7239 MB / 492.8 MB, free: 4.789 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001191/0.3022, allocations: 48 kB / 492.9 MB, free: 4.742 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001537/0.3024, allocations: 398.6 kB / 493.3 MB, free: 4.348 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001925/0.3043, allocations: 1.301 MB / 494.6 MB, free: 3.043 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00221/0.3065, allocations: 1.786 MB / 496.4 MB, free: 1.062 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002197/0.3087, allocations: 1.552 MB / 497.9 MB, free: 15.52 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.864e-06/0.3087, allocations: 4 kB / 497.9 MB, free: 15.51 MB / 378.7 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.006454/0.3152, allocations: 4.083 MB / 0.4902 GB, free: 11.4 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.999e-05/0.3153, allocations: 12 kB / 0.4902 GB, free: 11.39 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.245e-05/0.3153, allocations: 15.95 kB / 0.4903 GB, free: 11.38 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002811/0.3181, allocations: 0.8944 MB / 0.4911 GB, free: 10.47 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002183/0.3203, allocations: 0.5343 MB / 0.4917 GB, free: 9.934 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008959/0.3293, allocations: 8.737 MB / 0.5002 GB, free: 0.7969 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002102/0.3314, allocations: 127.8 kB / 0.5003 GB, free: 0.6719 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002281/0.3317, allocations: 83.98 kB / 0.5004 GB, free: 0.5898 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.1575/0.4892, allocations: 1.211 MB / 0.5016 GB, free: 92.66 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007208/0.4899, allocations: 272.1 kB / 0.5018 GB, free: 92.66 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005559/0.4955, allocations: 3.729 MB / 0.5055 GB, free: 91.71 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.902e-05/0.4955, allocations: 24.92 kB / 0.5055 GB, free: 91.71 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.182e-05/0.4955, allocations: 6.906 kB / 0.5055 GB, free: 91.71 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.701e-05/0.4956, allocations: 11.25 kB / 0.5055 GB, free: 91.71 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0109/0.5065, allocations: 8.092 MB / 0.5134 GB, free: 88.55 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.316e-06/0.5065, allocations: 3.844 kB / 0.5134 GB, free: 88.55 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001454/0.508, allocations: 386.8 kB / 0.5138 GB, free: 88.52 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002793/0.5108, allocations: 0.9351 MB / 0.5147 GB, free: 88.23 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001256/0.5109, allocations: 53.81 kB / 0.5148 GB, free: 88.2 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0077/0.5186, allocations: 10.21 MB / 0.5247 GB, free: 78.75 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.5186, allocations: 7.984 kB / 0.5247 GB, free: 78.74 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006482/0.5251, allocations: 5.524 MB / 0.5301 GB, free: 73.29 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009963/0.5261, allocations: 0.6369 MB / 0.5307 GB, free: 72.69 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003021/0.5264, allocations: 59.94 kB / 0.5308 GB, free: 72.63 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001243/0.5277, allocations: 123.9 kB / 0.5309 GB, free: 72.51 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002741/0.528, allocations: 181.8 kB / 0.5311 GB, free: 72.33 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001099/0.5281, allocations: 55.98 kB / 0.5311 GB, free: 72.28 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001925/0.53, allocations: 1.711 MB / 0.5328 GB, free: 70.55 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.53, allocations: 0 / 0.5328 GB, free: 70.55 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0018/0.5318, allocations: 0.809 MB / 0.5336 GB, free: 69.75 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 {(3,88.9%) 25,(2,100.0%) 12,(1,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004123/0.5323, allocations: 198.3 kB / 0.5338 GB, free: 69.57 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.004539/0.5368, allocations: 3.887 MB / 0.5376 GB, free: 65.6 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.5368, allocations: 1.969 kB / 0.5376 GB, free: 65.6 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002876/0.5397, allocations: 2.495 MB / 0.54 GB, free: 63.04 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002824/0.5425, allocations: 0.7559 MB / 0.5408 GB, free: 62.29 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009426/0.552, allocations: 9.12 MB / 0.5497 GB, free: 53.12 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001643/0.5537, allocations: 2.723 MB / 0.5523 GB, free: 50.38 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007868/0.5544, allocations: 191.4 kB / 0.5525 GB, free: 50.19 MB / 378.7 MB Notification: Performance of SimCode: time 1.313e-06/0.5545, allocations: 0 / 0.5525 GB, free: 50.19 MB / 378.7 MB Notification: Performance of Templates: time 0.2578/0.8122, allocations: 141.1 MB / 0.6903 GB, free: 134 MB / 442.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Transformer/IMC_Transformer.csv","../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches