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.001541/0.001541, allocations: 111.7 kB / 17.73 MB, free: 5.359 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.001606/0.001606, allocations: 188.1 kB / 18.66 MB, free: 4.438 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.697/1.697, 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.001195/0.001195, allocations: 47.94 kB / 328.5 MB, free: 3.297 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.13/0.1312, allocations: 46.62 MB / 375.2 MB, free: 4.566 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer): time 0.4477/0.5789, allocations: 12.81 MB / 388 MB, free: 6.07 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01074/0.5897, allocations: 4.245 MB / 392.2 MB, free: 3.215 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003857/0.5936, allocations: 67.09 kB / 392.3 MB, free: 3.195 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003664/0.5974, allocations: 1.014 MB / 393.3 MB, free: 2.641 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005564/0.603, allocations: 1.227 MB / 394.5 MB, free: 1.863 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001717/0.6048, allocations: 0.5311 MB / 395 MB, free: 1.523 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00766/0.6124, allocations: 4.672 MB / 399.7 MB, free: 15.18 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005476/0.6179, allocations: 3.604 MB / 403.3 MB, free: 13.69 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006388/0.6244, allocations: 2.123 MB / 405.4 MB, free: 12.68 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007379/0.6318, allocations: 2.557 MB / 408 MB, free: 11.46 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0026/0.6344, allocations: 0.5535 MB / 408.6 MB, free: 11.46 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003874/0.6383, allocations: 0.6428 MB / 409.2 MB, free: 11.43 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00258/0.6409, allocations: 1.532 MB / 410.7 MB, free: 10.27 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00638/0.6473, allocations: 2.476 MB / 413.2 MB, free: 8.52 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0122/0.6595, allocations: 7.422 MB / 420.6 MB, free: 2.105 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.053e-05/0.6596, allocations: 4 kB / 420.6 MB, free: 2.102 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.284e-06/0.6596, allocations: 0 / 420.6 MB, free: 2.102 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0003453/0.66, allocations: 4 kB / 420.6 MB, free: 2.098 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.01793/0.6779, allocations: 4.688 MB / 425.3 MB, free: 13.34 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.619e-05/0.678, allocations: 8.031 kB / 425.3 MB, free: 13.34 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00172/0.6797, allocations: 0.4917 MB / 425.8 MB, free: 12.84 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005812/0.6855, allocations: 2.412 MB / 428.2 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002998/0.6859, allocations: 264.6 kB / 428.5 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008481/0.6867, allocations: 355.9 kB / 428.8 MB, free: 9.773 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01234/0.6991, allocations: 5.017 MB / 433.9 MB, free: 4.691 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001346/0.6993, allocations: 11.94 kB / 433.9 MB, free: 4.68 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000363/0.6996, allocations: 140 kB / 434 MB, free: 4.543 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002418/0.6999, allocations: 187 kB / 434.2 MB, free: 4.359 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01061/0.7105, allocations: 4.294 MB / 438.5 MB, free: 60 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0318/0.7423, allocations: 14.72 MB / 453.2 MB, free: 1.004 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006808/0.7492, allocations: 4.192 MB / 457.4 MB, free: 12.51 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004094/0.7534, allocations: 1.998 MB / 459.4 MB, free: 10.52 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003632/0.7538, allocations: 131.1 kB / 459.5 MB, free: 10.37 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.214e-05/0.7539, allocations: 56.56 kB / 459.6 MB, free: 10.3 MB / 382.1 MB Notification: Performance of pre-optimization done (n=198): time 4.057e-06/0.7539, allocations: 0 / 459.6 MB, free: 10.3 MB / 382.1 MB Notification: Performance of matching and sorting (n=218): time 0.02703/0.7809, allocations: 10.01 MB / 469.6 MB, free: 188 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.501e-05/0.7811, allocations: 77.41 kB / 469.7 MB, free: 96 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006279/0.7874, allocations: 2.503 MB / 472.2 MB, free: 13.57 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005753/0.788, allocations: 61.7 kB / 472.2 MB, free: 13.5 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001824/0.7899, allocations: 1.619 MB / 473.9 MB, free: 11.86 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001408/0.7913, allocations: 0.7277 MB / 474.6 MB, free: 11.12 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001015/0.7923, allocations: 416.4 kB / 475 MB, free: 10.71 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001414/0.7925, allocations: 305.1 kB / 475.3 MB, free: 10.41 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003035/0.7955, allocations: 1.308 MB / 476.6 MB, free: 9.098 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00363/0.7992, allocations: 1.782 MB / 478.4 MB, free: 7.129 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006121/0.8053, allocations: 3.219 MB / 481.6 MB, free: 3.73 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.341e-05/0.8053, allocations: 8 kB / 481.6 MB, free: 3.723 MB / 398.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.009489/0.8148, allocations: 4.075 MB / 485.7 MB, free: 15.62 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.301e-05/0.8149, allocations: 19.84 kB / 485.7 MB, free: 15.6 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.692e-05/0.815, allocations: 12 kB / 485.7 MB, free: 15.59 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003824/0.8188, allocations: 0.8753 MB / 486.6 MB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003078/0.8219, allocations: 0.5266 MB / 487.1 MB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01535/0.8373, allocations: 9.483 MB / 496.6 MB, free: 4.262 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003542/0.8409, allocations: 111.9 kB / 496.7 MB, free: 4.152 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004573/0.8414, allocations: 91.98 kB / 496.8 MB, free: 4.062 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.003869/0.8453, allocations: 1.219 MB / 498 MB, free: 2.832 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001165/0.8464, allocations: 276.7 kB / 498.3 MB, free: 2.559 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008017/0.8545, allocations: 3.722 MB / 0.4902 GB, free: 14.8 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.438e-05/0.8545, allocations: 20 kB / 0.4903 GB, free: 14.79 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.68e-05/0.8546, allocations: 8 kB / 0.4903 GB, free: 14.78 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.153e-05/0.8546, allocations: 11.95 kB / 0.4903 GB, free: 14.77 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01575/0.8703, allocations: 8.017 MB / 0.4981 GB, free: 6.629 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.168e-05/0.8704, allocations: 7.938 kB / 0.4981 GB, free: 6.621 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001653/0.872, allocations: 387.7 kB / 0.4985 GB, free: 6.242 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003181/0.8752, allocations: 0.9213 MB / 0.4994 GB, free: 5.305 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003196/0.8756, allocations: 59.97 kB / 0.4994 GB, free: 5.246 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01284/0.8884, allocations: 11.06 MB / 0.5102 GB, free: 9.625 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.207e-06/0.8885, allocations: 7.969 kB / 0.5102 GB, free: 9.617 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01006/0.8986, allocations: 5.508 MB / 0.5156 GB, free: 4.039 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002588/0.9012, allocations: 0.6266 MB / 0.5162 GB, free: 3.391 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005046/0.9017, allocations: 55.92 kB / 0.5163 GB, free: 3.336 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001445/0.9032, allocations: 123.8 kB / 0.5164 GB, free: 3.215 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004975/0.9037, allocations: 173.8 kB / 0.5166 GB, free: 3.043 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001478/0.9039, allocations: 59.98 kB / 0.5166 GB, free: 2.984 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003038/0.9069, allocations: 1.731 MB / 0.5183 GB, free: 1.242 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.9069, allocations: 0 / 0.5183 GB, free: 1.242 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002782/0.9097, allocations: 0.7969 MB / 0.5191 GB, free: 456 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.0005998/0.9103, allocations: 236.9 kB / 0.5193 GB, free: 208 kB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00612/0.9165, allocations: 3.899 MB / 0.5231 GB, free: 12.23 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.48e-05/0.9165, allocations: 5.938 kB / 0.5231 GB, free: 12.22 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003725/0.9202, allocations: 2.487 MB / 0.5256 GB, free: 9.66 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00346/0.9237, allocations: 0.7832 MB / 0.5263 GB, free: 8.875 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01343/0.9371, allocations: 7.726 MB / 0.5339 GB, free: 1.094 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002849/0.94, allocations: 2.777 MB / 0.5366 GB, free: 14.29 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.002244/0.9423, allocations: 0.6788 MB / 0.5373 GB, free: 13.61 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005934/0.9429, allocations: 187.3 kB / 0.5374 GB, free: 13.42 MB / 478.1 MB Notification: Performance of SimCode: time 1.523e-06/0.9429, allocations: 0 / 0.5374 GB, free: 13.42 MB / 478.1 MB Notification: Performance of Templates: time 0.3378/1.281, allocations: 44.58 MB / 0.581 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