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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001202/0.001202, allocations: 105.5 kB / 18.39 MB, free: 4.641 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.001183/0.001183, allocations: 187 kB / 19.33 MB, free: 3.715 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.327/1.327, allocations: 205.1 MB / 225.2 MB, free: 12.22 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.001287/0.001287, allocations: 51.92 kB / 329.2 MB, free: 3.289 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0911/0.09239, allocations: 46.62 MB / 375.8 MB, free: 4.559 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer): time 0.1772/0.2697, allocations: 12.81 MB / 388.6 MB, free: 6.055 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.007431/0.2771, allocations: 4.245 MB / 392.9 MB, free: 3.215 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002304/0.2795, allocations: 67.81 kB / 392.9 MB, free: 3.195 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002469/0.282, allocations: 0.9756 MB / 393.9 MB, free: 2.668 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004021/0.286, allocations: 1.18 MB / 395.1 MB, free: 1.922 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001321/0.2873, allocations: 0.5244 MB / 395.6 MB, free: 1.586 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.005834/0.2932, allocations: 4.667 MB / 400.3 MB, free: 15.25 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00478/0.298, allocations: 3.6 MB / 403.9 MB, free: 13.75 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004879/0.3029, allocations: 2.128 MB / 406 MB, free: 12.74 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005458/0.3084, allocations: 2.558 MB / 408.6 MB, free: 11.52 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001693/0.3101, allocations: 0.5527 MB / 409.1 MB, free: 11.52 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002786/0.3129, allocations: 0.6446 MB / 409.8 MB, free: 11.49 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00278/0.3157, allocations: 1.522 MB / 411.3 MB, free: 10.34 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00503/0.3208, allocations: 2.484 MB / 413.8 MB, free: 8.574 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008408/0.3292, allocations: 7.418 MB / 421.2 MB, free: 2.195 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.3292, allocations: 4 kB / 421.2 MB, free: 2.191 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.3292, allocations: 1.594 kB / 421.2 MB, free: 2.191 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0002023/0.3294, allocations: 0 / 421.2 MB, free: 2.191 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.01079/0.3402, allocations: 4.691 MB / 425.9 MB, free: 13.43 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.327e-05/0.3403, allocations: 8.031 kB / 425.9 MB, free: 13.43 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001388/0.3417, allocations: 499.5 kB / 426.4 MB, free: 12.93 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00477/0.3465, allocations: 2.408 MB / 428.8 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002015/0.3467, allocations: 274.9 kB / 429.1 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007511/0.3475, allocations: 355.9 kB / 429.4 MB, free: 9.859 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009317/0.3568, allocations: 5.025 MB / 434.4 MB, free: 4.77 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.284e-05/0.3569, allocations: 4 kB / 434.4 MB, free: 4.766 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003444/0.3573, allocations: 140 kB / 434.6 MB, free: 4.629 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001911/0.3575, allocations: 187 kB / 434.8 MB, free: 4.445 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009795/0.3673, allocations: 4.298 MB / 439.1 MB, free: 144 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02445/0.3918, allocations: 14.72 MB / 453.8 MB, free: 1.086 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004231/0.396, allocations: 4.192 MB / 458 MB, free: 12.59 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003044/0.3991, allocations: 1.995 MB / 460 MB, free: 10.6 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002683/0.3994, allocations: 127.1 kB / 460.1 MB, free: 10.46 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.383e-05/0.3994, allocations: 64.55 kB / 460.2 MB, free: 10.39 MB / 382.1 MB Notification: Performance of pre-optimization done (n=198): time 3.336e-06/0.3994, allocations: 0 / 460.2 MB, free: 10.39 MB / 382.1 MB Notification: Performance of matching and sorting (n=218): time 0.01945/0.4189, allocations: 10.02 MB / 470.2 MB, free: 268 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.211e-05/0.419, allocations: 73.41 kB / 470.3 MB, free: 180 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003647/0.4226, allocations: 2.506 MB / 472.8 MB, free: 13.64 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002677/0.4229, allocations: 69.64 kB / 472.8 MB, free: 13.57 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001112/0.4241, allocations: 1.615 MB / 474.4 MB, free: 11.94 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006552/0.4247, allocations: 0.7277 MB / 475.2 MB, free: 11.2 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006604/0.4254, allocations: 416.3 kB / 475.6 MB, free: 10.79 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.503e-05/0.4255, allocations: 305.1 kB / 475.9 MB, free: 10.48 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001956/0.4274, allocations: 1.305 MB / 477.2 MB, free: 9.176 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002227/0.4297, allocations: 1.778 MB / 479 MB, free: 7.211 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004286/0.434, allocations: 3.219 MB / 482.2 MB, free: 3.812 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-05/0.434, allocations: 7.984 kB / 482.2 MB, free: 3.805 MB / 398.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.006772/0.4408, allocations: 4.075 MB / 486.3 MB, free: 15.7 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.241e-05/0.4409, allocations: 15.91 kB / 486.3 MB, free: 15.68 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.477e-05/0.4409, allocations: 12 kB / 486.3 MB, free: 15.67 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002716/0.4436, allocations: 0.8791 MB / 487.2 MB, free: 14.78 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002155/0.4458, allocations: 0.5227 MB / 487.7 MB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01032/0.4561, allocations: 9.49 MB / 497.2 MB, free: 4.34 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002253/0.4584, allocations: 115.9 kB / 497.3 MB, free: 4.227 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002646/0.4587, allocations: 84 kB / 497.4 MB, free: 4.145 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.002089/0.4608, allocations: 1.219 MB / 498.6 MB, free: 2.914 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006057/0.4614, allocations: 272.7 kB / 498.9 MB, free: 2.645 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006101/0.4675, allocations: 3.718 MB / 0.4908 GB, free: 14.89 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-05/0.4675, allocations: 20 kB / 0.4908 GB, free: 14.88 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.132e-05/0.4676, allocations: 12 kB / 0.4908 GB, free: 14.86 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.945e-05/0.4676, allocations: 11.95 kB / 0.4908 GB, free: 14.85 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01431/0.4819, allocations: 8.021 MB / 0.4987 GB, free: 6.711 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.21e-05/0.4819, allocations: 8 kB / 0.4987 GB, free: 6.703 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001621/0.4836, allocations: 383.5 kB / 0.499 GB, free: 6.328 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002965/0.4865, allocations: 0.9333 MB / 0.5 GB, free: 5.379 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002008/0.4868, allocations: 55.97 kB / 0.5 GB, free: 5.324 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01244/0.4992, allocations: 11.05 MB / 0.5108 GB, free: 9.715 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.086e-06/0.4993, allocations: 7.969 kB / 0.5108 GB, free: 9.707 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009459/0.5087, allocations: 5.508 MB / 0.5162 GB, free: 4.129 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001926/0.5107, allocations: 0.6304 MB / 0.5168 GB, free: 3.477 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005016/0.5112, allocations: 51.98 kB / 0.5168 GB, free: 3.426 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001391/0.5126, allocations: 119.8 kB / 0.517 GB, free: 3.309 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004386/0.5131, allocations: 181.7 kB / 0.5171 GB, free: 3.129 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001298/0.5132, allocations: 59.98 kB / 0.5172 GB, free: 3.07 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002744/0.5159, allocations: 1.727 MB / 0.5189 GB, free: 1.332 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.516, allocations: 0 / 0.5189 GB, free: 1.332 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002572/0.5185, allocations: 0.8047 MB / 0.5197 GB, free: 0.5273 MB / 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.0006303/0.5192, allocations: 236.8 kB / 0.5199 GB, free: 292 kB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006109/0.5253, allocations: 3.899 MB / 0.5237 GB, free: 12.31 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.163e-06/0.5253, allocations: 4 kB / 0.5237 GB, free: 12.3 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003718/0.529, allocations: 2.484 MB / 0.5261 GB, free: 9.746 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003686/0.5327, allocations: 0.7793 MB / 0.5269 GB, free: 8.965 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01309/0.5458, allocations: 7.737 MB / 0.5344 GB, free: 1.168 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002643/0.5485, allocations: 2.726 MB / 0.5371 GB, free: 14.41 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001047/0.5496, allocations: 187.4 kB / 0.5373 GB, free: 14.23 MB / 478.1 MB Notification: Performance of SimCode: time 1.242e-06/0.5496, allocations: 0 / 0.5373 GB, free: 14.23 MB / 478.1 MB Notification: Performance of Templates: time 0.3164/0.866, allocations: 142.5 MB / 0.6764 GB, free: 38.85 MB / 478.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/AsynchronousInductionMachines/AIMC_Transformer/AIMC_Transformer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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