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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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 3.2.3+maint.om/package.mo", uses=false) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001527/0.001527, allocations: 113.2 kB / 17.73 MB, free: 5.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001838/0.001838, allocations: 188.2 kB / 18.67 MB, free: 4.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.843/1.843, allocations: 205.1 MB / 224.5 MB, free: 12.23 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001262, allocations: 52.3 kB / 328.6 MB, free: 3.254 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09107/0.09235, allocations: 46.62 MB / 375.2 MB, free: 4.52 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer): time 0.2654/0.3578, allocations: 12.82 MB / 388 MB, free: 5.98 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01051/0.3684, allocations: 4.251 MB / 392.3 MB, free: 3.156 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004462/0.3729, allocations: 71.41 kB / 392.3 MB, free: 3.133 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003717/0.3767, allocations: 0.9685 MB / 393.3 MB, free: 2.613 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005359/0.3821, allocations: 1.182 MB / 394.5 MB, free: 1.863 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002021/0.3841, allocations: 0.5229 MB / 395 MB, free: 1.531 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.009072/0.3932, allocations: 4.672 MB / 399.7 MB, free: 15.19 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00781/0.4011, allocations: 3.605 MB / 403.3 MB, free: 13.7 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01125/0.4124, allocations: 2.12 MB / 405.4 MB, free: 12.69 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008761/0.4212, allocations: 2.559 MB / 408 MB, free: 11.47 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002595/0.4239, allocations: 0.552 MB / 408.5 MB, free: 11.47 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003737/0.4276, allocations: 0.6435 MB / 409.2 MB, free: 11.45 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002476/0.4301, allocations: 1.528 MB / 410.7 MB, free: 10.29 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006731/0.4369, allocations: 2.484 MB / 413.2 MB, free: 8.527 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0121/0.449, allocations: 7.417 MB / 420.6 MB, free: 2.133 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.413e-05/0.4491, allocations: 4 kB / 420.6 MB, free: 2.129 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.717e-06/0.4491, allocations: 0 / 420.6 MB, free: 2.129 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0003925/0.4495, allocations: 0 / 420.6 MB, free: 2.129 MB / 334.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.01614/0.4657, allocations: 4.692 MB / 425.3 MB, free: 13.37 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.466e-05/0.4657, allocations: 8.031 kB / 425.3 MB, free: 13.36 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00204/0.4678, allocations: 0.4967 MB / 425.8 MB, free: 12.86 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005439/0.4732, allocations: 2.408 MB / 428.2 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002743/0.4736, allocations: 271 kB / 428.5 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008099/0.4744, allocations: 351.9 kB / 428.8 MB, free: 9.793 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01264/0.487, allocations: 5.025 MB / 433.8 MB, free: 4.703 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001234/0.4872, allocations: 7.938 kB / 433.8 MB, free: 4.695 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004305/0.4877, allocations: 144 kB / 434 MB, free: 4.555 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000242/0.4879, allocations: 179.1 kB / 434.2 MB, free: 4.379 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00975/0.4977, allocations: 4.294 MB / 438.4 MB, free: 80 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02781/0.5255, allocations: 14.72 MB / 453.2 MB, free: 1.031 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005264/0.5308, allocations: 4.208 MB / 457.4 MB, free: 12.52 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003591/0.5345, allocations: 1.987 MB / 459.4 MB, free: 10.54 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003398/0.5348, allocations: 139 kB / 459.5 MB, free: 10.38 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.163e-05/0.5349, allocations: 52.56 kB / 459.5 MB, free: 10.32 MB / 382.1 MB Notification: Performance of pre-optimization done (n=198): time 3.907e-06/0.5349, allocations: 0 / 459.5 MB, free: 10.32 MB / 382.1 MB Notification: Performance of matching and sorting (n=218): time 0.02407/0.559, allocations: 10.02 MB / 469.6 MB, free: 204 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.099e-05/0.5591, allocations: 73.41 kB / 469.6 MB, free: 116 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006146/0.5653, allocations: 2.506 MB / 472.1 MB, free: 13.58 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006513/0.566, allocations: 69.64 kB / 472.2 MB, free: 13.51 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001848/0.5678, allocations: 1.615 MB / 473.8 MB, free: 11.88 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00126/0.5691, allocations: 0.7355 MB / 474.6 MB, free: 11.13 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001203/0.5703, allocations: 412.3 kB / 475 MB, free: 10.72 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001562/0.5705, allocations: 305.1 kB / 475.3 MB, free: 10.42 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002727/0.5733, allocations: 1.301 MB / 476.6 MB, free: 9.113 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003103/0.5764, allocations: 1.775 MB / 478.3 MB, free: 7.152 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005744/0.5821, allocations: 3.223 MB / 481.6 MB, free: 3.75 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.183e-05/0.5822, allocations: 4 kB / 481.6 MB, free: 3.746 MB / 398.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.009606/0.5918, allocations: 4.079 MB / 485.6 MB, free: 15.64 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.282e-05/0.5919, allocations: 15.91 kB / 485.7 MB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.654e-05/0.592, allocations: 12 kB / 485.7 MB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004274/0.5962, allocations: 0.8789 MB / 486.6 MB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003794/0.6001, allocations: 0.5266 MB / 487.1 MB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02091/0.621, allocations: 9.474 MB / 496.6 MB, free: 4.289 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004416/0.6255, allocations: 123.9 kB / 496.7 MB, free: 4.168 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001051/0.6266, allocations: 84 kB / 496.8 MB, free: 4.086 MB / 414.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.006616/0.6333, allocations: 1.215 MB / 498 MB, free: 2.859 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002412/0.6357, allocations: 276.7 kB / 498.2 MB, free: 2.586 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0158/0.6516, allocations: 3.723 MB / 0.4902 GB, free: 14.83 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.906e-05/0.6517, allocations: 24 kB / 0.4902 GB, free: 14.8 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-05/0.6518, allocations: 4 kB / 0.4902 GB, free: 14.8 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.733e-05/0.6519, allocations: 11.97 kB / 0.4902 GB, free: 14.79 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03102/0.6829, allocations: 8.021 MB / 0.4981 GB, free: 6.652 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.093e-05/0.683, allocations: 4.344 kB / 0.4981 GB, free: 6.648 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003929/0.687, allocations: 387.4 kB / 0.4984 GB, free: 6.27 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006159/0.6931, allocations: 0.9252 MB / 0.4993 GB, free: 5.328 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005883/0.6938, allocations: 55.98 kB / 0.4994 GB, free: 5.273 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02254/0.7163, allocations: 11.07 MB / 0.5102 GB, free: 9.645 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.069e-05/0.7164, allocations: 3.938 kB / 0.5102 GB, free: 9.641 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01874/0.7352, allocations: 5.508 MB / 0.5156 GB, free: 4.062 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003196/0.7384, allocations: 0.6226 MB / 0.5162 GB, free: 3.418 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001366/0.7398, allocations: 52.27 kB / 0.5162 GB, free: 3.367 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003272/0.7431, allocations: 127.8 kB / 0.5164 GB, free: 3.242 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008546/0.744, allocations: 177.7 kB / 0.5165 GB, free: 3.066 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003007/0.7443, allocations: 63.98 kB / 0.5166 GB, free: 3.004 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003585/0.7479, allocations: 1.731 MB / 0.5183 GB, free: 1.262 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.748, allocations: 0 / 0.5183 GB, free: 1.262 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003807/0.7518, allocations: 0.7969 MB / 0.5191 GB, free: 476 kB / 446.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 {(2,12,100.0%), (1,1,100.0%), (3,25,88.9%), (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.0008878/0.7527, allocations: 232.1 kB / 0.5193 GB, free: 232 kB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007669/0.7604, allocations: 3.9 MB / 0.5231 GB, free: 12.25 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.046e-05/0.7604, allocations: 4 kB / 0.5231 GB, free: 12.25 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004503/0.7649, allocations: 2.492 MB / 0.5255 GB, free: 9.68 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005709/0.7707, allocations: 0.7859 MB / 0.5263 GB, free: 8.891 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01991/0.7906, allocations: 7.718 MB / 0.5338 GB, free: 1.117 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003756/0.7944, allocations: 2.773 MB / 0.5365 GB, free: 14.32 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.003063/0.7975, allocations: 0.6827 MB / 0.5372 GB, free: 13.63 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006785/0.7982, allocations: 175.4 kB / 0.5374 GB, free: 13.46 MB / 478.1 MB Notification: Performance of SimCode: time 1.293e-06/0.7982, allocations: 3.938 kB / 0.5374 GB, free: 13.45 MB / 478.1 MB Notification: Performance of Templates: time 0.3239/1.122, allocations: 44.59 MB / 0.5809 GB, free: 137.1 MB / 478.1 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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