Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_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_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_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_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001051/0.001051, allocations: 187 kB / 17.92 MB, free: 3.855 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.17/1.17, allocations: 205.1 MB / 223.7 MB, free: 8.484 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008913/0.0008913, allocations: 102.2 kB / 271.2 MB, free: 8.43 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007163/0.0007163, allocations: 35.94 kB / 327.2 MB, free: 320 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1867/0.1874, allocations: 46.62 MB / 373.8 MB, free: 45.65 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer): time 0.009934/0.1974, allocations: 12.69 MB / 386.5 MB, free: 35.79 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00562/0.203, allocations: 4.203 MB / 390.7 MB, free: 32.29 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009655/0.204, allocations: 64.88 kB / 390.8 MB, free: 32.27 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001532/0.2056, allocations: 0.8591 MB / 391.6 MB, free: 31.63 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001831/0.2074, allocations: 1.079 MB / 392.7 MB, free: 30.55 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000673/0.2081, allocations: 474.6 kB / 393.2 MB, free: 30.09 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0031/0.2112, allocations: 5.402 MB / 398.6 MB, free: 24.67 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002236/0.2135, allocations: 2.973 MB / 401.6 MB, free: 21.63 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002545/0.216, allocations: 1.821 MB / 403.4 MB, free: 19.81 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001783/0.2178, allocations: 2.448 MB / 405.8 MB, free: 17.36 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004011/0.2182, allocations: 343.9 kB / 406.2 MB, free: 17.02 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007663/0.219, allocations: 447.8 kB / 406.6 MB, free: 16.58 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007112/0.2197, allocations: 1.285 MB / 407.9 MB, free: 15.29 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001817/0.2216, allocations: 2.243 MB / 410.1 MB, free: 13.04 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004235/0.2258, allocations: 7.154 MB / 417.3 MB, free: 5.863 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.2258, allocations: 4 kB / 417.3 MB, free: 5.859 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.52e-07/0.2258, allocations: 0 / 417.3 MB, free: 5.859 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0001936/0.226, allocations: 0 / 417.3 MB, free: 5.859 MB / 298.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.008044/0.2341, allocations: 4.691 MB / 422 MB, free: 1.102 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.315e-05/0.2342, allocations: 8.031 kB / 422 MB, free: 1.094 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009869/0.2351, allocations: 0.4917 MB / 422.5 MB, free: 0.5977 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003857/0.239, allocations: 2.384 MB / 424.9 MB, free: 14.16 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001872/0.2392, allocations: 267 kB / 425.1 MB, free: 13.9 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004662/0.2397, allocations: 355.9 kB / 425.5 MB, free: 13.55 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007329/0.247, allocations: 5.021 MB / 430.5 MB, free: 8.469 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.872e-05/0.2471, allocations: 15.84 kB / 430.5 MB, free: 8.453 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002951/0.2474, allocations: 144 kB / 430.7 MB, free: 8.312 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001641/0.2476, allocations: 179.1 kB / 430.8 MB, free: 8.137 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006411/0.254, allocations: 4.291 MB / 435.1 MB, free: 3.84 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02195/0.276, allocations: 14.9 MB / 450 MB, free: 4.605 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004173/0.2802, allocations: 4.192 MB / 454.2 MB, free: 112 kB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002936/0.2831, allocations: 2.002 MB / 456.2 MB, free: 14.11 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002551/0.2834, allocations: 127.1 kB / 456.3 MB, free: 13.96 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.275e-05/0.2835, allocations: 64.5 kB / 456.4 MB, free: 13.89 MB / 346.7 MB Notification: Performance of pre-optimization done (n=198): time 4.569e-06/0.2835, allocations: 4 kB / 456.4 MB, free: 13.89 MB / 346.7 MB Notification: Performance of matching and sorting (n=218): time 0.01829/0.3018, allocations: 10.01 MB / 466.4 MB, free: 3.762 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.538e-05/0.3019, allocations: 77.41 kB / 466.5 MB, free: 3.676 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003333/0.3052, allocations: 2.506 MB / 469 MB, free: 1.148 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001507/0.3054, allocations: 61.7 kB / 469.1 MB, free: 1.082 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009882/0.3064, allocations: 1.623 MB / 470.7 MB, free: 15.44 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005451/0.3069, allocations: 0.7316 MB / 471.4 MB, free: 14.7 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006136/0.3075, allocations: 416.3 kB / 471.8 MB, free: 14.28 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.948e-05/0.3076, allocations: 301.1 kB / 472.1 MB, free: 13.98 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001779/0.3094, allocations: 1.305 MB / 473.4 MB, free: 12.68 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002092/0.3115, allocations: 1.782 MB / 475.2 MB, free: 10.7 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004031/0.3156, allocations: 3.211 MB / 478.4 MB, free: 7.312 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.546e-06/0.3156, allocations: 11.94 kB / 478.4 MB, free: 7.301 MB / 362.7 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.006474/0.3221, allocations: 4.071 MB / 482.5 MB, free: 3.203 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.44e-05/0.3221, allocations: 8 kB / 482.5 MB, free: 3.195 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.429e-05/0.3221, allocations: 16 kB / 482.5 MB, free: 3.18 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002585/0.3247, allocations: 0.8753 MB / 483.4 MB, free: 2.289 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00195/0.3267, allocations: 0.5344 MB / 483.9 MB, free: 1.754 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009469/0.3362, allocations: 8.735 MB / 492.7 MB, free: 8.617 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00186/0.3381, allocations: 115.9 kB / 492.8 MB, free: 8.504 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002514/0.3383, allocations: 88 kB / 492.9 MB, free: 8.418 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 (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.002093/0.3404, allocations: 1.211 MB / 494.1 MB, free: 7.195 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000725/0.3412, allocations: 276.7 kB / 494.3 MB, free: 6.922 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006313/0.3475, allocations: 3.711 MB / 498.1 MB, free: 3.176 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.551e-05/0.3475, allocations: 24 kB / 498.1 MB, free: 3.152 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.967e-05/0.3476, allocations: 11.94 kB / 498.1 MB, free: 3.141 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.666e-05/0.3476, allocations: 11.95 kB / 498.1 MB, free: 3.129 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1546/0.5022, allocations: 8.08 MB / 0.4943 GB, free: 105.7 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.918e-06/0.5023, allocations: 3.594 kB / 0.4943 GB, free: 105.7 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001592/0.5039, allocations: 385.4 kB / 0.4947 GB, free: 105.7 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002937/0.5068, allocations: 0.9226 MB / 0.4956 GB, free: 105.4 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001565/0.507, allocations: 57.08 kB / 0.4956 GB, free: 105.4 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009641/0.5166, allocations: 10.18 MB / 0.5056 GB, free: 98.08 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.5167, allocations: 7.531 kB / 0.5056 GB, free: 98.08 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04533/0.562, allocations: 38.5 MB / 0.5432 GB, free: 62.51 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001133/0.5632, allocations: 0.6343 MB / 0.5438 GB, free: 61.85 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002932/0.5635, allocations: 51.92 kB / 0.5439 GB, free: 61.8 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001206/0.5647, allocations: 115.9 kB / 0.544 GB, free: 61.69 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004017/0.5651, allocations: 181.8 kB / 0.5441 GB, free: 61.51 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001253/0.5652, allocations: 61.3 kB / 0.5442 GB, free: 61.45 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001957/0.5672, allocations: 1.731 MB / 0.5459 GB, free: 59.71 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5672, allocations: 0 / 0.5459 GB, free: 59.71 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002662/0.5699, allocations: 1.146 MB / 0.547 GB, free: 58.57 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 (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.0004687/0.5704, allocations: 233.3 kB / 0.5472 GB, free: 58.35 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.004561/0.5749, allocations: 3.877 MB / 0.551 GB, free: 54.39 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.5749, allocations: 3.938 kB / 0.551 GB, free: 54.39 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002823/0.5778, allocations: 2.475 MB / 0.5534 GB, free: 51.84 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002956/0.5807, allocations: 0.7469 MB / 0.5542 GB, free: 51.11 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01244/0.5932, allocations: 11.7 MB / 0.5656 GB, free: 39.31 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002128/0.5954, allocations: 2.845 MB / 0.5684 GB, free: 36.43 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.00225/0.5976, allocations: 0.7062 MB / 0.5691 GB, free: 35.72 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008026/0.5984, allocations: 195.4 kB / 0.5693 GB, free: 35.54 MB / 378.7 MB Notification: Performance of SimCode: time 7.91e-07/0.5985, allocations: 0 / 0.5693 GB, free: 35.54 MB / 378.7 MB Notification: Performance of Templates: time 0.07558/0.674, allocations: 54.84 MB / 0.6228 GB, free: 12.64 MB / 410.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/AsynchronousInductionMachines/AIMC_Transformer/AIMC_Transformer.csv","../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches