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.002193/0.002193, allocations: 109.2 kB / 17.73 MB, free: 5.324 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.002776/0.002777, allocations: 188.2 kB / 18.66 MB, free: 4.395 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.089/2.089, allocations: 205.1 MB / 224.5 MB, free: 12.25 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.001278/0.001278, allocations: 55.92 kB / 328.5 MB, free: 3.293 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1244/0.1257, allocations: 46.61 MB / 375.2 MB, free: 4.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer): time 0.267/0.3927, allocations: 12.81 MB / 388 MB, free: 6.027 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01086/0.4037, allocations: 4.251 MB / 392.2 MB, free: 3.191 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004937/0.4086, allocations: 72.12 kB / 392.3 MB, free: 3.168 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004842/0.4136, allocations: 0.9682 MB / 393.3 MB, free: 2.648 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006957/0.4206, allocations: 1.178 MB / 394.4 MB, free: 1.902 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002376/0.423, allocations: 0.5263 MB / 395 MB, free: 1.566 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.01049/0.4335, allocations: 4.665 MB / 399.6 MB, free: 15.23 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01184/0.4454, allocations: 3.602 MB / 403.2 MB, free: 13.74 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01111/0.4566, allocations: 2.124 MB / 405.4 MB, free: 12.73 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009961/0.4667, allocations: 2.562 MB / 407.9 MB, free: 11.51 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003888/0.4706, allocations: 0.5529 MB / 408.5 MB, free: 11.51 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00632/0.477, allocations: 0.6433 MB / 409.1 MB, free: 11.48 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006082/0.4832, allocations: 1.525 MB / 410.6 MB, free: 10.32 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01346/0.4967, allocations: 2.482 MB / 413.1 MB, free: 8.559 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02412/0.5209, allocations: 7.418 MB / 420.5 MB, free: 2.18 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.569e-05/0.5211, allocations: 0 / 420.5 MB, free: 2.18 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.617e-06/0.5211, allocations: 0 / 420.5 MB, free: 2.18 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0004018/0.5215, allocations: 4 kB / 420.5 MB, free: 2.176 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.02706/0.5486, allocations: 4.691 MB / 425.2 MB, free: 13.42 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.156e-05/0.5487, allocations: 12.59 kB / 425.2 MB, free: 13.41 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003851/0.5526, allocations: 0.4995 MB / 425.7 MB, free: 12.9 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01083/0.5634, allocations: 2.4 MB / 428.1 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006095/0.5641, allocations: 267 kB / 428.4 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002358/0.5665, allocations: 355.9 kB / 428.8 MB, free: 9.844 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02261/0.5891, allocations: 5.022 MB / 433.8 MB, free: 4.758 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002889/0.5895, allocations: 7.984 kB / 433.8 MB, free: 4.75 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001906/0.5914, allocations: 144 kB / 433.9 MB, free: 4.609 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004062/0.5919, allocations: 187.1 kB / 434.1 MB, free: 4.426 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02047/0.6124, allocations: 4.291 MB / 438.4 MB, free: 128 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05824/0.6707, allocations: 14.72 MB / 453.1 MB, free: 1.07 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006995/0.6777, allocations: 4.192 MB / 457.3 MB, free: 12.58 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0047/0.6825, allocations: 1.995 MB / 459.3 MB, free: 10.59 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004615/0.683, allocations: 135.1 kB / 459.4 MB, free: 10.43 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.847e-05/0.6831, allocations: 56.56 kB / 459.5 MB, free: 10.37 MB / 382.1 MB Notification: Performance of pre-optimization done (n=198): time 6.852e-06/0.6832, allocations: 0 / 459.5 MB, free: 10.37 MB / 382.1 MB Notification: Performance of matching and sorting (n=218): time 0.02798/0.7111, allocations: 10.01 MB / 469.5 MB, free: 256 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000102/0.7113, allocations: 81.41 kB / 469.6 MB, free: 160 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006357/0.7177, allocations: 2.502 MB / 472.1 MB, free: 13.63 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006687/0.7184, allocations: 61.7 kB / 472.1 MB, free: 13.57 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002011/0.7204, allocations: 1.623 MB / 473.8 MB, free: 11.92 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001776/0.7222, allocations: 0.7238 MB / 474.5 MB, free: 11.19 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001962/0.7242, allocations: 420.3 kB / 474.9 MB, free: 10.77 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001496/0.7244, allocations: 301.1 kB / 475.2 MB, free: 10.47 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002963/0.7274, allocations: 1.305 MB / 476.5 MB, free: 9.164 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003791/0.7312, allocations: 1.786 MB / 478.3 MB, free: 7.191 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006646/0.7378, allocations: 3.215 MB / 481.5 MB, free: 3.797 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.214e-05/0.7379, allocations: 8 kB / 481.5 MB, free: 3.789 MB / 398.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.009855/0.7478, allocations: 4.079 MB / 485.6 MB, free: 15.68 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.444e-05/0.7479, allocations: 12 kB / 485.6 MB, free: 15.67 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.677e-05/0.748, allocations: 12 kB / 485.6 MB, free: 15.66 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003118/0.7511, allocations: 0.8714 MB / 486.5 MB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002547/0.7537, allocations: 0.5265 MB / 487 MB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01338/0.7671, allocations: 9.491 MB / 496.5 MB, free: 4.328 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00347/0.7706, allocations: 119.9 kB / 496.6 MB, free: 4.211 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007816/0.7714, allocations: 83.98 kB / 496.7 MB, free: 4.129 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.003806/0.7753, allocations: 1.219 MB / 497.9 MB, free: 2.898 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00138/0.7767, allocations: 276.7 kB / 498.2 MB, free: 2.625 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008366/0.7851, allocations: 3.722 MB / 0.4901 GB, free: 14.87 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.272e-05/0.7851, allocations: 24 kB / 0.4902 GB, free: 14.84 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.7e-05/0.7851, allocations: 8 kB / 0.4902 GB, free: 14.84 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.666e-05/0.7852, allocations: 11.95 kB / 0.4902 GB, free: 14.82 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01869/0.8039, allocations: 8.021 MB / 0.498 GB, free: 6.688 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.634e-05/0.804, allocations: 8 kB / 0.498 GB, free: 6.68 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001945/0.806, allocations: 383.7 kB / 0.4984 GB, free: 6.305 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003521/0.8095, allocations: 0.9251 MB / 0.4993 GB, free: 5.363 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004058/0.81, allocations: 55.97 kB / 0.4994 GB, free: 5.309 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01341/0.8234, allocations: 11.05 MB / 0.5101 GB, free: 9.691 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/0.8234, allocations: 4 kB / 0.5102 GB, free: 9.688 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01105/0.8345, allocations: 5.508 MB / 0.5155 GB, free: 4.109 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002601/0.8371, allocations: 0.6304 MB / 0.5161 GB, free: 3.457 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001522/0.8387, allocations: 51.98 kB / 0.5162 GB, free: 3.406 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002855/0.8416, allocations: 119.8 kB / 0.5163 GB, free: 3.289 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008203/0.8424, allocations: 177.8 kB / 0.5165 GB, free: 3.113 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002889/0.8428, allocations: 63.98 kB / 0.5165 GB, free: 3.051 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00507/0.8478, allocations: 1.731 MB / 0.5182 GB, free: 1.309 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.543e-06/0.8479, allocations: 192 / 0.5182 GB, free: 1.309 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005198/0.8531, allocations: 0.7969 MB / 0.519 GB, free: 0.5117 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.001082/0.8542, allocations: 236 kB / 0.5192 GB, free: 276 kB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.008678/0.8629, allocations: 3.899 MB / 0.523 GB, free: 12.29 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.452e-05/0.863, allocations: 5.812 kB / 0.523 GB, free: 12.29 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004546/0.8675, allocations: 2.479 MB / 0.5255 GB, free: 9.734 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005677/0.8733, allocations: 0.7973 MB / 0.5262 GB, free: 8.934 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01992/0.8932, allocations: 7.722 MB / 0.5338 GB, free: 1.156 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003759/0.8971, allocations: 2.773 MB / 0.5365 GB, free: 14.36 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.002639/0.8998, allocations: 0.6788 MB / 0.5372 GB, free: 13.67 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006734/0.9005, allocations: 183.4 kB / 0.5373 GB, free: 13.49 MB / 478.1 MB Notification: Performance of SimCode: time 1.042e-06/0.9005, allocations: 4 kB / 0.5373 GB, free: 13.49 MB / 478.1 MB Notification: Performance of Templates: time 0.3633/1.264, allocations: 44.59 MB / 0.5809 GB, free: 137 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/jenkins/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/jenkins/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