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.00133/0.00133, allocations: 106.3 kB / 17.73 MB, free: 5.344 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.001201/0.001201, allocations: 183.1 kB / 18.66 MB, free: 4.414 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.789/1.789, allocations: 205.1 MB / 224.5 MB, free: 12.23 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.001211/0.001211, allocations: 52.34 kB / 328.5 MB, free: 3.305 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1239/0.1252, allocations: 46.62 MB / 375.2 MB, free: 4.57 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer): time 0.3392/0.4644, allocations: 12.8 MB / 388 MB, free: 6.066 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0133/0.4778, allocations: 4.25 MB / 392.2 MB, free: 3.211 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005199/0.483, allocations: 68.03 kB / 392.3 MB, free: 3.191 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004917/0.4881, allocations: 0.9713 MB / 393.2 MB, free: 2.668 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006138/0.4943, allocations: 1.177 MB / 394.4 MB, free: 1.922 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001944/0.4962, allocations: 0.5297 MB / 395 MB, free: 1.582 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.009297/0.5055, allocations: 4.667 MB / 399.6 MB, free: 15.25 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007854/0.5135, allocations: 3.608 MB / 403.2 MB, free: 13.75 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009705/0.5232, allocations: 2.11 MB / 405.3 MB, free: 12.74 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009081/0.5324, allocations: 2.558 MB / 407.9 MB, free: 11.52 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003781/0.5362, allocations: 0.5522 MB / 408.5 MB, free: 11.52 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004866/0.5411, allocations: 0.6441 MB / 409.1 MB, free: 11.5 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004873/0.546, allocations: 1.529 MB / 410.6 MB, free: 10.34 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009314/0.5554, allocations: 2.483 MB / 413.1 MB, free: 8.582 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01591/0.5713, allocations: 7.442 MB / 420.5 MB, free: 2.203 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.616e-06/0.5714, allocations: 0 / 420.5 MB, free: 2.203 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.384e-06/0.5714, allocations: 0 / 420.5 MB, free: 2.203 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0003926/0.5718, allocations: 4 kB / 420.6 MB, free: 2.199 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.02136/0.5932, allocations: 4.796 MB / 425.3 MB, free: 13.33 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 9.444e-05/0.5933, allocations: 13.62 kB / 425.4 MB, free: 13.32 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003495/0.5968, allocations: 0.5175 MB / 425.9 MB, free: 12.8 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008086/0.6049, allocations: 2.41 MB / 428.3 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005763/0.6056, allocations: 274.9 kB / 428.6 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002614/0.6082, allocations: 359.9 kB / 428.9 MB, free: 9.723 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01615/0.6244, allocations: 5.017 MB / 433.9 MB, free: 4.641 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000219/0.6247, allocations: 3.953 kB / 433.9 MB, free: 4.637 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001553/0.6262, allocations: 151.9 kB / 434.1 MB, free: 4.488 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002858/0.6265, allocations: 183 kB / 434.3 MB, free: 4.309 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01075/0.6373, allocations: 4.291 MB / 438.5 MB, free: 12 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04204/0.6794, allocations: 14.77 MB / 453.3 MB, free: 0.9141 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006586/0.6861, allocations: 4.199 MB / 457.5 MB, free: 12.41 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003824/0.6899, allocations: 1.983 MB / 459.5 MB, free: 10.43 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003764/0.6904, allocations: 139 kB / 459.6 MB, free: 10.28 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.995e-05/0.6904, allocations: 56.5 kB / 459.7 MB, free: 10.21 MB / 382.1 MB Notification: Performance of pre-optimization done (n=198): time 4.027e-06/0.6905, allocations: 8.75 kB / 459.7 MB, free: 10.21 MB / 382.1 MB Notification: Performance of matching and sorting (n=218): time 0.02367/0.7141, allocations: 10.06 MB / 469.8 MB, free: 48 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.098e-05/0.7143, allocations: 81.41 kB / 469.8 MB, free: 15.95 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005383/0.7196, allocations: 2.506 MB / 472.3 MB, free: 13.43 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005216/0.7202, allocations: 65.7 kB / 472.4 MB, free: 13.36 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001677/0.7219, allocations: 1.65 MB / 474.1 MB, free: 11.69 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001124/0.723, allocations: 0.7708 MB / 474.8 MB, free: 10.91 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001426/0.7245, allocations: 420.4 kB / 475.2 MB, free: 10.49 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000126/0.7246, allocations: 305.1 kB / 475.5 MB, free: 10.19 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002423/0.727, allocations: 1.305 MB / 476.8 MB, free: 8.883 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00268/0.7297, allocations: 1.775 MB / 478.6 MB, free: 6.922 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005281/0.735, allocations: 3.223 MB / 481.8 MB, free: 3.52 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.731e-05/0.7351, allocations: 3.938 kB / 481.8 MB, free: 3.516 MB / 398.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.008643/0.7437, allocations: 4.088 MB / 485.9 MB, free: 15.4 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.809e-05/0.7438, allocations: 19.89 kB / 486 MB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.603e-05/0.7439, allocations: 16 kB / 486 MB, free: 15.37 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002978/0.7469, allocations: 0.8752 MB / 486.8 MB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002429/0.7493, allocations: 0.5227 MB / 487.4 MB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01315/0.7625, allocations: 9.487 MB / 496.9 MB, free: 4.039 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003656/0.7662, allocations: 123.9 kB / 497 MB, free: 3.918 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006405/0.7669, allocations: 83.98 kB / 497.1 MB, free: 3.836 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.003842/0.7707, allocations: 1.219 MB / 498.3 MB, free: 2.605 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001337/0.7721, allocations: 290.2 kB / 498.6 MB, free: 2.32 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008703/0.7808, allocations: 3.723 MB / 0.4905 GB, free: 14.57 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.944e-05/0.7809, allocations: 27.98 kB / 0.4905 GB, free: 14.54 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.874e-05/0.7809, allocations: 12 kB / 0.4905 GB, free: 14.53 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.332e-05/0.781, allocations: 7.969 kB / 0.4906 GB, free: 14.52 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01915/0.8001, allocations: 8.026 MB / 0.4984 GB, free: 6.375 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.565e-05/0.8002, allocations: 4 kB / 0.4984 GB, free: 6.371 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001708/0.8019, allocations: 383.4 kB / 0.4988 GB, free: 5.996 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003245/0.8052, allocations: 0.9292 MB / 0.4997 GB, free: 5.051 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002563/0.8055, allocations: 47.98 kB / 0.4997 GB, free: 5.004 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0137/0.8192, allocations: 11.06 MB / 0.5105 GB, free: 9.379 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.533e-06/0.8192, allocations: 8.156 kB / 0.5105 GB, free: 9.371 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01115/0.8304, allocations: 5.529 MB / 0.5159 GB, free: 3.773 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002643/0.8331, allocations: 0.6397 MB / 0.5166 GB, free: 3.113 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001206/0.8343, allocations: 47.98 kB / 0.5166 GB, free: 3.066 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002239/0.8366, allocations: 119.8 kB / 0.5167 GB, free: 2.949 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006857/0.8373, allocations: 181.8 kB / 0.5169 GB, free: 2.77 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002282/0.8375, allocations: 63.98 kB / 0.5169 GB, free: 2.707 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00445/0.842, allocations: 1.731 MB / 0.5186 GB, free: 0.9648 MB / 446.1 MB Notification: Performance of sort global known variables: time 4.91e-07/0.842, allocations: 0 / 0.5186 GB, free: 0.9648 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004588/0.8466, allocations: 0.7968 MB / 0.5194 GB, free: 172 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.0008081/0.8475, allocations: 240.4 kB / 0.5196 GB, free: 15.92 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007071/0.8545, allocations: 3.899 MB / 0.5235 GB, free: 11.95 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 9.467e-06/0.8546, allocations: 4 kB / 0.5235 GB, free: 11.94 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004411/0.859, allocations: 2.485 MB / 0.5259 GB, free: 9.383 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0053/0.8643, allocations: 0.7946 MB / 0.5267 GB, free: 8.586 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01701/0.8813, allocations: 7.839 MB / 0.5343 GB, free: 0.6836 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004318/0.8857, allocations: 2.781 MB / 0.537 GB, free: 13.88 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.003749/0.8895, allocations: 0.6788 MB / 0.5377 GB, free: 13.19 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001415/0.8909, allocations: 175.4 kB / 0.5379 GB, free: 13.02 MB / 478.1 MB Notification: Performance of SimCode: time 1.733e-06/0.891, allocations: 7.938 kB / 0.5379 GB, free: 13.01 MB / 478.1 MB Notification: Performance of Templates: time 0.3581/1.249, allocations: 44.59 MB / 0.5814 GB, free: 136.9 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