Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.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.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_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_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008223/0.0008223, allocations: 95.97 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001095/0.001095, allocations: 202.4 kB / 18.28 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.413/1.413, allocations: 227.8 MB / 246.8 MB, free: 11.49 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000235/0.0002346, allocations: 8 kB / 307.8 MB, free: 0.7891 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1/0.1003, allocations: 51.52 MB / 359.3 MB, free: 13.27 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer): time 0.0131/0.1134, allocations: 12.2 MB / 371.5 MB, free: 1.02 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1991/0.3126, allocations: 4.173 MB / 375.6 MB, free: 9.793 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002999/0.3156, allocations: 71.94 kB / 375.7 MB, free: 9.793 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003433/0.3191, allocations: 0.8507 MB / 376.6 MB, free: 9.594 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005716/0.3248, allocations: 1.087 MB / 377.7 MB, free: 9.277 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001978/0.3268, allocations: 470.2 kB / 378.1 MB, free: 9.266 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.008323/0.3351, allocations: 5.33 MB / 383.4 MB, free: 7.543 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005739/0.3409, allocations: 3.024 MB / 386.5 MB, free: 6.293 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004721/0.3457, allocations: 1.595 MB / 388.1 MB, free: 5.633 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004206/0.3499, allocations: 2.179 MB / 390.2 MB, free: 4.793 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001195/0.3511, allocations: 241.6 kB / 390.5 MB, free: 4.793 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002347/0.3534, allocations: 357.1 kB / 390.8 MB, free: 4.766 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001777/0.3552, allocations: 1.149 MB / 392 MB, free: 4.172 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003085/0.3583, allocations: 2.079 MB / 394.1 MB, free: 2.758 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005522/0.3639, allocations: 6.956 MB / 401 MB, free: 13.76 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.3639, allocations: 2.25 kB / 401 MB, free: 13.76 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.3639, allocations: 0 / 401 MB, free: 13.76 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001452/0.364, allocations: 4 kB / 401 MB, free: 13.75 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.007939/0.372, allocations: 3.969 MB / 405 MB, free: 10.56 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.708e-05/0.372, allocations: 8.031 kB / 405 MB, free: 10.55 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001708/0.3737, allocations: 0.5385 MB / 405.5 MB, free: 10.01 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004129/0.3779, allocations: 2.519 MB / 408 MB, free: 7.457 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002133/0.3781, allocations: 272 kB / 408.3 MB, free: 7.195 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005504/0.3787, allocations: 355.2 kB / 408.7 MB, free: 6.852 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008151/0.3868, allocations: 5.028 MB / 413.7 MB, free: 1.766 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.431e-05/0.3869, allocations: 19.92 kB / 413.7 MB, free: 1.746 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003176/0.3872, allocations: 143.2 kB / 413.8 MB, free: 1.609 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001724/0.3874, allocations: 179.1 kB / 414 MB, free: 1.434 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008526/0.396, allocations: 4.318 MB / 418.3 MB, free: 13.11 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02414/0.4201, allocations: 14.99 MB / 433.3 MB, free: 13.91 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004302/0.4245, allocations: 4.21 MB / 437.5 MB, free: 9.395 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003061/0.4275, allocations: 2.006 MB / 439.5 MB, free: 7.398 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002735/0.4278, allocations: 137.9 kB / 439.7 MB, free: 7.25 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.601e-05/0.4279, allocations: 56.56 kB / 439.7 MB, free: 7.184 MB / 350.1 MB Notification: Performance of pre-optimization done (n=198): time 3.566e-06/0.4279, allocations: 0 / 439.7 MB, free: 7.184 MB / 350.1 MB Notification: Performance of matching and sorting (n=218): time 0.01953/0.4474, allocations: 10.07 MB / 449.8 MB, free: 13.01 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.516e-05/0.4475, allocations: 73.41 kB / 449.9 MB, free: 12.93 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00402/0.4516, allocations: 2.514 MB / 452.4 MB, free: 10.39 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001443/0.4517, allocations: 65.7 kB / 452.5 MB, free: 10.32 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001199/0.4529, allocations: 1.621 MB / 454.1 MB, free: 8.688 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005935/0.4535, allocations: 0.7274 MB / 454.8 MB, free: 7.969 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002646/0.4538, allocations: 198.3 kB / 455 MB, free: 7.77 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001077/0.4539, allocations: 301.1 kB / 455.3 MB, free: 7.473 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001935/0.4559, allocations: 1.316 MB / 456.6 MB, free: 6.152 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002277/0.4581, allocations: 1.794 MB / 458.4 MB, free: 4.168 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004334/0.4625, allocations: 3.239 MB / 461.6 MB, free: 0.7461 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.055e-06/0.4625, allocations: 4 kB / 461.6 MB, free: 0.7422 MB / 366.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.006519/0.469, allocations: 4.098 MB / 465.7 MB, free: 12.62 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.835e-05/0.4691, allocations: 12 kB / 465.8 MB, free: 12.61 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.818e-05/0.4691, allocations: 12.47 kB / 465.8 MB, free: 12.59 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002776/0.4719, allocations: 0.8813 MB / 466.7 MB, free: 11.7 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001941/0.4738, allocations: 0.5305 MB / 467.2 MB, free: 11.17 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009313/0.4832, allocations: 8.766 MB / 475.9 MB, free: 2.012 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001834/0.485, allocations: 123.8 kB / 476.1 MB, free: 1.891 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001538/0.4852, allocations: 83.98 kB / 476.1 MB, free: 1.809 MB / 382.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.002106/0.4873, allocations: 1.223 MB / 477.4 MB, free: 0.5742 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004192/0.4877, allocations: 280.6 kB / 477.6 MB, free: 304 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006033/0.4938, allocations: 3.744 MB / 481.4 MB, free: 12.56 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.842e-05/0.4938, allocations: 27.98 kB / 481.4 MB, free: 12.54 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.586e-06/0.4938, allocations: 4 kB / 481.4 MB, free: 12.53 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.571e-05/0.4938, allocations: 7.969 kB / 481.4 MB, free: 12.52 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01189/0.5057, allocations: 8.121 MB / 489.6 MB, free: 4.328 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.064e-06/0.5057, allocations: 4.344 kB / 489.6 MB, free: 4.324 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001607/0.5074, allocations: 391.4 kB / 489.9 MB, free: 3.941 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002982/0.5104, allocations: 0.9353 MB / 490.9 MB, free: 2.992 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000135/0.5105, allocations: 51.98 kB / 490.9 MB, free: 2.941 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01063/0.5211, allocations: 10.23 MB / 0.4894 GB, free: 8.18 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/0.5212, allocations: 4 kB / 0.4894 GB, free: 8.176 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008589/0.5298, allocations: 5.54 MB / 0.4948 GB, free: 2.57 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001602/0.5314, allocations: 0.6304 MB / 0.4954 GB, free: 1.918 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000726/0.5321, allocations: 51.98 kB / 0.4955 GB, free: 1.867 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001774/0.5339, allocations: 127.9 kB / 0.4956 GB, free: 1.742 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004591/0.5344, allocations: 181.7 kB / 0.4958 GB, free: 1.562 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001638/0.5346, allocations: 63.98 kB / 0.4958 GB, free: 1.5 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.003414/0.538, allocations: 1.735 MB / 0.4975 GB, free: 15.75 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.538, allocations: 0 / 0.4975 GB, free: 15.75 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003478/0.5415, allocations: 0.8008 MB / 0.4983 GB, free: 14.95 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.0007968/0.5423, allocations: 257.2 kB / 0.4986 GB, free: 14.71 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.006859/0.5492, allocations: 3.897 MB / 0.5024 GB, free: 10.73 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 9.948e-06/0.5492, allocations: 3.938 kB / 0.5024 GB, free: 10.73 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004137/0.5534, allocations: 2.503 MB / 0.5048 GB, free: 8.156 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005813/0.5592, allocations: 0.7443 MB / 0.5055 GB, free: 7.418 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01661/0.5758, allocations: 9.536 MB / 0.5149 GB, free: 13.83 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003686/0.5796, allocations: 2.778 MB / 0.5176 GB, free: 11.03 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.00284/0.5824, allocations: 0.6868 MB / 0.5182 GB, free: 10.34 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009034/0.5833, allocations: 175.4 kB / 0.5184 GB, free: 10.16 MB / 446.1 MB Notification: Performance of SimCode: time 1.323e-06/0.5834, allocations: 0 / 0.5184 GB, free: 10.16 MB / 446.1 MB Notification: Performance of Templates: time 0.2889/0.8723, allocations: 43.96 MB / 0.5613 GB, free: 127 MB / 446.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.makefile (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/Transformers/IMC_Transformer/IMC_Transformer.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches