Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001348/0.001349, allocations: 115.9 kB / 18.41 MB, free: 4.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00108/0.00108, allocations: 207.5 kB / 19.36 MB, free: 3.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.369/1.369, allocations: 227.4 MB / 247.5 MB, free: 10.32 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001161/0.001161, allocations: 58.25 kB / 308.4 MB, free: 15.87 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1012/0.1024, allocations: 50.53 MB / 358.9 MB, free: 13.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer): time 0.01353/0.116, allocations: 12.9 MB / 371.8 MB, free: 380 kB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1786/0.2947, allocations: 4.257 MB / 376.1 MB, free: 10.65 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001718/0.2964, allocations: 80.53 kB / 376.1 MB, free: 10.65 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002152/0.2986, allocations: 0.9723 MB / 377.1 MB, free: 10.4 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003609/0.3023, allocations: 1.18 MB / 378.3 MB, free: 10 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001399/0.3037, allocations: 0.5212 MB / 378.8 MB, free: 9.809 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.005444/0.3091, allocations: 4.66 MB / 383.5 MB, free: 7.629 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004062/0.3132, allocations: 3.695 MB / 387.2 MB, free: 6.148 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004585/0.3178, allocations: 2.142 MB / 389.3 MB, free: 5.176 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004667/0.3225, allocations: 2.559 MB / 391.9 MB, free: 4.039 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001268/0.3238, allocations: 0.5512 MB / 392.4 MB, free: 4.039 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002005/0.3258, allocations: 0.6536 MB / 393.1 MB, free: 4.02 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001276/0.3271, allocations: 1.528 MB / 394.6 MB, free: 3.176 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003228/0.3303, allocations: 2.483 MB / 397.1 MB, free: 1.457 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007429/0.3377, allocations: 7.441 MB / 404.5 MB, free: 11.85 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.887e-06/0.3378, allocations: 0 / 404.5 MB, free: 11.85 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.816e-06/0.3378, allocations: 0 / 404.5 MB, free: 11.85 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001942/0.338, allocations: 0 / 404.5 MB, free: 11.85 MB / 318.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.01041/0.3484, allocations: 4.699 MB / 409.2 MB, free: 7.094 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.34e-05/0.3485, allocations: 16.03 kB / 409.2 MB, free: 7.078 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001694/0.3502, allocations: 0.5229 MB / 409.8 MB, free: 6.551 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005519/0.3557, allocations: 2.598 MB / 412.4 MB, free: 3.918 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002096/0.3559, allocations: 270.1 kB / 412.6 MB, free: 3.656 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005552/0.3565, allocations: 353.2 kB / 413 MB, free: 3.316 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008522/0.365, allocations: 5.02 MB / 418 MB, free: 14.23 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.601e-05/0.3651, allocations: 11.84 kB / 418 MB, free: 14.22 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003303/0.3655, allocations: 143.1 kB / 418.1 MB, free: 14.09 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001753/0.3656, allocations: 187 kB / 418.3 MB, free: 13.9 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007269/0.3729, allocations: 4.294 MB / 422.6 MB, free: 9.602 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02235/0.3953, allocations: 14.71 MB / 437.3 MB, free: 10.69 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004223/0.3995, allocations: 4.19 MB / 441.5 MB, free: 6.188 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00308/0.4026, allocations: 2 MB / 443.5 MB, free: 4.199 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002661/0.4029, allocations: 129.7 kB / 443.7 MB, free: 4.059 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.756e-05/0.403, allocations: 60.56 kB / 443.7 MB, free: 3.988 MB / 350.1 MB Notification: Performance of pre-optimization done (n=198): time 3.617e-06/0.403, allocations: 0 / 443.7 MB, free: 3.988 MB / 350.1 MB Notification: Performance of matching and sorting (n=218): time 0.01912/0.4221, allocations: 9.941 MB / 453.7 MB, free: 9.941 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.439e-05/0.4222, allocations: 77.41 kB / 453.7 MB, free: 9.855 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003556/0.4258, allocations: 2.514 MB / 456.2 MB, free: 7.32 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001877/0.426, allocations: 65.7 kB / 456.3 MB, free: 7.25 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001123/0.4271, allocations: 1.627 MB / 457.9 MB, free: 5.609 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007596/0.4279, allocations: 0.7301 MB / 458.7 MB, free: 4.887 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007438/0.4286, allocations: 412.4 kB / 459.1 MB, free: 4.477 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001362/0.4288, allocations: 301.1 kB / 459.4 MB, free: 4.18 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00209/0.4308, allocations: 1.301 MB / 460.7 MB, free: 2.875 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002289/0.4332, allocations: 1.782 MB / 462.4 MB, free: 0.9023 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004299/0.4375, allocations: 3.209 MB / 465.6 MB, free: 13.51 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.508e-06/0.4375, allocations: 4 kB / 465.7 MB, free: 13.51 MB / 382.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.007125/0.4446, allocations: 4.087 MB / 469.7 MB, free: 9.395 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.442e-05/0.4447, allocations: 12 kB / 469.8 MB, free: 9.383 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.324e-05/0.4447, allocations: 12 kB / 469.8 MB, free: 9.371 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002792/0.4475, allocations: 0.8876 MB / 470.7 MB, free: 8.469 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002091/0.4496, allocations: 0.5266 MB / 471.2 MB, free: 7.941 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01047/0.4601, allocations: 9.468 MB / 480.6 MB, free: 14.06 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002102/0.4622, allocations: 111.8 kB / 480.8 MB, free: 13.95 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002092/0.4624, allocations: 87.98 kB / 480.8 MB, free: 13.87 MB / 398.1 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 (booleanStep2[3].y,booleanStep2[2].y,booleanStep2[1].y,idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * 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 (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(3,25,77.8%), (2,12,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002165/0.4646, allocations: 1.23 MB / 482.1 MB, free: 12.63 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005855/0.4652, allocations: 276.7 kB / 482.3 MB, free: 12.36 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006225/0.4714, allocations: 3.711 MB / 486.1 MB, free: 8.613 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.761e-05/0.4715, allocations: 20 kB / 486.1 MB, free: 8.594 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.444e-05/0.4715, allocations: 12 kB / 486.1 MB, free: 8.582 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.849e-05/0.4715, allocations: 11.95 kB / 486.1 MB, free: 8.57 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01417/0.4857, allocations: 8.037 MB / 494.1 MB, free: 476 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.618e-06/0.4858, allocations: 4 kB / 494.1 MB, free: 472 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001649/0.4874, allocations: 383.8 kB / 494.5 MB, free: 88 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003059/0.4905, allocations: 0.9213 MB / 495.4 MB, free: 15.15 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001609/0.4907, allocations: 51.98 kB / 495.5 MB, free: 15.1 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01151/0.5022, allocations: 11.1 MB / 0.4947 GB, free: 3.438 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.15e-06/0.5022, allocations: 4 kB / 0.4947 GB, free: 3.434 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008673/0.5109, allocations: 5.507 MB / 0.5001 GB, free: 13.86 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001932/0.5129, allocations: 0.6304 MB / 0.5007 GB, free: 13.21 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006436/0.5135, allocations: 51.98 kB / 0.5008 GB, free: 13.16 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001392/0.5149, allocations: 111.9 kB / 0.5009 GB, free: 13.05 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004519/0.5154, allocations: 181.7 kB / 0.501 GB, free: 12.87 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001437/0.5155, allocations: 59.98 kB / 0.5011 GB, free: 12.81 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002464/0.518, allocations: 1.743 MB / 0.5028 GB, free: 11.06 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.518, allocations: 0 / 0.5028 GB, free: 11.06 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002523/0.5205, allocations: 0.7969 MB / 0.5036 GB, free: 10.26 MB / 430.1 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 (not torn): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,25,88.9%), (2,12,100.0%), (1,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005712/0.5211, allocations: 251.5 kB / 0.5038 GB, free: 10.02 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.006071/0.5272, allocations: 3.887 MB / 0.5076 GB, free: 6.051 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 7.924e-06/0.5272, allocations: 4 kB / 0.5076 GB, free: 6.047 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003913/0.5312, allocations: 2.479 MB / 0.51 GB, free: 3.5 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003401/0.5346, allocations: 0.7991 MB / 0.5108 GB, free: 2.711 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01251/0.5471, allocations: 7.731 MB / 0.5184 GB, free: 10.93 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002634/0.5498, allocations: 2.777 MB / 0.5211 GB, free: 8.129 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002364/0.5522, allocations: 0.6868 MB / 0.5217 GB, free: 7.438 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005784/0.5528, allocations: 183.4 kB / 0.5219 GB, free: 7.258 MB / 446.1 MB Notification: Performance of SimCode: time 7.41e-07/0.5528, allocations: 0 / 0.5219 GB, free: 7.258 MB / 446.1 MB Notification: Performance of Templates: time 0.2336/0.7864, allocations: 43.81 MB / 0.5647 GB, free: 124.9 MB / 446.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.makefile (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe 2>&1) diffSimulationResults("Modelica_trunk_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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches