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.001491/0.001491, allocations: 108.4 kB / 18.34 MB, free: 4.676 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.001468/0.001468, allocations: 186.9 kB / 19.28 MB, free: 3.75 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.509/1.509, allocations: 205.1 MB / 225.2 MB, free: 12.24 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.001281/0.001281, allocations: 52.25 kB / 282.1 MB, free: 2.453 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1115/0.1128, allocations: 46.63 MB / 328.7 MB, free: 3.746 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer): time 0.01443/0.1273, allocations: 12.83 MB / 341.6 MB, free: 6.852 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.009837/0.1372, allocations: 4.242 MB / 345.8 MB, free: 2.594 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002659/0.1399, allocations: 71.69 kB / 345.9 MB, free: 2.523 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002921/0.1429, allocations: 0.9587 MB / 346.8 MB, free: 1.559 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004408/0.1473, allocations: 1.18 MB / 348 MB, free: 380 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00139/0.1487, allocations: 0.5188 MB / 348.5 MB, free: 15.85 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.005603/0.1543, allocations: 4.688 MB / 353.2 MB, free: 11.14 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004018/0.1584, allocations: 3.602 MB / 356.8 MB, free: 7.473 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004121/0.1625, allocations: 2.117 MB / 358.9 MB, free: 5.355 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003797/0.1663, allocations: 2.561 MB / 361.5 MB, free: 2.785 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008401/0.1672, allocations: 0.5508 MB / 362 MB, free: 2.234 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001249/0.1684, allocations: 0.6444 MB / 362.7 MB, free: 1.59 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001379/0.1698, allocations: 1.523 MB / 364.2 MB, free: 64 kB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003373/0.1732, allocations: 2.485 MB / 366.7 MB, free: 13.56 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007561/0.1808, allocations: 7.415 MB / 374.1 MB, free: 6.129 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.1808, allocations: 0 / 374.1 MB, free: 6.129 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.003e-06/0.1808, allocations: 0 / 374.1 MB, free: 6.129 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001851/0.181, allocations: 0 / 374.1 MB, free: 6.129 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.0101/0.1911, allocations: 4.687 MB / 378.8 MB, free: 1.375 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.039e-05/0.1912, allocations: 12.03 kB / 378.8 MB, free: 1.363 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001403/0.1926, allocations: 0.4955 MB / 379.3 MB, free: 0.8633 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2197/0.4123, allocations: 2.393 MB / 381.7 MB, free: 48.94 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002897/0.4127, allocations: 268.8 kB / 382 MB, free: 48.84 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001202/0.4139, allocations: 355 kB / 382.3 MB, free: 48.72 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0105/0.4244, allocations: 5.021 MB / 387.3 MB, free: 46.75 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.559e-05/0.4245, allocations: 4.938 kB / 387.3 MB, free: 46.75 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003588/0.4249, allocations: 147 kB / 387.5 MB, free: 46.64 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002554/0.4252, allocations: 180.8 kB / 387.7 MB, free: 46.62 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008781/0.434, allocations: 4.297 MB / 392 MB, free: 45.08 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.022/0.456, allocations: 14.73 MB / 406.7 MB, free: 34.38 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003552/0.4596, allocations: 4.195 MB / 410.9 MB, free: 29.9 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002456/0.4621, allocations: 1.992 MB / 412.9 MB, free: 27.91 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002513/0.4623, allocations: 139.5 kB / 413 MB, free: 27.77 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.423e-05/0.4624, allocations: 60.56 kB / 413.1 MB, free: 27.7 MB / 318.1 MB Notification: Performance of pre-optimization done (n=198): time 3.546e-06/0.4624, allocations: 0 / 413.1 MB, free: 27.7 MB / 318.1 MB Notification: Performance of matching and sorting (n=218): time 0.01748/0.4799, allocations: 10 MB / 423.1 MB, free: 17.6 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.233e-05/0.48, allocations: 73.41 kB / 423.1 MB, free: 17.52 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003665/0.4836, allocations: 2.517 MB / 425.7 MB, free: 14.98 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002709/0.4839, allocations: 61.7 kB / 425.7 MB, free: 14.91 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008487/0.4848, allocations: 1.614 MB / 427.3 MB, free: 13.28 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005006/0.4853, allocations: 0.746 MB / 428.1 MB, free: 12.54 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005994/0.4859, allocations: 416.3 kB / 428.5 MB, free: 12.13 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.469e-05/0.486, allocations: 301.1 kB / 428.8 MB, free: 11.83 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001666/0.4876, allocations: 1.301 MB / 430.1 MB, free: 10.53 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001864/0.4895, allocations: 1.775 MB / 431.9 MB, free: 8.562 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003602/0.4931, allocations: 3.22 MB / 435.1 MB, free: 5.164 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.063e-05/0.4932, allocations: 4 kB / 435.1 MB, free: 5.16 MB / 318.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.005894/0.4991, allocations: 4.072 MB / 439.1 MB, free: 1.062 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.724e-05/0.4991, allocations: 15.92 kB / 439.2 MB, free: 1.047 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.395e-05/0.4991, allocations: 20 kB / 439.2 MB, free: 1.027 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002519/0.5017, allocations: 0.8728 MB / 440.1 MB, free: 144 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002206/0.5039, allocations: 0.5304 MB / 440.6 MB, free: 15.61 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01172/0.5156, allocations: 9.475 MB / 450.1 MB, free: 5.723 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00255/0.5182, allocations: 115.9 kB / 450.2 MB, free: 5.609 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002782/0.5185, allocations: 83.94 kB / 450.3 MB, free: 5.527 MB / 334.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.002722/0.5213, allocations: 1.219 MB / 451.5 MB, free: 4.297 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008732/0.5221, allocations: 276.7 kB / 451.7 MB, free: 4.023 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0065/0.5286, allocations: 3.719 MB / 455.5 MB, free: 276 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.115e-05/0.5287, allocations: 24.83 kB / 455.5 MB, free: 252 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.318e-05/0.5287, allocations: 8 kB / 455.5 MB, free: 244 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.971e-05/0.5287, allocations: 7.969 kB / 455.5 MB, free: 236 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01532/0.5441, allocations: 8.024 MB / 463.5 MB, free: 8.141 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-05/0.5441, allocations: 4 kB / 463.5 MB, free: 8.137 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001665/0.5458, allocations: 383.8 kB / 463.9 MB, free: 7.762 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003242/0.5491, allocations: 0.929 MB / 464.8 MB, free: 6.816 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002157/0.5493, allocations: 47.98 kB / 464.9 MB, free: 6.77 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01213/0.5614, allocations: 11.06 MB / 475.9 MB, free: 11.17 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.346e-06/0.5615, allocations: 11.88 kB / 476 MB, free: 11.16 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008867/0.5704, allocations: 5.519 MB / 481.5 MB, free: 5.574 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001814/0.5722, allocations: 0.6304 MB / 482.1 MB, free: 4.922 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000575/0.5728, allocations: 47.98 kB / 482.1 MB, free: 4.875 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001575/0.5744, allocations: 115.9 kB / 482.3 MB, free: 4.762 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005391/0.5749, allocations: 181.7 kB / 482.4 MB, free: 4.586 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001837/0.5751, allocations: 63.98 kB / 482.5 MB, free: 4.523 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.003317/0.5785, allocations: 1.731 MB / 484.2 MB, free: 2.781 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.5785, allocations: 4 kB / 484.2 MB, free: 2.777 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002654/0.5811, allocations: 0.7955 MB / 485 MB, free: 1.984 MB / 366.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.0006089/0.5818, allocations: 230.1 kB / 485.3 MB, free: 1.758 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.006154/0.5879, allocations: 3.899 MB / 489.2 MB, free: 13.78 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.552e-06/0.588, allocations: 4.062 kB / 489.2 MB, free: 13.78 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003995/0.592, allocations: 2.472 MB / 491.6 MB, free: 11.23 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003625/0.5956, allocations: 0.7854 MB / 492.4 MB, free: 10.45 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01378/0.6094, allocations: 7.744 MB / 0.4884 GB, free: 2.66 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003444/0.6129, allocations: 2.762 MB / 0.4911 GB, free: 15.87 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.002159/0.6151, allocations: 0.6827 MB / 0.4918 GB, free: 15.18 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005774/0.6157, allocations: 179.4 kB / 0.492 GB, free: 15.01 MB / 398.1 MB Notification: Performance of SimCode: time 1.613e-06/0.6157, allocations: 0 / 0.492 GB, free: 15.01 MB / 398.1 MB Notification: Performance of Templates: time 0.07746/0.6932, allocations: 43.74 MB / 0.5347 GB, free: 3.242 MB / 430.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 -s gbode -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/jenkins1/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/jenkins1/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