Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.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_Steinmetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001665/0.001665, allocations: 114.5 kB / 17.73 MB, free: 5.34 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.001644/0.001644, allocations: 183 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.738/1.738, allocations: 205.1 MB / 224.5 MB, free: 12.24 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.00187/0.00187, allocations: 56.3 kB / 328.6 MB, free: 3.262 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1688/0.1707, allocations: 46.6 MB / 375.2 MB, free: 4.547 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz): time 0.3874/0.5581, allocations: 9.642 MB / 384.8 MB, free: 8.094 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01014/0.5683, allocations: 3.068 MB / 387.9 MB, free: 6.359 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003779/0.5722, allocations: 45.47 kB / 387.9 MB, free: 6.344 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003556/0.5759, allocations: 0.6668 MB / 388.6 MB, free: 5.98 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005111/0.581, allocations: 0.7795 MB / 389.4 MB, free: 5.477 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001966/0.583, allocations: 377.5 kB / 389.7 MB, free: 5.25 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.007422/0.5904, allocations: 2.461 MB / 392.2 MB, free: 4.012 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004062/0.5946, allocations: 1.718 MB / 393.9 MB, free: 3.289 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003897/0.5985, allocations: 1.079 MB / 395 MB, free: 2.77 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004727/0.6033, allocations: 1.313 MB / 396.3 MB, free: 2.145 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001509/0.6048, allocations: 279.7 kB / 396.6 MB, free: 2.145 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002424/0.6073, allocations: 367.1 kB / 396.9 MB, free: 2.121 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00152/0.6088, allocations: 0.7793 MB / 397.7 MB, free: 1.688 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003163/0.612, allocations: 1.271 MB / 399 MB, free: 0.8672 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008424/0.6204, allocations: 3.644 MB / 402.6 MB, free: 15.15 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.311e-05/0.6205, allocations: 1.406 kB / 402.6 MB, free: 15.15 MB / 334.1 MB Notification: Performance of FrontEnd: time 4.177e-06/0.6205, allocations: 0 / 402.6 MB, free: 15.15 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0002173/0.6207, allocations: 0 / 402.6 MB, free: 15.15 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: 491 * Number of variables: 491 Notification: Performance of Generate backend data structure: time 0.01285/0.6336, allocations: 2.577 MB / 405.2 MB, free: 13.35 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.183e-05/0.6337, allocations: 9.094 kB / 405.2 MB, free: 13.35 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001562/0.6353, allocations: 269 kB / 405.5 MB, free: 13.22 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004179/0.6395, allocations: 1.268 MB / 406.7 MB, free: 12.27 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002583/0.6397, allocations: 142.7 kB / 406.9 MB, free: 12.21 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000563/0.6403, allocations: 197.1 kB / 407.1 MB, free: 12.14 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006591/0.6469, allocations: 2.421 MB / 409.5 MB, free: 10.71 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.413e-05/0.647, allocations: 6.094 kB / 409.5 MB, free: 10.71 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002002/0.6472, allocations: 80.59 kB / 409.6 MB, free: 10.65 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001641/0.6474, allocations: 91.83 kB / 409.7 MB, free: 10.63 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004751/0.6522, allocations: 1.956 MB / 411.6 MB, free: 9.641 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01704/0.6692, allocations: 7.758 MB / 419.4 MB, free: 2.984 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001785/0.6711, allocations: 1.239 MB / 420.6 MB, free: 1.695 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001841/0.6729, allocations: 0.9596 MB / 421.6 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002634/0.6732, allocations: 122 kB / 421.7 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.947e-05/0.6732, allocations: 47.56 kB / 421.7 MB, free: 0.543 MB / 334.1 MB Notification: Performance of pre-optimization done (n=95): time 3.296e-06/0.6733, allocations: 0 / 421.7 MB, free: 0.543 MB / 334.1 MB Notification: Performance of matching and sorting (n=111): time 0.01395/0.6872, allocations: 5.852 MB / 427.6 MB, free: 10.55 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.552e-05/0.6873, allocations: 69.44 kB / 427.7 MB, free: 10.48 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002215/0.6895, allocations: 1.306 MB / 429 MB, free: 9.164 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001119/0.6896, allocations: 45.7 kB / 429 MB, free: 9.113 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007256/0.6904, allocations: 0.9237 MB / 429.9 MB, free: 8.176 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003146/0.6907, allocations: 386.4 kB / 430.3 MB, free: 7.793 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003808/0.6911, allocations: 255.4 kB / 430.6 MB, free: 7.539 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001709/0.6913, allocations: 353.9 kB / 430.9 MB, free: 7.188 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009945/0.6923, allocations: 0.648 MB / 431.6 MB, free: 6.539 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001498/0.6938, allocations: 0.9926 MB / 432.6 MB, free: 5.391 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002486/0.6963, allocations: 1.731 MB / 434.3 MB, free: 3.508 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.344e-06/0.6963, allocations: 4 kB / 434.3 MB, free: 3.504 MB / 350.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004238/0.7005, allocations: 2.257 MB / 436.5 MB, free: 1.223 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.315e-05/0.7006, allocations: 8.312 kB / 436.6 MB, free: 1.215 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.104e-05/0.7006, allocations: 16 kB / 436.6 MB, free: 1.199 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001313/0.7019, allocations: 495.9 kB / 437.1 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001136/0.7031, allocations: 307.5 kB / 437.4 MB, free: 408 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007585/0.7107, allocations: 7.117 MB / 444.5 MB, free: 8.863 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001804/0.7125, allocations: 87.97 kB / 444.6 MB, free: 8.777 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001315/0.7127, allocations: 56 kB / 444.6 MB, free: 8.723 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 2 (idealOpener.control,idealCloser.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (147): * Single equations (assignments): 142 * 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 {(2,12,100.0%), (2,8,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001654/0.7143, allocations: 0.6034 MB / 445.2 MB, free: 8.109 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004473/0.7148, allocations: 150.2 kB / 445.4 MB, free: 7.961 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003573/0.7184, allocations: 1.976 MB / 447.3 MB, free: 5.953 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.24e-05/0.7184, allocations: 12 kB / 447.3 MB, free: 5.941 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.297e-06/0.7184, allocations: 4 kB / 447.4 MB, free: 5.938 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.571e-05/0.7185, allocations: 7.969 kB / 447.4 MB, free: 5.93 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007884/0.7263, allocations: 4.125 MB / 451.5 MB, free: 1.715 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.027e-06/0.7264, allocations: 12.02 kB / 451.5 MB, free: 1.703 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008235/0.7272, allocations: 179.8 kB / 451.7 MB, free: 1.527 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001581/0.7288, allocations: 0.5312 MB / 452.2 MB, free: 0.9805 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001035/0.7289, allocations: 35.98 kB / 452.2 MB, free: 0.9453 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008469/0.7374, allocations: 8.753 MB / 461 MB, free: 7.629 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.7374, allocations: 0 / 461 MB, free: 7.629 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004524/0.742, allocations: 2.859 MB / 463.9 MB, free: 4.711 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009371/0.7429, allocations: 347.3 kB / 464.2 MB, free: 4.352 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002103/0.7432, allocations: 27.98 kB / 464.2 MB, free: 4.324 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007555/0.7439, allocations: 71.92 kB / 464.3 MB, free: 4.254 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002607/0.7442, allocations: 88.81 kB / 464.4 MB, free: 4.168 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.65e-05/0.7443, allocations: 31.98 kB / 464.4 MB, free: 4.137 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001363/0.7456, allocations: 0.884 MB / 465.3 MB, free: 3.25 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.7456, allocations: 7.938 kB / 465.3 MB, free: 3.242 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001726/0.7474, allocations: 432 kB / 465.7 MB, free: 2.82 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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],quadraticLoadTorque.phi,cRun.v,cStart.v) * Number of discrete variables: 2 (idealCloser.control,idealOpener.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 81 * 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%), (2,8,100.0%), (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.0003902/0.7478, allocations: 186.3 kB / 465.9 MB, free: 2.629 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003549/0.7513, allocations: 2.235 MB / 468.1 MB, free: 316 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.549e-06/0.7514, allocations: 0 / 468.1 MB, free: 316 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002223/0.7536, allocations: 1.507 MB / 469.6 MB, free: 14.73 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002233/0.7558, allocations: 421.5 kB / 470.1 MB, free: 14.32 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006721/0.7626, allocations: 4.11 MB / 474.2 MB, free: 10.15 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001316/0.7639, allocations: 1.65 MB / 475.8 MB, free: 8.473 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001092/0.765, allocations: 316.8 kB / 476.1 MB, free: 8.156 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002784/0.7653, allocations: 99.42 kB / 476.2 MB, free: 8.059 MB / 398.1 MB Notification: Performance of SimCode: time 1.082e-06/0.7653, allocations: 0 / 476.2 MB, free: 8.059 MB / 398.1 MB Notification: Performance of Templates: time 0.04012/0.8054, allocations: 24.09 MB / 0.4886 GB, free: 15.92 MB / 430.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz_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_Steinmetz/AIMC_Steinmetz.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches