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.001917/0.001917, allocations: 113.2 kB / 17.73 MB, free: 5.336 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.002343/0.002343, allocations: 184.2 kB / 18.66 MB, free: 4.41 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.54/1.54, allocations: 205.1 MB / 224.5 MB, free: 12.28 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.001259/0.001259, allocations: 47.94 kB / 328.6 MB, free: 3.262 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08298/0.08425, allocations: 46.63 MB / 375.2 MB, free: 4.527 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer): time 0.1902/0.2745, allocations: 12.82 MB / 388 MB, free: 6.012 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01067/0.2852, allocations: 4.255 MB / 392.3 MB, free: 3.172 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003721/0.2891, allocations: 66.78 kB / 392.3 MB, free: 3.152 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004441/0.2935, allocations: 1.01 MB / 393.3 MB, free: 2.602 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006442/0.3, allocations: 1.231 MB / 394.6 MB, free: 1.82 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001867/0.3019, allocations: 0.5252 MB / 395.1 MB, free: 1.484 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.007165/0.3091, allocations: 4.671 MB / 399.8 MB, free: 15.14 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006631/0.3158, allocations: 3.606 MB / 403.4 MB, free: 13.65 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006637/0.3224, allocations: 2.122 MB / 405.5 MB, free: 12.64 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006493/0.329, allocations: 2.563 MB / 408.1 MB, free: 11.42 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002464/0.3315, allocations: 0.5547 MB / 408.6 MB, free: 11.42 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004385/0.3359, allocations: 0.6427 MB / 409.3 MB, free: 11.39 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002965/0.3389, allocations: 1.526 MB / 410.8 MB, free: 10.23 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005485/0.3444, allocations: 2.481 MB / 413.3 MB, free: 8.477 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008575/0.353, allocations: 7.421 MB / 420.7 MB, free: 2.051 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.353, allocations: 0 / 420.7 MB, free: 2.051 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.353, allocations: 0 / 420.7 MB, free: 2.051 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001858/0.3532, allocations: 0 / 420.7 MB, free: 2.051 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.01176/0.365, allocations: 4.695 MB / 425.4 MB, free: 13.29 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.254e-05/0.3651, allocations: 8.031 kB / 425.4 MB, free: 13.28 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00137/0.3664, allocations: 0.4917 MB / 425.9 MB, free: 12.79 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004957/0.3714, allocations: 2.404 MB / 428.3 MB, free: 10.33 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002613/0.3717, allocations: 271 kB / 428.6 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009392/0.3727, allocations: 355.9 kB / 428.9 MB, free: 9.719 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01017/0.3828, allocations: 5.021 MB / 433.9 MB, free: 4.633 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.187e-05/0.383, allocations: 8 kB / 433.9 MB, free: 4.625 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003594/0.3833, allocations: 140 kB / 434.1 MB, free: 4.488 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001909/0.3835, allocations: 184.2 kB / 434.2 MB, free: 4.309 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00845/0.392, allocations: 4.298 MB / 438.5 MB, free: 4 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02744/0.4195, allocations: 14.72 MB / 453.3 MB, free: 0.9531 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005091/0.4246, allocations: 4.2 MB / 457.5 MB, free: 12.45 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003412/0.428, allocations: 1.991 MB / 459.5 MB, free: 10.46 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003107/0.4284, allocations: 135.1 kB / 459.6 MB, free: 10.31 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.149e-05/0.4284, allocations: 52.56 kB / 459.6 MB, free: 10.25 MB / 382.1 MB Notification: Performance of pre-optimization done (n=198): time 4.438e-06/0.4285, allocations: 4 kB / 459.6 MB, free: 10.25 MB / 382.1 MB Notification: Performance of matching and sorting (n=218): time 0.02233/0.4508, allocations: 10.01 MB / 469.7 MB, free: 132 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.992e-05/0.4509, allocations: 77.41 kB / 469.7 MB, free: 40 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005896/0.4568, allocations: 2.506 MB / 472.2 MB, free: 13.51 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004659/0.4573, allocations: 65.64 kB / 472.3 MB, free: 13.44 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001637/0.459, allocations: 1.615 MB / 473.9 MB, free: 11.8 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009741/0.46, allocations: 0.7354 MB / 474.7 MB, free: 11.06 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009982/0.461, allocations: 416.3 kB / 475.1 MB, free: 10.64 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001075/0.4611, allocations: 305.1 kB / 475.4 MB, free: 10.34 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00236/0.4635, allocations: 1.305 MB / 476.7 MB, free: 9.035 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002687/0.4662, allocations: 1.779 MB / 478.4 MB, free: 7.07 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005321/0.4715, allocations: 3.219 MB / 481.7 MB, free: 3.672 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.446e-05/0.4715, allocations: 12 kB / 481.7 MB, free: 3.66 MB / 398.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.008486/0.48, allocations: 4.075 MB / 485.7 MB, free: 15.56 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.584e-05/0.4801, allocations: 12 kB / 485.8 MB, free: 15.55 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.579e-05/0.4801, allocations: 12 kB / 485.8 MB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002923/0.4831, allocations: 0.8714 MB / 486.6 MB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002509/0.4856, allocations: 0.5304 MB / 487.2 MB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01158/0.4972, allocations: 9.472 MB / 496.6 MB, free: 4.219 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002405/0.4996, allocations: 115.9 kB / 496.8 MB, free: 4.105 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002706/0.4999, allocations: 87.98 kB / 496.8 MB, free: 4.02 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.002941/0.5029, allocations: 1.219 MB / 498.1 MB, free: 2.789 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009512/0.5038, allocations: 284.7 kB / 498.3 MB, free: 2.508 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006826/0.5107, allocations: 3.719 MB / 0.4903 GB, free: 14.76 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-05/0.5107, allocations: 24 kB / 0.4903 GB, free: 14.73 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.266e-05/0.5108, allocations: 8 kB / 0.4903 GB, free: 14.73 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.151e-05/0.5108, allocations: 11.95 kB / 0.4903 GB, free: 14.71 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01405/0.5248, allocations: 8.013 MB / 0.4982 GB, free: 6.582 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.08e-05/0.5249, allocations: 4 kB / 0.4982 GB, free: 6.578 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001648/0.5265, allocations: 379.5 kB / 0.4985 GB, free: 6.207 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003074/0.5296, allocations: 0.9373 MB / 0.4994 GB, free: 5.254 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003787/0.53, allocations: 55.98 kB / 0.4995 GB, free: 5.199 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01184/0.5419, allocations: 11.05 MB / 0.5103 GB, free: 9.582 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.5419, allocations: 8.094 kB / 0.5103 GB, free: 9.574 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008754/0.5507, allocations: 5.508 MB / 0.5157 GB, free: 3.996 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001619/0.5524, allocations: 0.6304 MB / 0.5163 GB, free: 3.344 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004496/0.5528, allocations: 51.98 kB / 0.5163 GB, free: 3.293 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001372/0.5542, allocations: 123.8 kB / 0.5165 GB, free: 3.172 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005255/0.5547, allocations: 177.8 kB / 0.5166 GB, free: 2.996 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001515/0.5549, allocations: 59.98 kB / 0.5167 GB, free: 2.938 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00299/0.5579, allocations: 1.731 MB / 0.5184 GB, free: 1.195 MB / 446.1 MB Notification: Performance of sort global known variables: time 4.21e-07/0.5579, allocations: 0 / 0.5184 GB, free: 1.195 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002977/0.5609, allocations: 0.7969 MB / 0.5192 GB, free: 408 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.0006523/0.5615, allocations: 236.4 kB / 0.5194 GB, free: 160 kB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006436/0.568, allocations: 3.895 MB / 0.5232 GB, free: 12.18 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.328e-05/0.568, allocations: 4 kB / 0.5232 GB, free: 12.18 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004369/0.5724, allocations: 2.489 MB / 0.5256 GB, free: 9.613 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004129/0.5766, allocations: 0.7944 MB / 0.5264 GB, free: 8.816 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01301/0.5896, allocations: 7.726 MB / 0.5339 GB, free: 1.039 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002615/0.5923, allocations: 2.777 MB / 0.5366 GB, free: 14.23 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.00211/0.5944, allocations: 0.6788 MB / 0.5373 GB, free: 13.55 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006393/0.5951, allocations: 179.4 kB / 0.5375 GB, free: 13.38 MB / 478.1 MB Notification: Performance of SimCode: time 1.042e-06/0.5951, allocations: 4 kB / 0.5375 GB, free: 13.37 MB / 478.1 MB Notification: Performance of Templates: time 0.2396/0.8347, allocations: 44.58 MB / 0.581 GB, free: 137 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